[1m[36m (1.6ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m [1m[35m (1.2ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") [1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m Migrating to CreateCoalescingPandaCanvasApiAuths (20131114150001) [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.4ms)[0m [1mCREATE 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) [0m [1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20131114150001"]] [1m[36m (0.8ms)[0m [1mcommit transaction[0m Migrating to CreateCoalescingPandaLtiAccounts (20131118211442) [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.3ms)[0m [1mCREATE 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) [0m [1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20131118211442"]] [1m[36m (0.7ms)[0m [1mcommit transaction[0m Migrating to CreateCoalescingPandaLtiNonces (20131119165343) [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.3ms)[0m [1mCREATE TABLE "coalescing_panda_lti_nonces" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "coalescing_panda_lti_account_id" integer, "nonce" varchar(255), "timestamp" datetime) [0m [1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20131119165343"]] [1m[36m (0.6ms)[0m [1mcommit transaction[0m Migrating to CreateCoalescingPandaSessions (20140904223159) [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.3ms)[0m [1mCREATE TABLE "coalescing_panda_sessions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "token" varchar(255), "data" text, "created_at" datetime, "updated_at" datetime) [0m [1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140904223159"]] [1m[36m (0.7ms)[0m [1mcommit transaction[0m Migrating to CreateCoalescingPandaTerms (20141119225319) [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.3ms)[0m [1mCREATE 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) [0m [1m[35m (1.1ms)[0m CREATE UNIQUE INDEX "index_terms_account" ON "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id") [1m[36m (0.1ms)[0m [1mCREATE INDEX "index_coalescing_panda_terms_on_sis_id" ON "coalescing_panda_terms" ("sis_id")[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20141119225319"]] [1m[36m (1.0ms)[0m [1mcommit transaction[0m Migrating to CreateCoalescingPandaCourses (20141119225721) [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.4ms)[0m [1mCREATE 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) [0m [1m[35m (0.5ms)[0m CREATE UNIQUE INDEX "index_courses_account" ON "coalescing_panda_courses" ("coalescing_panda_lti_account_id", "canvas_course_id") [1m[36m (0.1ms)[0m [1mCREATE UNIQUE INDEX "index_courses_term" ON "coalescing_panda_courses" ("coalescing_panda_term_id", "canvas_course_id")[0m [1m[35m (0.1ms)[0m CREATE INDEX "index_coalescing_panda_courses_on_sis_id" ON "coalescing_panda_courses" ("sis_id") [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20141119225721"]] [1m[35m (0.9ms)[0m commit transaction Migrating to CreateCoalescingPandaSections (20141120151432) [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.4ms)[0m 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) [1m[36m (0.4ms)[0m [1mCREATE UNIQUE INDEX "index_sections_course" ON "coalescing_panda_sections" ("coalescing_panda_course_id", "canvas_section_id")[0m [1m[35m (0.1ms)[0m CREATE INDEX "index_coalescing_panda_sections_on_sis_id" ON "coalescing_panda_sections" ("sis_id") [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20141120151432"]] [1m[35m (0.8ms)[0m commit transaction Migrating to CreateCoalescingPandaAssignments (20141120151940) [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.4ms)[0m CREATE TABLE "coalescing_panda_assignments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "coalescing_panda_course_id" integer NOT NULL, "name" varchar(255), "description" text, "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) [1m[36m (0.5ms)[0m [1mCREATE UNIQUE INDEX "index_assignments_course" ON "coalescing_panda_assignments" ("coalescing_panda_course_id", "canvas_assignment_id")[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20141120151940"]] [1m[36m (1.1ms)[0m [1mcommit transaction[0m Migrating to CreateCoalescingPandaUsers (20141120152458) [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.4ms)[0m [1mCREATE 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) [0m [1m[35m (0.5ms)[0m CREATE UNIQUE INDEX "index_users_account" ON "coalescing_panda_users" ("coalescing_panda_lti_account_id", "canvas_user_id") [1m[36m (0.1ms)[0m [1mCREATE INDEX "index_coalescing_panda_users_on_sis_id" ON "coalescing_panda_users" ("sis_id")[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20141120152458"]] [1m[36m (0.8ms)[0m [1mcommit transaction[0m Migrating to CreateCoalescingPandaSubmissions (20141120152546) [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.4ms)[0m [1mCREATE 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) [0m [1m[35m (0.5ms)[0m CREATE UNIQUE INDEX "index_submissions_user_and_assignment" ON "coalescing_panda_submissions" ("coalescing_panda_user_id", "coalescing_panda_assignment_id", "canvas_submission_id") [1m[36m (0.1ms)[0m [1mCREATE INDEX "index_coalescing_panda_submissions_on_canvas_submission_id" ON "coalescing_panda_submissions" ("canvas_submission_id")[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20141120152546"]] [1m[36m (0.9ms)[0m [1mcommit transaction[0m Migrating to CreateCoalescingPandaEnrollments (20141120153135) [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.4ms)[0m [1mCREATE 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) [0m [1m[35m (0.4ms)[0m CREATE UNIQUE INDEX "index_enrollments_user_and_section" ON "coalescing_panda_enrollments" ("coalescing_panda_user_id", "coalescing_panda_section_id", "enrollment_type") [1m[36m (0.1ms)[0m [1mCREATE INDEX "index_coalescing_panda_enrollments_on_sis_id" ON "coalescing_panda_enrollments" ("sis_id")[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20141120153135"]] [1m[36m (1.0ms)[0m [1mcommit transaction[0m Migrating to CreateCoalescingPandaCanvasBatches (20141121174846) [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.9ms)[0m [1mCREATE 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) [0m [1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20141121174846"]] [1m[36m (0.7ms)[0m [1mcommit transaction[0m Migrating to CreateDelayedJobs (20141124160857) [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.4ms)[0m [1mCREATE 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) [0m [1m[35m (0.1ms)[0m CREATE INDEX "delayed_jobs_priority" ON "delayed_jobs" ("priority", "run_at") [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20141124160857"]] [1m[35m (0.7ms)[0m commit transaction Migrating to AddSubmissionTypesToAssignments (20141208221740) [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.4ms)[0m ALTER TABLE "coalescing_panda_assignments" ADD "submission_types" text [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20141208221740"]] [1m[35m (0.7ms)[0m commit transaction Migrating to AddGroupCategoryIdToAssignment (20150106175418) [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.3ms)[0m ALTER TABLE "coalescing_panda_assignments" ADD "group_category_id" integer [1m[36m (0.1ms)[0m [1mALTER TABLE "coalescing_panda_assignments" ADD "grade_group_students_individually" boolean[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150106175418"]] [1m[36m (0.7ms)[0m [1mcommit transaction[0m Migrating to AddPublishedToAssignments (20150106180131) [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.4ms)[0m [1mALTER TABLE "coalescing_panda_assignments" ADD "published" boolean[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150106180131"]] [1m[36m (0.8ms)[0m [1mcommit transaction[0m Migrating to CreateCoalescingPandaGroups (20150107205405) [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.4ms)[0m [1mCREATE TABLE "coalescing_panda_groups" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "context_id" integer, "context_type" varchar(255), "description" varchar(255), "group_category_id" varchar(255), "canvas_group_id" varchar(255), "name" varchar(255), "members_count" integer, "created_at" datetime, "updated_at" datetime) [0m [1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150107205405"]] [1m[36m (0.6ms)[0m [1mcommit transaction[0m Migrating to CreateCoalescingPandaGroupMemberships (20150107205413) [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.4ms)[0m [1mCREATE 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(255), "workflow_state" varchar(255), "created_at" datetime, "updated_at" datetime) [0m [1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150107205413"]] [1m[36m (0.6ms)[0m [1mcommit transaction[0m [1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations" [1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m [1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations" [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m Processing by CoalescingPanda::LtiController#lti_config as HTML Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m Processing by CoalescingPanda::LtiController#lti_config as HTML Completed 500 Internal Server Error in 1ms [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m 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) [1m[35mCoalescingPanda::CanvasApiAuth Load (0.1ms)[0m 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 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction Processing by CoalescingPanda::Oauth2Controller#redirect as HTML Parameters: {"error"=>"your face"} Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "coalescing_panda_canvas_api_auths"[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 1' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 1' LIMIT 1 [1m[36mSQL (4.0ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "1"], ["created_at", Wed, 07 Jan 2015 23:35: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", Wed, 07 Jan 2015 23:35:36 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 2' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 2' LIMIT 1[0m [1m[35mSQL (1.2ms)[0m INSERT INTO "coalescing_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, 07 Jan 2015 23:35: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", Wed, 07 Jan 2015 23:35:36 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 1], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "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", Wed, 07 Jan 2015 23:35:36 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 3' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 3' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "3"], ["created_at", Wed, 07 Jan 2015 23:35: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", Wed, 07 Jan 2015 23:35:36 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 4' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 4' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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, 07 Jan 2015 23:35: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", Wed, 07 Jan 2015 23:35:36 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 2], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "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", Wed, 07 Jan 2015 23:35:36 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 5' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 5' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "5"], ["created_at", Wed, 07 Jan 2015 23:35: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", Wed, 07 Jan 2015 23:35:36 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 6' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 6' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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, 07 Jan 2015 23:35: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", Wed, 07 Jan 2015 23:35:36 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 3], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Wed, 07 Jan 2015 23:35:36 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_assignment_id", "1"], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00], ["name", "test assignment"], ["submission_types", nil], ["updated_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_assignment_id", "1"], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00], ["name", "test assignment"], ["submission_types", nil], ["updated_at", Wed, 07 Jan 2015 23:35: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", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m [1m[35m (0.6ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 7' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 7' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "7"], ["created_at", Wed, 07 Jan 2015 23:35: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", Wed, 07 Jan 2015 23:35:36 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 8' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 8' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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, 07 Jan 2015 23:35: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", Wed, 07 Jan 2015 23:35:36 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 4], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Wed, 07 Jan 2015 23:35:36 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.6ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mCoalescingPanda::CanvasApiAuth Load (0.2ms)[0m SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" ORDER BY "coalescing_panda_canvas_api_auths"."id" ASC LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_panda_canvas_api_auths" ("created_at", "updated_at", "user_id") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00], ["user_id", "a"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::CanvasApiAuth Exists (0.2ms)[0m SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1 [1m[36mCoalescingPanda::CanvasApiAuth Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1[0m [1m[35mCoalescingPanda::CanvasApiAuth Load (0.1ms)[0m SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" [1m[36mCoalescingPanda::CanvasApiAuth Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" = '1') LIMIT 1[0m [1m[35mCoalescingPanda::CanvasApiAuth Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" = '1') LIMIT 1 [1m[36m (0.5ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mCoalescingPanda::CanvasApiAuth Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1[0m [1m[35mCoalescingPanda::CanvasApiAuth Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1 [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mCoalescingPanda::CanvasApiAuth Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1[0m [1m[35mCoalescingPanda::CanvasApiAuth Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1 [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.6ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00], ["status", "Pending"], ["updated_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00], ["status", "Pending"], ["updated_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00], ["status", "Pending"], ["updated_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::CanvasBatch Load (0.2ms)[0m SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" ORDER BY created_at DESC [1m[36m (0.6ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 9' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 9' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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, 07 Jan 2015 23:35: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", Wed, 07 Jan 2015 23:35:36 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 10' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 10' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "10"], ["created_at", Wed, 07 Jan 2015 23:35: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", Wed, 07 Jan 2015 23:35:36 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Wed, 07 Jan 2015 23:35:36 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.9ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 11' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 11' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "11"], ["created_at", Wed, 07 Jan 2015 23:35: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", Wed, 07 Jan 2015 23:35:36 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 12' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 12' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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, 07 Jan 2015 23:35: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", Wed, 07 Jan 2015 23:35:36 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 6], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.9ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.2ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 13' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 13' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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, 07 Jan 2015 23:35: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", Wed, 07 Jan 2015 23:35:36 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 14' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.2ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 14' LIMIT 1 [1m[36mSQL (0.7ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "14"], ["created_at", Wed, 07 Jan 2015 23:35: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", Wed, 07 Jan 2015 23:35:36 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m 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", Wed, 07 Jan 2015 23:35:36 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 15' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 15' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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, 07 Jan 2015 23:35: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", Wed, 07 Jan 2015 23:35:36 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 8], ["coalescing_panda_lti_account_id", 3], ["created_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "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", Wed, 07 Jan 2015 23:35:36 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:35: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 (?, ?, ?, ?, ?, ?) [1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 16' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 16' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "16"], ["created_at", Wed, 07 Jan 2015 23:35: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", Wed, 07 Jan 2015 23:35:36 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.5ms)[0m 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", Wed, 07 Jan 2015 23:35:36 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 17' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 17' LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "17"], ["created_at", Wed, 07 Jan 2015 23:35: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", Wed, 07 Jan 2015 23:35:36 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "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", Wed, 07 Jan 2015 23:35:36 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 18' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 18' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "18"], ["created_at", Wed, 07 Jan 2015 23:35: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", Wed, 07 Jan 2015 23:35:36 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "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", Wed, 07 Jan 2015 23:35:36 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:35: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 (?, ?, ?, ?, ?, ?) [1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 19' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 19' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "19"], ["created_at", Wed, 07 Jan 2015 23:35: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", Wed, 07 Jan 2015 23:35:36 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 20' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 20' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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, 07 Jan 2015 23:35: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", Wed, 07 Jan 2015 23:35:36 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 10], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.5ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 21' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 21' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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, 07 Jan 2015 23:35: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", Wed, 07 Jan 2015 23:35:36 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00], ["email", "test1@test.com"], ["name", "Factory User 1"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 22' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 22' LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "coalescing_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, 07 Jan 2015 23:35: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", Wed, 07 Jan 2015 23:35:36 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 23' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 23' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "23"], ["created_at", Wed, 07 Jan 2015 23:35: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", Wed, 07 Jan 2015 23:35:36 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m 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", Wed, 07 Jan 2015 23:35:36 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 7], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.4ms)[0m 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", Wed, 07 Jan 2015 23:35:36 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (1.0ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 24' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 24' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "24"], ["created_at", Wed, 07 Jan 2015 23:35: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", Wed, 07 Jan 2015 23:35:36 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.5ms)[0m 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, 07 Jan 2015 23:35:36 UTC +00:00], ["email", "test2@test.com"], ["name", "Factory User 2"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 25' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 25' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "25"], ["created_at", Wed, 07 Jan 2015 23:35: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", Wed, 07 Jan 2015 23:35:36 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 26' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 26' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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, 07 Jan 2015 23:35: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", Wed, 07 Jan 2015 23:35:36 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 12], ["coalescing_panda_lti_account_id", 3], ["created_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "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", Wed, 07 Jan 2015 23:35:36 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_section_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (1.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.2ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 27' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 27' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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, 07 Jan 2015 23:35: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", Wed, 07 Jan 2015 23:35:36 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00], ["email", "test3@test.com"], ["name", "Factory User 3"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 28' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 28' LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "coalescing_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, 07 Jan 2015 23:35: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", Wed, 07 Jan 2015 23:35:36 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 29' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 29' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "29"], ["created_at", Wed, 07 Jan 2015 23:35: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", Wed, 07 Jan 2015 23:35:36 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m 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", Wed, 07 Jan 2015 23:35:36 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 9], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Wed, 07 Jan 2015 23:35:36 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.8ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 30' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 30' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "30"], ["created_at", Wed, 07 Jan 2015 23:35: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", Wed, 07 Jan 2015 23:35:36 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.7ms)[0m 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, 07 Jan 2015 23:35:36 UTC +00:00], ["email", "test4@test.com"], ["name", "Factory User 4"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 31' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 31' LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "31"], ["created_at", Wed, 07 Jan 2015 23:35: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", Wed, 07 Jan 2015 23:35:36 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 32' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 32' LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "coalescing_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, 07 Jan 2015 23:35: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", Wed, 07 Jan 2015 23:35:36 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 14], ["coalescing_panda_lti_account_id", 3], ["created_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "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", Wed, 07 Jan 2015 23:35:36 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_section_id", 4], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m 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", Wed, 07 Jan 2015 23:35:36 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_enrollment_id", 4], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Wed, 07 Jan 2015 23:35:36 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 (?, ?, ?, ?, ?, ?) [1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1 [1m[36m (0.9ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 33' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 33' LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "coalescing_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, 07 Jan 2015 23:35: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", Wed, 07 Jan 2015 23:35:36 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 5], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00], ["email", "test5@test.com"], ["name", "Factory User 5"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 34' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 34' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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, 07 Jan 2015 23:35: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", Wed, 07 Jan 2015 23:35:36 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 35' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 35' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "35"], ["created_at", Wed, 07 Jan 2015 23:35: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", Wed, 07 Jan 2015 23:35:36 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Wed, 07 Jan 2015 23:35:36 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 11], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Wed, 07 Jan 2015 23:35:36 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_enrollment_id", 5], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Wed, 07 Jan 2015 23:35:36 UTC +00:00], ["enrollment_type", "TeacherEnrollment"], ["updated_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (1.0ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 36' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 36' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "36"], ["created_at", Wed, 07 Jan 2015 23:35: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", Wed, 07 Jan 2015 23:35:36 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.6ms)[0m 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, 07 Jan 2015 23:35:36 UTC +00:00], ["email", "test6@test.com"], ["name", "Factory User 6"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 37' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 37' LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "37"], ["created_at", Wed, 07 Jan 2015 23:35: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", Wed, 07 Jan 2015 23:35:36 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 38' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 38' LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "coalescing_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, 07 Jan 2015 23:35: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", Wed, 07 Jan 2015 23:35:36 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 16], ["coalescing_panda_lti_account_id", 3], ["created_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "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", Wed, 07 Jan 2015 23:35:36 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_section_id", 6], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mCoalescingPanda::LtiAccount Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 39' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 39' LIMIT 1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 40' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 40' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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, 07 Jan 2015 23:35: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", Wed, 07 Jan 2015 23:35:36 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 41' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 41' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "40"], ["created_at", Wed, 07 Jan 2015 23:35: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", Wed, 07 Jan 2015 23:35:36 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Wed, 07 Jan 2015 23:35:36 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 13], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 42' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 42' LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "coalescing_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, 07 Jan 2015 23:35: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", Wed, 07 Jan 2015 23:35:36 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 43' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 43' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "42"], ["created_at", Wed, 07 Jan 2015 23:35: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", Wed, 07 Jan 2015 23:35:36 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Wed, 07 Jan 2015 23:35:36 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 14], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.6ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 44' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 44' LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "coalescing_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, 07 Jan 2015 23:35:36 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, 07 Jan 2015 23:35:36 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 45' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 45' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "44"], ["created_at", Wed, 07 Jan 2015 23:35:36 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, 07 Jan 2015 23:35:36 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Wed, 07 Jan 2015 23:35:36 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 15], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m 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", Wed, 07 Jan 2015 23:35:36 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_section_id", "1"], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:35:36 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 (?, ?, ?, ?) [1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1 [1m[36m (2.9ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 46' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 46' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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, 07 Jan 2015 23:35:36 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, 07 Jan 2015 23:35:36 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 47' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 47' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "46"], ["created_at", Wed, 07 Jan 2015 23:35:36 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, 07 Jan 2015 23:35:36 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m 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", Wed, 07 Jan 2015 23:35:36 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 16], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.8ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 48' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 48' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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, 07 Jan 2015 23:35:36 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, 07 Jan 2015 23:35:36 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 7], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00], ["email", "test7@test.com"], ["name", "Factory User 7"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 49' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 49' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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, 07 Jan 2015 23:35:36 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, 07 Jan 2015 23:35:36 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 50' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 50' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "49"], ["created_at", Wed, 07 Jan 2015 23:35:36 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, 07 Jan 2015 23:35:36 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m 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", Wed, 07 Jan 2015 23:35:36 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 17], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_assignment_id", "3"], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00], ["name", "test assignment"], ["submission_types", nil], ["updated_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (1.0ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 51' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 51' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "50"], ["created_at", Wed, 07 Jan 2015 23:35:36 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, 07 Jan 2015 23:35:36 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.7ms)[0m 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, 07 Jan 2015 23:35:36 UTC +00:00], ["email", "test8@test.com"], ["name", "Factory User 8"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 52' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 52' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "51"], ["created_at", Wed, 07 Jan 2015 23:35:36 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, 07 Jan 2015 23:35:36 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 53' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 53' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:35:36 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", Wed, 07 Jan 2015 23:35:36 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 22], ["coalescing_panda_lti_account_id", 3], ["created_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Wed, 07 Jan 2015 23:35:36 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_assignment_id", "4"], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00], ["name", "test assignment"], ["submission_types", nil], ["updated_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.8ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 54' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 54' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:35:36 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", Wed, 07 Jan 2015 23:35:36 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 9], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00], ["email", "test9@test.com"], ["name", "Factory User 9"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 55' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 55' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:35:36 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", Wed, 07 Jan 2015 23:35:36 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 56' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 56' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "55"], ["created_at", Wed, 07 Jan 2015 23:35:36 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", Wed, 07 Jan 2015 23:35:36 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Wed, 07 Jan 2015 23:35:36 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 19], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_assignment_id", "5"], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00], ["name", "test assignment"], ["submission_types", nil], ["updated_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.9ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 57' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 57' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "56"], ["created_at", Wed, 07 Jan 2015 23:35:36 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", Wed, 07 Jan 2015 23:35:36 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.6ms)[0m 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, 07 Jan 2015 23:35:36 UTC +00:00], ["email", "test10@test.com"], ["name", "Factory User 10"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 58' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 58' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "57"], ["created_at", Wed, 07 Jan 2015 23:35:36 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", Wed, 07 Jan 2015 23:35:36 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 59' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 59' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:35:36 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", Wed, 07 Jan 2015 23:35:36 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 24], ["coalescing_panda_lti_account_id", 3], ["created_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Wed, 07 Jan 2015 23:35:36 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_assignment_id", "6"], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00], ["name", "test assignment"], ["submission_types", nil], ["updated_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m 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", Wed, 07 Jan 2015 23:35:36 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["canvas_submission_id", "1"], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:35:36 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 (?, ?, ?, ?, ?) [1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1 [1m[36m (1.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 60' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 60' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:35:36 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", Wed, 07 Jan 2015 23:35:36 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 11], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00], ["email", "test11@test.com"], ["name", "Factory User 11"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 61' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 61' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:35:36 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", Wed, 07 Jan 2015 23:35:36 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 62' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 62' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "61"], ["created_at", Wed, 07 Jan 2015 23:35:36 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", Wed, 07 Jan 2015 23:35:36 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Wed, 07 Jan 2015 23:35:36 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 21], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_assignment_id", "7"], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00], ["name", "test assignment"], ["submission_types", nil], ["updated_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["canvas_submission_id", "1"], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m 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", Wed, 07 Jan 2015 23:35:36 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.8ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 63' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 63' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "62"], ["created_at", Wed, 07 Jan 2015 23:35:36 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", Wed, 07 Jan 2015 23:35:36 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.5ms)[0m 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, 07 Jan 2015 23:35:36 UTC +00:00], ["email", "test12@test.com"], ["name", "Factory User 12"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 64' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 64' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "63"], ["created_at", Wed, 07 Jan 2015 23:35:36 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", Wed, 07 Jan 2015 23:35:36 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 65' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 65' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:35:36 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", Wed, 07 Jan 2015 23:35:36 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 26], ["coalescing_panda_lti_account_id", 3], ["created_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Wed, 07 Jan 2015 23:35:36 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_assignment_id", "8"], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00], ["name", "test assignment"], ["submission_types", nil], ["updated_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.8ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 66' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 66' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:35:36 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", Wed, 07 Jan 2015 23:35:36 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.4ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 67' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 67' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "66"], ["created_at", Wed, 07 Jan 2015 23:35:36 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", Wed, 07 Jan 2015 23:35:36 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.5ms)[0m 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", Wed, 07 Jan 2015 23:35:36 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:35:36 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 (?, ?, ?, ?) [1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1 [1m[36m (0.6ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 68' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 68' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:35:36 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", Wed, 07 Jan 2015 23:35:36 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.4ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 69' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 69' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "68"], ["created_at", Wed, 07 Jan 2015 23:35:36 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", Wed, 07 Jan 2015 23:35:36 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.4ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 70' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 70' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:35:36 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", Wed, 07 Jan 2015 23:35:36 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00], ["email", "test15@test.com"], ["name", "Factory User 15"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m 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, 07 Jan 2015 23:35:36 UTC +00:00], ["email", "test16@test.com"], ["name", "Factory User 16"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:35:36 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 (?, ?, ?, ?, ?, ?, ?) [1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m [1m[35m (0.6ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 71' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 71' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "70"], ["created_at", Wed, 07 Jan 2015 23:35:36 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", Wed, 07 Jan 2015 23:35:36 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.4ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 72' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 72' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:35:36 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", Wed, 07 Jan 2015 23:35:36 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 73' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 73' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "72"], ["created_at", Wed, 07 Jan 2015 23:35:36 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", Wed, 07 Jan 2015 23:35:36 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m 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", Wed, 07 Jan 2015 23:35:36 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 23], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::CanvasBatch Load (0.1ms)[0m SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" ORDER BY created_at ASC LIMIT 1 [1m[36m (0.9ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 74' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 74' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:35:36 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", Wed, 07 Jan 2015 23:35:36 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 75' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 75' LIMIT 1 [1m[36mSQL (0.8ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "74"], ["created_at", Wed, 07 Jan 2015 23:35:36 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", Wed, 07 Jan 2015 23:35:36 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m 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", Wed, 07 Jan 2015 23:35:36 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 24], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.9ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 76' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 76' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "75"], ["created_at", Wed, 07 Jan 2015 23:35:36 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", Wed, 07 Jan 2015 23:35:36 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 77' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 77' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:35:36 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", Wed, 07 Jan 2015 23:35:36 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 30], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "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", Wed, 07 Jan 2015 23:35:36 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m UPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["status", "Started"], ["updated_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Section Load (0.2ms)[0m SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "coalescing_panda_sections" ("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, 07 Jan 2015 23:35:36 UTC +00:00], ["name", "Course1"], ["updated_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mUPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1[0m [["percent_complete", 20.0], ["updated_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::User Load (0.1ms)[0m [1mSELECT "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[0m [["coalescing_panda_lti_account_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00], ["name", "teacher@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::User Load (0.1ms)[0m [1mSELECT "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[0m [["coalescing_panda_lti_account_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00], ["name", "student1@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::User Load (0.1ms)[0m [1mSELECT "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[0m [["coalescing_panda_lti_account_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00], ["name", "student2@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 40.0], ["updated_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Enrollment Load (0.1ms)[0m SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '1') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36mCoalescingPanda::User Load (0.1ms)[0m [1mSELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '1' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1[0m [["coalescing_panda_lti_account_id", 1]] [1m[35mCoalescingPanda::Section Load (0.1ms)[0m SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "coalescing_panda_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"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Enrollment Load (0.1ms)[0m SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '2') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36mCoalescingPanda::User Load (0.1ms)[0m [1mSELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1[0m [["coalescing_panda_lti_account_id", 1]] [1m[35mCoalescingPanda::Section Load (0.0ms)[0m SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_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"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Enrollment Load (0.1ms)[0m SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '3') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36mCoalescingPanda::User Load (0.1ms)[0m [1mSELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1[0m [["coalescing_panda_lti_account_id", 1]] [1m[35mCoalescingPanda::Section Load (0.0ms)[0m SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_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"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mUPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1[0m [["percent_complete", 60.0], ["updated_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::Assignment Load (0.1ms)[0m [1mSELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "grade_group_students_individually", "name", "points_possible", "published", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_assignment_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 18:04:38 UTC +00:00], ["description", "
What is your name?
"], ["grade_group_students_individually", false], ["name", "Gimme your name"], ["points_possible", 100.0], ["published", true], ["submission_types", "---\n- online_text_entry\n"], ["updated_at", Tue, 18 Nov 2014 18:04:42 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::Assignment Load (0.1ms)[0m [1mSELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "grade_group_students_individually", "name", "points_possible", "published", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_assignment_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 19:10:28 UTC +00:00], ["description", "What is your Favorite Color?
"], ["grade_group_students_individually", false], ["name", "Favorite Color"], ["points_possible", 100.0], ["published", true], ["submission_types", "---\n- online_text_entry\n"], ["updated_at", Tue, 18 Nov 2014 19:10:30 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 80.0], ["updated_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Assignment Load (0.1ms)[0m SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? [["coalescing_panda_course_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 100.0], ["updated_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mUPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1[0m [["percent_complete", 120.0], ["updated_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 140.0], ["updated_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mUPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1[0m [["status", "Completed"], ["percent_complete", 100.0], ["updated_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (1.7ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 78' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 78' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:35:36 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", Wed, 07 Jan 2015 23:35:36 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 79' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 79' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "78"], ["created_at", Wed, 07 Jan 2015 23:35:36 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", Wed, 07 Jan 2015 23:35:36 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m 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", Wed, 07 Jan 2015 23:35:36 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 26], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 80' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 80' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "79"], ["created_at", Wed, 07 Jan 2015 23:35:36 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", Wed, 07 Jan 2015 23:35:36 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 81' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 81' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:35:36 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", Wed, 07 Jan 2015 23:35:36 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 32], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Wed, 07 Jan 2015 23:35:36 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mCoalescingPanda::Section Load (0.1ms)[0m [1mSELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections"[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 82' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 82' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "81"], ["created_at", Wed, 07 Jan 2015 23:35:36 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", Wed, 07 Jan 2015 23:35:36 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 83' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 83' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:35:36 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", Wed, 07 Jan 2015 23:35:36 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 33], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Wed, 07 Jan 2015 23:35:36 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::Section Load (0.0ms)[0m [1mSELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00], ["name", "Course1"], ["updated_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "coalescing_panda_sections"[0m [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mCoalescingPanda::User Load (0.1ms)[0m SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 84' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 84' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:35:36 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", Wed, 07 Jan 2015 23:35:36 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 85' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 85' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "84"], ["created_at", Wed, 07 Jan 2015 23:35:36 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", Wed, 07 Jan 2015 23:35:36 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Wed, 07 Jan 2015 23:35:36 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 29], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::User Load (0.0ms)[0m 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]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_users" ("canvas_user_id", "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, 07 Jan 2015 23:35:36 UTC +00:00], ["name", "teacher@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::User Load (0.0ms)[0m 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]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_users" ("canvas_user_id", "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, 07 Jan 2015 23:35:36 UTC +00:00], ["name", "student1@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::User Load (0.0ms)[0m 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]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_users" ("canvas_user_id", "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, 07 Jan 2015 23:35:36 UTC +00:00], ["name", "student2@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "coalescing_panda_users" [1m[36m (0.8ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mCoalescingPanda::Enrollment Load (0.1ms)[0m [1mSELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments"[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 86' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 86' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "85"], ["created_at", Wed, 07 Jan 2015 23:35:36 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", Wed, 07 Jan 2015 23:35:36 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 87' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 87' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:35:36 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", Wed, 07 Jan 2015 23:35:36 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 35], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Wed, 07 Jan 2015 23:35:36 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::Section Load (0.0ms)[0m [1mSELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00], ["name", "Course1"], ["updated_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::User Load (0.0ms)[0m [1mSELECT "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[0m [["coalescing_panda_lti_account_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00], ["name", "teacher@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::User Load (0.0ms)[0m [1mSELECT "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[0m [["coalescing_panda_lti_account_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00], ["name", "student1@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::User Load (0.0ms)[0m [1mSELECT "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[0m [["coalescing_panda_lti_account_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00], ["name", "student2@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::Enrollment Load (0.0ms)[0m [1mSELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '1') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35mCoalescingPanda::User Load (0.0ms)[0m SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '1' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] [1m[36mCoalescingPanda::Section Load (0.0ms)[0m [1mSELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["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"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::Enrollment Load (0.0ms)[0m [1mSELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '2') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35mCoalescingPanda::User Load (0.0ms)[0m SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] [1m[36mCoalescingPanda::Section Load (0.0ms)[0m [1mSELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["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"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::Enrollment Load (0.0ms)[0m [1mSELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '3') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35mCoalescingPanda::User Load (0.0ms)[0m SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] [1m[36mCoalescingPanda::Section Load (0.0ms)[0m [1mSELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["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"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "coalescing_panda_enrollments"[0m [1m[35mCoalescingPanda::Enrollment Load (0.1ms)[0m SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" ORDER BY "coalescing_panda_enrollments"."id" DESC LIMIT 1 [1m[36m (0.9ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mCoalescingPanda::Assignment Load (0.1ms)[0m [1mSELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments"[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 88' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 88' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "87"], ["created_at", Wed, 07 Jan 2015 23:35:36 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", Wed, 07 Jan 2015 23:35:36 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 89' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 89' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:35:36 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", Wed, 07 Jan 2015 23:35:36 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 36], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Wed, 07 Jan 2015 23:35:36 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:35:36 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::Assignment Load (0.1ms)[0m [1mSELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "grade_group_students_individually", "name", "points_possible", "published", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_assignment_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 18:04:38 UTC +00:00], ["description", "What is your name?
"], ["grade_group_students_individually", false], ["name", "Gimme your name"], ["points_possible", 100.0], ["published", true], ["submission_types", "---\n- online_text_entry\n"], ["updated_at", Tue, 18 Nov 2014 18:04:42 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::Assignment Load (0.0ms)[0m [1mSELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "grade_group_students_individually", "name", "points_possible", "published", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_assignment_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 19:10:28 UTC +00:00], ["description", "What is your Favorite Color?
"], ["grade_group_students_individually", false], ["name", "Favorite Color"], ["points_possible", 100.0], ["published", true], ["submission_types", "---\n- online_text_entry\n"], ["updated_at", Tue, 18 Nov 2014 19:10:30 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "coalescing_panda_assignments"[0m [1m[35m (0.8ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mCoalescingPanda::Submission Load (0.1ms)[0m SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 90' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 90' LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:35: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", Wed, 07 Jan 2015 23:35:37 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 91' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 91' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "90"], ["created_at", Wed, 07 Jan 2015 23:35: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", Wed, 07 Jan 2015 23:35:37 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Wed, 07 Jan 2015 23:35:37 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:35:37 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 32], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Wed, 07 Jan 2015 23:35:37 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:35:37 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:35:37 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:35:37 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::User Load (0.0ms)[0m 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]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_users" ("canvas_user_id", "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, 07 Jan 2015 23:35:37 UTC +00:00], ["name", "teacher@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:35:37 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::User Load (0.0ms)[0m 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]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_users" ("canvas_user_id", "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, 07 Jan 2015 23:35:37 UTC +00:00], ["name", "student1@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:35:37 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::User Load (0.0ms)[0m 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]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_users" ("canvas_user_id", "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, 07 Jan 2015 23:35:37 UTC +00:00], ["name", "student2@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:35:37 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Assignment Load (0.0ms)[0m SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "grade_group_students_individually", "name", "points_possible", "published", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 18:04:38 UTC +00:00], ["description", "What is your name?
"], ["grade_group_students_individually", false], ["name", "Gimme your name"], ["points_possible", 100.0], ["published", true], ["submission_types", "---\n- online_text_entry\n"], ["updated_at", Tue, 18 Nov 2014 18:04:42 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Assignment Load (0.0ms)[0m SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "grade_group_students_individually", "name", "points_possible", "published", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 19:10:28 UTC +00:00], ["description", "What is your Favorite Color?
"], ["grade_group_students_individually", false], ["name", "Favorite Color"], ["points_possible", 100.0], ["published", true], ["submission_types", "---\n- online_text_entry\n"], ["updated_at", Tue, 18 Nov 2014 19:10:30 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Submission Load (0.1ms)[0m SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '3') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36mCoalescingPanda::User Load (0.1ms)[0m [1mSELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1[0m [["coalescing_panda_lti_account_id", 1]] [1m[35mCoalescingPanda::Assignment Load (0.2ms)[0m SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "coalescing_panda_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, 07 Jan 2015 23:35:37 UTC +00:00], ["grade", "70"], ["score", 70], ["updated_at", Wed, 07 Jan 2015 23:35:37 UTC +00:00], ["workflow_state", "graded"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Submission Load (0.1ms)[0m SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '1') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36mCoalescingPanda::User Load (0.0ms)[0m [1mSELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1[0m [["coalescing_panda_lti_account_id", 1]] [1m[35mCoalescingPanda::Assignment Load (0.0ms)[0m SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "coalescing_panda_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, 07 Jan 2015 23:35:37 UTC +00:00], ["grade", "100"], ["score", 100], ["updated_at", Wed, 07 Jan 2015 23:35:37 UTC +00:00], ["workflow_state", "graded"]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Submission Load (0.1ms)[0m SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '4') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36mCoalescingPanda::User Load (0.0ms)[0m [1mSELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1[0m [["coalescing_panda_lti_account_id", 1]] [1m[35mCoalescingPanda::Assignment Load (0.1ms)[0m SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_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, 07 Jan 2015 23:35:37 UTC +00:00], ["grade", "90"], ["score", 90], ["updated_at", Wed, 07 Jan 2015 23:35:37 UTC +00:00], ["workflow_state", "graded"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Submission Load (0.2ms)[0m SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '2') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36mCoalescingPanda::User Load (0.0ms)[0m [1mSELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1[0m [["coalescing_panda_lti_account_id", 1]] [1m[35mCoalescingPanda::Assignment Load (0.0ms)[0m SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_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, 07 Jan 2015 23:35:37 UTC +00:00], ["grade", "80"], ["score", 80], ["updated_at", Wed, 07 Jan 2015 23:35:37 UTC +00:00], ["workflow_state", "graded"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "coalescing_panda_submissions" [1m[36m (0.9ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 92' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 92' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:35: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", Wed, 07 Jan 2015 23:35:37 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 93' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 93' LIMIT 1 [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "92"], ["created_at", Wed, 07 Jan 2015 23:35: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", Wed, 07 Jan 2015 23:35:37 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Wed, 07 Jan 2015 23:35:37 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:35:37 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 33], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Wed, 07 Jan 2015 23:35:37 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:35:37 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:35:37 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:35:37 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.9ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 94' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 94' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "93"], ["created_at", Wed, 07 Jan 2015 23:35: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", Wed, 07 Jan 2015 23:35:37 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 95' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 95' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:35: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", Wed, 07 Jan 2015 23:35:37 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 39], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:35:37 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:35:37 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Wed, 07 Jan 2015 23:35:37 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:35:37 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Wed, 07 Jan 2015 23:35:37 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:35:37 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 96' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 96' LIMIT 1[0m [1m[35mSQL (0.6ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:35: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", Wed, 07 Jan 2015 23:35:37 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 97' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 97' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "96"], ["created_at", Wed, 07 Jan 2015 23:35: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", Wed, 07 Jan 2015 23:35:37 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Wed, 07 Jan 2015 23:35:37 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:35:37 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 35], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Wed, 07 Jan 2015 23:35:37 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:35:37 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:35:37 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:35:37 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 98' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 98' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "97"], ["created_at", Wed, 07 Jan 2015 23:35: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", Wed, 07 Jan 2015 23:35:37 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 99' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 99' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:35: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", Wed, 07 Jan 2015 23:35:37 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 41], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:35:37 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:35:37 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Wed, 07 Jan 2015 23:35:37 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:35:37 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Wed, 07 Jan 2015 23:35:37 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:35:37 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 100' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 100' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:35: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", Wed, 07 Jan 2015 23:35:37 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 101' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 101' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "100"], ["created_at", Wed, 07 Jan 2015 23:35: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", Wed, 07 Jan 2015 23:35:37 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Wed, 07 Jan 2015 23:35:37 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:35:37 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 37], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Wed, 07 Jan 2015 23:35:37 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:35:37 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:35:37 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:35:37 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.8ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 102' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 102' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "101"], ["created_at", Wed, 07 Jan 2015 23:35: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", Wed, 07 Jan 2015 23:35:37 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 103' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 103' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:35: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", Wed, 07 Jan 2015 23:35:37 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 43], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:35:37 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:35:37 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Wed, 07 Jan 2015 23:35:37 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:35:37 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Wed, 07 Jan 2015 23:35:37 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:35:37 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 104' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 104' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:35: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", Wed, 07 Jan 2015 23:35:37 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 105' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 105' LIMIT 1 [1m[36mSQL (0.7ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "104"], ["created_at", Wed, 07 Jan 2015 23:35: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", Wed, 07 Jan 2015 23:35:37 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m 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", Wed, 07 Jan 2015 23:35:37 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:35:37 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 39], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Wed, 07 Jan 2015 23:35:37 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:35:37 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:35:37 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:35:37 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.9ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 106' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 106' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "105"], ["created_at", Wed, 07 Jan 2015 23:35: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", Wed, 07 Jan 2015 23:35:37 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 107' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 107' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:35: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", Wed, 07 Jan 2015 23:35:37 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 45], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:35:37 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:35:37 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "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", Wed, 07 Jan 2015 23:35:37 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:35:37 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Wed, 07 Jan 2015 23:35:37 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:35:37 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.8ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 108' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 108' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:35: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", Wed, 07 Jan 2015 23:35:37 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 109' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 109' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "108"], ["created_at", Wed, 07 Jan 2015 23:35: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", Wed, 07 Jan 2015 23:35:37 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Wed, 07 Jan 2015 23:35:37 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:35:37 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 41], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Wed, 07 Jan 2015 23:35:37 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:35:37 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:35:37 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:35:37 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.8ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 110' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 110' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "109"], ["created_at", Wed, 07 Jan 2015 23:35: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", Wed, 07 Jan 2015 23:35:37 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 111' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 111' LIMIT 1[0m [1m[35mSQL (0.7ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:35: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", Wed, 07 Jan 2015 23:35:37 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 47], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:35:37 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:35:37 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "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", Wed, 07 Jan 2015 23:35:37 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:35:37 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_section_id", 9], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:35:37 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:35:37 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 112' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 112' LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:35:37 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", Wed, 07 Jan 2015 23:35:37 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 113' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 113' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "112"], ["created_at", Wed, 07 Jan 2015 23:35:37 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", Wed, 07 Jan 2015 23:35:37 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m 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", Wed, 07 Jan 2015 23:35:37 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:35:37 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 43], ["coalescing_panda_lti_account_id", 3], ["coalescing_panda_term_id", 2], ["created_at", Wed, 07 Jan 2015 23:35:37 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:35:37 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Course Load (0.1ms)[0m SELECT "coalescing_panda_courses".* FROM "coalescing_panda_courses" WHERE "coalescing_panda_courses"."id" = ? LIMIT 1 [["id", 2]] [1m[36mSQL (0.2ms)[0m [1mUPDATE "coalescing_panda_sections" SET "coalescing_panda_course_id" = ?, "updated_at" = ? WHERE "coalescing_panda_sections"."id" = 1[0m [["coalescing_panda_course_id", 2], ["updated_at", Wed, 07 Jan 2015 23:35:37 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:35:37 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:35:37 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 15], ["coalescing_panda_lti_account_id", 3], ["created_at", Wed, 07 Jan 2015 23:35:37 UTC +00:00], ["email", "test18@test.com"], ["name", "Factory User 18"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:35:37 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::User Load (0.1ms)[0m [1mSELECT "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[0m [["coalescing_panda_lti_account_id", 3]] [1m[35mCoalescingPanda::Section Load (0.1ms)[0m 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]] [1m[36m (1.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 114' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 114' LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:35:37 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", Wed, 07 Jan 2015 23:35:37 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 115' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 115' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "114"], ["created_at", Wed, 07 Jan 2015 23:35:37 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", Wed, 07 Jan 2015 23:35:37 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Wed, 07 Jan 2015 23:35:37 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:35:37 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 44], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Wed, 07 Jan 2015 23:35:37 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:35:37 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:35:37 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:35:37 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 116' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 116' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "115"], ["created_at", Wed, 07 Jan 2015 23:35:37 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", Wed, 07 Jan 2015 23:35:37 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 117' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 117' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:35:37 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", Wed, 07 Jan 2015 23:35:37 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 50], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:35:37 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:35:37 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Wed, 07 Jan 2015 23:35:37 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:35:37 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_assignment_id", "9"], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:35:37 UTC +00:00], ["name", "test assignment"], ["submission_types", nil], ["updated_at", Wed, 07 Jan 2015 23:35:37 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:35:37 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:35:37 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 16], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 07 Jan 2015 23:35:37 UTC +00:00], ["email", "test19@test.com"], ["name", "Factory User 19"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:35:37 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::User Load (0.1ms)[0m [1mSELECT "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[0m [["coalescing_panda_lti_account_id", 1]] [1m[35mCoalescingPanda::Assignment Load (0.1ms)[0m 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]] [1m[36m (1.0ms)[0m [1mrollback transaction[0m [1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m [1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations" [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m Processing by CoalescingPanda::LtiController#lti_config as HTML Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms) [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m Processing by CoalescingPanda::LtiController#lti_config as HTML Completed 500 Internal Server Error in 1ms [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m Processing by CoalescingPanda::Oauth2Controller#redirect as HTML Parameters: {"user_id"=>"1", "api_domain"=>"foo.com", "code"=>"bar"} Completed 200 OK in 5ms (Views: 4.9ms | ActiveRecord: 0.0ms) [1m[35mCoalescingPanda::CanvasApiAuth Load (0.1ms)[0m 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 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction Processing by CoalescingPanda::Oauth2Controller#redirect as HTML Parameters: {"error"=>"your face"} Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "coalescing_panda_canvas_api_auths"[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 1' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 1' LIMIT 1 [1m[36mSQL (2.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "1"], ["created_at", Wed, 07 Jan 2015 23:38: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", Wed, 07 Jan 2015 23:38:34 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 2' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 2' LIMIT 1[0m [1m[35mSQL (1.2ms)[0m INSERT INTO "coalescing_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, 07 Jan 2015 23:38: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", Wed, 07 Jan 2015 23:38:34 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 1], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:38:34 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:38:34 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "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", Wed, 07 Jan 2015 23:38:34 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:38:34 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (1.4ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 3' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 3' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "3"], ["created_at", Wed, 07 Jan 2015 23:38: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", Wed, 07 Jan 2015 23:38:34 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 4' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 4' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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, 07 Jan 2015 23:38: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", Wed, 07 Jan 2015 23:38:34 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 2], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:38:34 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:38:34 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "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", Wed, 07 Jan 2015 23:38:34 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:38:34 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 5' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 5' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "5"], ["created_at", Wed, 07 Jan 2015 23:38: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", Wed, 07 Jan 2015 23:38:34 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 6' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 6' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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, 07 Jan 2015 23:38: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", Wed, 07 Jan 2015 23:38:34 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 3], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:38:34 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:38:34 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Wed, 07 Jan 2015 23:38:34 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:38:34 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_assignment_id", "1"], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:38:34 UTC +00:00], ["name", "test assignment"], ["submission_types", nil], ["updated_at", Wed, 07 Jan 2015 23:38:34 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_assignment_id", "1"], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:38:34 UTC +00:00], ["name", "test assignment"], ["submission_types", nil], ["updated_at", Wed, 07 Jan 2015 23:38:34 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", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 7' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 7' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "7"], ["created_at", Wed, 07 Jan 2015 23:38: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", Wed, 07 Jan 2015 23:38:34 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 8' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 8' LIMIT 1[0m [1m[35mSQL (0.8ms)[0m INSERT INTO "coalescing_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, 07 Jan 2015 23:38: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", Wed, 07 Jan 2015 23:38:34 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 4], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:38:34 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:38:34 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Wed, 07 Jan 2015 23:38:34 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:38:34 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.6ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mCoalescingPanda::CanvasApiAuth Load (0.2ms)[0m SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" ORDER BY "coalescing_panda_canvas_api_auths"."id" ASC LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_panda_canvas_api_auths" ("created_at", "updated_at", "user_id") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:38:34 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:38:34 UTC +00:00], ["user_id", "a"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::CanvasApiAuth Exists (0.2ms)[0m SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1 [1m[36mCoalescingPanda::CanvasApiAuth Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1[0m [1m[35mCoalescingPanda::CanvasApiAuth Load (0.1ms)[0m SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" [1m[36mCoalescingPanda::CanvasApiAuth Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" = '1') LIMIT 1[0m [1m[35mCoalescingPanda::CanvasApiAuth Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" = '1') LIMIT 1 [1m[36m (0.6ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mCoalescingPanda::CanvasApiAuth Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1[0m [1m[35mCoalescingPanda::CanvasApiAuth Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mCoalescingPanda::CanvasApiAuth Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1[0m [1m[35mCoalescingPanda::CanvasApiAuth Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:38:34 UTC +00:00], ["status", "Pending"], ["updated_at", Wed, 07 Jan 2015 23:38:34 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Wed, 07 Jan 2015 23:38:34 UTC +00:00], ["status", "Pending"], ["updated_at", Wed, 07 Jan 2015 23:38:34 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:38:34 UTC +00:00], ["status", "Pending"], ["updated_at", Wed, 07 Jan 2015 23:38:34 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::CanvasBatch Load (0.1ms)[0m SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" ORDER BY created_at DESC [1m[36m (0.8ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 9' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 9' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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, 07 Jan 2015 23:38: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", Wed, 07 Jan 2015 23:38:34 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 10' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 10' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "10"], ["created_at", Wed, 07 Jan 2015 23:38: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", Wed, 07 Jan 2015 23:38:34 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Wed, 07 Jan 2015 23:38:34 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:38:34 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.8ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 11' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 11' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "11"], ["created_at", Wed, 07 Jan 2015 23:38: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", Wed, 07 Jan 2015 23:38:34 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 12' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 12' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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, 07 Jan 2015 23:38:34 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, 07 Jan 2015 23:38:34 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 6], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:38:34 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:38:34 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 13' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 13' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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, 07 Jan 2015 23:38:34 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, 07 Jan 2015 23:38:34 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 14' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 14' LIMIT 1 [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "14"], ["created_at", Wed, 07 Jan 2015 23:38:34 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, 07 Jan 2015 23:38:34 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Wed, 07 Jan 2015 23:38:34 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:38:34 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Wed, 07 Jan 2015 23:38:34 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:38:34 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 15' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 15' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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, 07 Jan 2015 23:38:34 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, 07 Jan 2015 23:38:34 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 8], ["coalescing_panda_lti_account_id", 3], ["created_at", Wed, 07 Jan 2015 23:38:34 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:38:34 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "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", Wed, 07 Jan 2015 23:38:34 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:38:34 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 (?, ?, ?, ?, ?, ?) [1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 16' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 16' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "16"], ["created_at", Wed, 07 Jan 2015 23:38:34 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, 07 Jan 2015 23:38:34 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.6ms)[0m 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", Wed, 07 Jan 2015 23:38:34 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:38:34 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 17' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 17' LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "17"], ["created_at", Wed, 07 Jan 2015 23:38:34 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, 07 Jan 2015 23:38:34 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "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", Wed, 07 Jan 2015 23:38:34 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:38:34 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 18' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 18' LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "18"], ["created_at", Wed, 07 Jan 2015 23:38:34 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, 07 Jan 2015 23:38:34 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "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", Wed, 07 Jan 2015 23:38:34 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:38:34 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 (?, ?, ?, ?, ?, ?) [1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m [1m[35m (0.9ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 19' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 19' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "19"], ["created_at", Wed, 07 Jan 2015 23:38:34 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, 07 Jan 2015 23:38:34 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 20' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 20' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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, 07 Jan 2015 23:38:34 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, 07 Jan 2015 23:38:34 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 10], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:38:34 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:38:34 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.6ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 21' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 21' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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, 07 Jan 2015 23:38:34 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, 07 Jan 2015 23:38:34 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 07 Jan 2015 23:38:34 UTC +00:00], ["email", "test1@test.com"], ["name", "Factory User 1"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:38:34 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 22' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 22' LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "coalescing_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, 07 Jan 2015 23:38:34 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, 07 Jan 2015 23:38:34 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 23' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 23' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "23"], ["created_at", Wed, 07 Jan 2015 23:38:34 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, 07 Jan 2015 23:38:34 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m 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", Wed, 07 Jan 2015 23:38:34 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:38:34 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 7], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Wed, 07 Jan 2015 23:38:34 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:38:34 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m 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", Wed, 07 Jan 2015 23:38:34 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:38:34 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (1.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 24' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 24' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "24"], ["created_at", Wed, 07 Jan 2015 23:38:34 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, 07 Jan 2015 23:38:34 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.5ms)[0m 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, 07 Jan 2015 23:38:34 UTC +00:00], ["email", "test2@test.com"], ["name", "Factory User 2"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:38:34 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 25' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 25' LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "25"], ["created_at", Wed, 07 Jan 2015 23:38:34 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, 07 Jan 2015 23:38:34 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 26' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 26' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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, 07 Jan 2015 23:38:34 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, 07 Jan 2015 23:38:34 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 12], ["coalescing_panda_lti_account_id", 3], ["created_at", Wed, 07 Jan 2015 23:38:34 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:38:34 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Wed, 07 Jan 2015 23:38:34 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:38:34 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_section_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:38:34 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:38:34 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 27' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 27' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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, 07 Jan 2015 23:38:34 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, 07 Jan 2015 23:38:34 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 07 Jan 2015 23:38:34 UTC +00:00], ["email", "test3@test.com"], ["name", "Factory User 3"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:38:34 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 28' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 28' LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "coalescing_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, 07 Jan 2015 23:38:34 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, 07 Jan 2015 23:38:34 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 29' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 29' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "29"], ["created_at", Wed, 07 Jan 2015 23:38:34 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, 07 Jan 2015 23:38:34 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m 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", Wed, 07 Jan 2015 23:38:34 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:38:34 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 9], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Wed, 07 Jan 2015 23:38:34 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:38:34 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Wed, 07 Jan 2015 23:38:34 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:38:34 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 30' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 30' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "30"], ["created_at", Wed, 07 Jan 2015 23:38:34 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, 07 Jan 2015 23:38:34 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.6ms)[0m 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, 07 Jan 2015 23:38:34 UTC +00:00], ["email", "test4@test.com"], ["name", "Factory User 4"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:38:34 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 31' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 31' LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "31"], ["created_at", Wed, 07 Jan 2015 23:38:34 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, 07 Jan 2015 23:38:34 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 32' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 32' LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "coalescing_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, 07 Jan 2015 23:38:34 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, 07 Jan 2015 23:38:34 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 14], ["coalescing_panda_lti_account_id", 3], ["created_at", Wed, 07 Jan 2015 23:38:34 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:38:34 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "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", Wed, 07 Jan 2015 23:38:34 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:38:34 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_section_id", 4], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:38:34 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:38:34 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m 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", Wed, 07 Jan 2015 23:38:34 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Wed, 07 Jan 2015 23:38:34 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_enrollment_id", 4], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Wed, 07 Jan 2015 23:38:34 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Wed, 07 Jan 2015 23:38:34 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 (?, ?, ?, ?, ?, ?) [1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1 [1m[36m (0.9ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 33' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 33' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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, 07 Jan 2015 23:38:34 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, 07 Jan 2015 23:38:34 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 5], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 07 Jan 2015 23:38:34 UTC +00:00], ["email", "test5@test.com"], ["name", "Factory User 5"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:38:34 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 34' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 34' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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, 07 Jan 2015 23:38:34 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, 07 Jan 2015 23:38:34 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 35' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 35' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "35"], ["created_at", Wed, 07 Jan 2015 23:38:34 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, 07 Jan 2015 23:38:34 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Wed, 07 Jan 2015 23:38:34 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:38:34 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 11], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Wed, 07 Jan 2015 23:38:34 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:38:34 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Wed, 07 Jan 2015 23:38:34 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:38:34 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_enrollment_id", 5], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Wed, 07 Jan 2015 23:38:34 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Wed, 07 Jan 2015 23:38:34 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m 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", Wed, 07 Jan 2015 23:38:34 UTC +00:00], ["enrollment_type", "TeacherEnrollment"], ["updated_at", Wed, 07 Jan 2015 23:38:34 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.8ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 36' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 36' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "36"], ["created_at", Wed, 07 Jan 2015 23:38:34 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, 07 Jan 2015 23:38:34 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.5ms)[0m 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, 07 Jan 2015 23:38:34 UTC +00:00], ["email", "test6@test.com"], ["name", "Factory User 6"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:38:34 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 37' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 37' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "37"], ["created_at", Wed, 07 Jan 2015 23:38:34 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, 07 Jan 2015 23:38:34 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 38' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 38' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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, 07 Jan 2015 23:38:34 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, 07 Jan 2015 23:38:34 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 16], ["coalescing_panda_lti_account_id", 3], ["created_at", Wed, 07 Jan 2015 23:38:34 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:38:34 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Wed, 07 Jan 2015 23:38:34 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:38:34 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_section_id", 6], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:38:34 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:38:34 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (1.0ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mCoalescingPanda::LtiAccount Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 39' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 39' LIMIT 1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.4ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 40' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 40' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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, 07 Jan 2015 23:38:34 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, 07 Jan 2015 23:38:34 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 41' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 41' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "40"], ["created_at", Wed, 07 Jan 2015 23:38:34 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, 07 Jan 2015 23:38:34 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Wed, 07 Jan 2015 23:38:34 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:38:34 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 13], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Wed, 07 Jan 2015 23:38:34 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:38:34 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 42' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 42' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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, 07 Jan 2015 23:38:34 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, 07 Jan 2015 23:38:34 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 43' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 43' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "42"], ["created_at", Wed, 07 Jan 2015 23:38:34 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, 07 Jan 2015 23:38:34 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Wed, 07 Jan 2015 23:38:35 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 14], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.9ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.2ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 44' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 44' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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, 07 Jan 2015 23:38:35 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, 07 Jan 2015 23:38:35 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 45' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 45' LIMIT 1 [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "44"], ["created_at", Wed, 07 Jan 2015 23:38:35 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, 07 Jan 2015 23:38:35 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Wed, 07 Jan 2015 23:38:35 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 15], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m 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", Wed, 07 Jan 2015 23:38:35 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_section_id", "1"], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:38:35 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 (?, ?, ?, ?) [1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1 [1m[36m (0.8ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 46' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 46' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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, 07 Jan 2015 23:38:35 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, 07 Jan 2015 23:38:35 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 47' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 47' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "46"], ["created_at", Wed, 07 Jan 2015 23:38:35 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, 07 Jan 2015 23:38:35 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Wed, 07 Jan 2015 23:38:35 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 16], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.8ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 48' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 48' LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "coalescing_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, 07 Jan 2015 23:38:35 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, 07 Jan 2015 23:38:35 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 7], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00], ["email", "test7@test.com"], ["name", "Factory User 7"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 49' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 49' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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, 07 Jan 2015 23:38:35 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, 07 Jan 2015 23:38:35 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 50' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 50' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "49"], ["created_at", Wed, 07 Jan 2015 23:38:35 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, 07 Jan 2015 23:38:35 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Wed, 07 Jan 2015 23:38:35 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 17], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_assignment_id", "3"], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00], ["name", "test assignment"], ["submission_types", nil], ["updated_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.9ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 51' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 51' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "50"], ["created_at", Wed, 07 Jan 2015 23:38:35 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, 07 Jan 2015 23:38:35 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.5ms)[0m 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, 07 Jan 2015 23:38:35 UTC +00:00], ["email", "test8@test.com"], ["name", "Factory User 8"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 52' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 52' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "51"], ["created_at", Wed, 07 Jan 2015 23:38:35 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, 07 Jan 2015 23:38:35 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 53' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 53' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:38:35 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", Wed, 07 Jan 2015 23:38:35 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 22], ["coalescing_panda_lti_account_id", 3], ["created_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Wed, 07 Jan 2015 23:38:35 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_assignment_id", "4"], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00], ["name", "test assignment"], ["submission_types", nil], ["updated_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.8ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 54' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 54' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:38:35 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", Wed, 07 Jan 2015 23:38:35 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 9], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00], ["email", "test9@test.com"], ["name", "Factory User 9"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 55' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 55' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:38:35 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", Wed, 07 Jan 2015 23:38:35 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 56' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 56' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "55"], ["created_at", Wed, 07 Jan 2015 23:38:35 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", Wed, 07 Jan 2015 23:38:35 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Wed, 07 Jan 2015 23:38:35 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 19], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_assignment_id", "5"], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00], ["name", "test assignment"], ["submission_types", nil], ["updated_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.8ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 57' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 57' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "56"], ["created_at", Wed, 07 Jan 2015 23:38:35 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", Wed, 07 Jan 2015 23:38:35 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.5ms)[0m 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, 07 Jan 2015 23:38:35 UTC +00:00], ["email", "test10@test.com"], ["name", "Factory User 10"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 58' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 58' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "57"], ["created_at", Wed, 07 Jan 2015 23:38:35 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", Wed, 07 Jan 2015 23:38:35 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 59' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 59' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:38:35 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", Wed, 07 Jan 2015 23:38:35 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 24], ["coalescing_panda_lti_account_id", 3], ["created_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Wed, 07 Jan 2015 23:38:35 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_assignment_id", "6"], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00], ["name", "test assignment"], ["submission_types", nil], ["updated_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m 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", Wed, 07 Jan 2015 23:38:35 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["canvas_submission_id", "1"], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:38:35 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 (?, ?, ?, ?, ?) [1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1 [1m[36m (0.9ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 60' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 60' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:38:35 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", Wed, 07 Jan 2015 23:38:35 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 11], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00], ["email", "test11@test.com"], ["name", "Factory User 11"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 61' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 61' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:38:35 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", Wed, 07 Jan 2015 23:38:35 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 62' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 62' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "61"], ["created_at", Wed, 07 Jan 2015 23:38:35 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", Wed, 07 Jan 2015 23:38:35 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Wed, 07 Jan 2015 23:38:35 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 21], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_assignment_id", "7"], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00], ["name", "test assignment"], ["submission_types", nil], ["updated_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["canvas_submission_id", "1"], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m 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", Wed, 07 Jan 2015 23:38:35 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 63' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 63' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "62"], ["created_at", Wed, 07 Jan 2015 23:38:35 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", Wed, 07 Jan 2015 23:38:35 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.5ms)[0m 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, 07 Jan 2015 23:38:35 UTC +00:00], ["email", "test12@test.com"], ["name", "Factory User 12"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 64' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 64' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "63"], ["created_at", Wed, 07 Jan 2015 23:38:35 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", Wed, 07 Jan 2015 23:38:35 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 65' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 65' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:38:35 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", Wed, 07 Jan 2015 23:38:35 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 26], ["coalescing_panda_lti_account_id", 3], ["created_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Wed, 07 Jan 2015 23:38:35 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_assignment_id", "8"], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00], ["name", "test assignment"], ["submission_types", nil], ["updated_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 66' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 66' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:38:35 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", Wed, 07 Jan 2015 23:38:35 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.3ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 67' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 67' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "66"], ["created_at", Wed, 07 Jan 2015 23:38:35 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", Wed, 07 Jan 2015 23:38:35 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.6ms)[0m 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", Wed, 07 Jan 2015 23:38:35 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:38:35 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 (?, ?, ?, ?) [1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1 [1m[36m (0.6ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 68' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 68' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:38:35 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", Wed, 07 Jan 2015 23:38:35 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.4ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 69' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 69' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "68"], ["created_at", Wed, 07 Jan 2015 23:38:35 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", Wed, 07 Jan 2015 23:38:35 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.3ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 70' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 70' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:38:35 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", Wed, 07 Jan 2015 23:38:35 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.7ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00], ["email", "test15@test.com"], ["name", "Factory User 15"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m 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, 07 Jan 2015 23:38:35 UTC +00:00], ["email", "test16@test.com"], ["name", "Factory User 16"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:38:35 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 (?, ?, ?, ?, ?, ?, ?) [1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m [1m[35m (0.6ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 71' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 71' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "70"], ["created_at", Wed, 07 Jan 2015 23:38:35 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", Wed, 07 Jan 2015 23:38:35 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.3ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 72' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 72' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:38:35 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", Wed, 07 Jan 2015 23:38:35 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 73' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 73' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "72"], ["created_at", Wed, 07 Jan 2015 23:38:35 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", Wed, 07 Jan 2015 23:38:35 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Wed, 07 Jan 2015 23:38:35 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 23], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::CanvasBatch Load (0.1ms)[0m SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" ORDER BY created_at ASC LIMIT 1 [1m[36m (0.6ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 74' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 74' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:38:35 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", Wed, 07 Jan 2015 23:38:35 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 75' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 75' LIMIT 1 [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "74"], ["created_at", Wed, 07 Jan 2015 23:38:35 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", Wed, 07 Jan 2015 23:38:35 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Wed, 07 Jan 2015 23:38:35 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 24], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.6ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 76' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 76' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "75"], ["created_at", Wed, 07 Jan 2015 23:38:35 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", Wed, 07 Jan 2015 23:38:35 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 77' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 77' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:38:35 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", Wed, 07 Jan 2015 23:38:35 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 30], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Wed, 07 Jan 2015 23:38:35 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m UPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["status", "Started"], ["updated_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Section Load (0.2ms)[0m SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "coalescing_panda_sections" ("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, 07 Jan 2015 23:38:35 UTC +00:00], ["name", "Course1"], ["updated_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mUPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1[0m [["percent_complete", 20.0], ["updated_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::User Load (0.1ms)[0m [1mSELECT "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[0m [["coalescing_panda_lti_account_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00], ["name", "teacher@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::User Load (0.1ms)[0m [1mSELECT "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[0m [["coalescing_panda_lti_account_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00], ["name", "student1@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::User Load (0.1ms)[0m [1mSELECT "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[0m [["coalescing_panda_lti_account_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00], ["name", "student2@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 40.0], ["updated_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Enrollment Load (0.2ms)[0m SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '1') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36mCoalescingPanda::User Load (0.1ms)[0m [1mSELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '1' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1[0m [["coalescing_panda_lti_account_id", 1]] [1m[35mCoalescingPanda::Section Load (0.1ms)[0m SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "coalescing_panda_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"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Enrollment Load (0.1ms)[0m SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '2') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36mCoalescingPanda::User Load (0.1ms)[0m [1mSELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1[0m [["coalescing_panda_lti_account_id", 1]] [1m[35mCoalescingPanda::Section Load (0.0ms)[0m SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_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"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Enrollment Load (0.1ms)[0m SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '3') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36mCoalescingPanda::User Load (0.1ms)[0m [1mSELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1[0m [["coalescing_panda_lti_account_id", 1]] [1m[35mCoalescingPanda::Section Load (0.0ms)[0m SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_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"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mUPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1[0m [["percent_complete", 60.0], ["updated_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::Assignment Load (0.1ms)[0m [1mSELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "grade_group_students_individually", "name", "points_possible", "published", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_assignment_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 18:04:38 UTC +00:00], ["description", "What is your name?
"], ["grade_group_students_individually", false], ["name", "Gimme your name"], ["points_possible", 100.0], ["published", true], ["submission_types", "---\n- online_text_entry\n"], ["updated_at", Tue, 18 Nov 2014 18:04:42 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::Assignment Load (0.1ms)[0m [1mSELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "grade_group_students_individually", "name", "points_possible", "published", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_assignment_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 19:10:28 UTC +00:00], ["description", "What is your Favorite Color?
"], ["grade_group_students_individually", false], ["name", "Favorite Color"], ["points_possible", 100.0], ["published", true], ["submission_types", "---\n- online_text_entry\n"], ["updated_at", Tue, 18 Nov 2014 19:10:30 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 80.0], ["updated_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Assignment Load (0.1ms)[0m SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? [["coalescing_panda_course_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 100.0], ["updated_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mUPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1[0m [["percent_complete", 120.0], ["updated_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 140.0], ["updated_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mUPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1[0m [["status", "Completed"], ["percent_complete", 100.0], ["updated_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (1.8ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 78' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 78' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:38:35 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", Wed, 07 Jan 2015 23:38:35 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 79' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 79' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "78"], ["created_at", Wed, 07 Jan 2015 23:38:35 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", Wed, 07 Jan 2015 23:38:35 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m 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", Wed, 07 Jan 2015 23:38:35 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 26], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (1.0ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 80' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 80' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "79"], ["created_at", Wed, 07 Jan 2015 23:38:35 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", Wed, 07 Jan 2015 23:38:35 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 81' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 81' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:38:35 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", Wed, 07 Jan 2015 23:38:35 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 32], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Wed, 07 Jan 2015 23:38:35 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mCoalescingPanda::Section Load (0.1ms)[0m [1mSELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections"[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 82' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 82' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "81"], ["created_at", Wed, 07 Jan 2015 23:38:35 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", Wed, 07 Jan 2015 23:38:35 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 83' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 83' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:38:35 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", Wed, 07 Jan 2015 23:38:35 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 33], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Wed, 07 Jan 2015 23:38:35 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::Section Load (0.0ms)[0m [1mSELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00], ["name", "Course1"], ["updated_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "coalescing_panda_sections"[0m [1m[35m (0.8ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mCoalescingPanda::User Load (0.1ms)[0m SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 84' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 84' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:38:35 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", Wed, 07 Jan 2015 23:38:35 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 85' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 85' LIMIT 1 [1m[36mSQL (1.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "84"], ["created_at", Wed, 07 Jan 2015 23:38:35 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", Wed, 07 Jan 2015 23:38:35 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m 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", Wed, 07 Jan 2015 23:38:35 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 29], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::User Load (0.0ms)[0m 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]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_users" ("canvas_user_id", "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, 07 Jan 2015 23:38:35 UTC +00:00], ["name", "teacher@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::User Load (0.0ms)[0m 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]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_users" ("canvas_user_id", "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, 07 Jan 2015 23:38:35 UTC +00:00], ["name", "student1@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::User Load (0.0ms)[0m 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]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_users" ("canvas_user_id", "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, 07 Jan 2015 23:38:35 UTC +00:00], ["name", "student2@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "coalescing_panda_users" [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mCoalescingPanda::Enrollment Load (0.1ms)[0m [1mSELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments"[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 86' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 86' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "85"], ["created_at", Wed, 07 Jan 2015 23:38:35 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", Wed, 07 Jan 2015 23:38:35 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 87' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 87' LIMIT 1[0m [1m[35mSQL (0.6ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:38:35 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", Wed, 07 Jan 2015 23:38:35 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 35], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Wed, 07 Jan 2015 23:38:35 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::Section Load (0.0ms)[0m [1mSELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00], ["name", "Course1"], ["updated_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::User Load (0.0ms)[0m [1mSELECT "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[0m [["coalescing_panda_lti_account_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00], ["name", "teacher@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::User Load (0.0ms)[0m [1mSELECT "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[0m [["coalescing_panda_lti_account_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00], ["name", "student1@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::User Load (0.0ms)[0m [1mSELECT "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[0m [["coalescing_panda_lti_account_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00], ["name", "student2@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::Enrollment Load (0.0ms)[0m [1mSELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '1') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35mCoalescingPanda::User Load (0.0ms)[0m SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '1' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] [1m[36mCoalescingPanda::Section Load (0.0ms)[0m [1mSELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["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"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::Enrollment Load (0.1ms)[0m [1mSELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '2') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35mCoalescingPanda::User Load (0.0ms)[0m SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] [1m[36mCoalescingPanda::Section Load (0.0ms)[0m [1mSELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["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"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::Enrollment Load (0.0ms)[0m [1mSELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '3') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35mCoalescingPanda::User Load (0.0ms)[0m SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] [1m[36mCoalescingPanda::Section Load (0.0ms)[0m [1mSELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["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"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "coalescing_panda_enrollments"[0m [1m[35mCoalescingPanda::Enrollment Load (0.1ms)[0m SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" ORDER BY "coalescing_panda_enrollments"."id" DESC LIMIT 1 [1m[36m (0.9ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mCoalescingPanda::Assignment Load (0.2ms)[0m [1mSELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments"[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 88' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 88' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "87"], ["created_at", Wed, 07 Jan 2015 23:38:35 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", Wed, 07 Jan 2015 23:38:35 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 89' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 89' LIMIT 1[0m [1m[35mSQL (0.7ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:38:35 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", Wed, 07 Jan 2015 23:38:35 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 36], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "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", Wed, 07 Jan 2015 23:38:35 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::Assignment Load (0.0ms)[0m [1mSELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "grade_group_students_individually", "name", "points_possible", "published", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_assignment_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 18:04:38 UTC +00:00], ["description", "What is your name?
"], ["grade_group_students_individually", false], ["name", "Gimme your name"], ["points_possible", 100.0], ["published", true], ["submission_types", "---\n- online_text_entry\n"], ["updated_at", Tue, 18 Nov 2014 18:04:42 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::Assignment Load (0.0ms)[0m [1mSELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "grade_group_students_individually", "name", "points_possible", "published", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_assignment_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 19:10:28 UTC +00:00], ["description", "What is your Favorite Color?
"], ["grade_group_students_individually", false], ["name", "Favorite Color"], ["points_possible", 100.0], ["published", true], ["submission_types", "---\n- online_text_entry\n"], ["updated_at", Tue, 18 Nov 2014 19:10:30 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "coalescing_panda_assignments"[0m [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mCoalescingPanda::Submission Load (0.1ms)[0m SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 90' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 90' LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:38:35 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", Wed, 07 Jan 2015 23:38:35 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 91' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 91' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "90"], ["created_at", Wed, 07 Jan 2015 23:38:35 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", Wed, 07 Jan 2015 23:38:35 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Wed, 07 Jan 2015 23:38:35 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 32], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::User Load (0.0ms)[0m 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]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_users" ("canvas_user_id", "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, 07 Jan 2015 23:38:35 UTC +00:00], ["name", "teacher@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::User Load (0.0ms)[0m 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]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_users" ("canvas_user_id", "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, 07 Jan 2015 23:38:35 UTC +00:00], ["name", "student1@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::User Load (0.0ms)[0m 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]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_users" ("canvas_user_id", "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, 07 Jan 2015 23:38:35 UTC +00:00], ["name", "student2@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Assignment Load (0.0ms)[0m SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "grade_group_students_individually", "name", "points_possible", "published", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 18:04:38 UTC +00:00], ["description", "What is your name?
"], ["grade_group_students_individually", false], ["name", "Gimme your name"], ["points_possible", 100.0], ["published", true], ["submission_types", "---\n- online_text_entry\n"], ["updated_at", Tue, 18 Nov 2014 18:04:42 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Assignment Load (0.0ms)[0m SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "grade_group_students_individually", "name", "points_possible", "published", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 19:10:28 UTC +00:00], ["description", "What is your Favorite Color?
"], ["grade_group_students_individually", false], ["name", "Favorite Color"], ["points_possible", 100.0], ["published", true], ["submission_types", "---\n- online_text_entry\n"], ["updated_at", Tue, 18 Nov 2014 19:10:30 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Submission Load (0.2ms)[0m SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '3') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36mCoalescingPanda::User Load (0.1ms)[0m [1mSELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1[0m [["coalescing_panda_lti_account_id", 1]] [1m[35mCoalescingPanda::Assignment Load (0.1ms)[0m SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "coalescing_panda_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, 07 Jan 2015 23:38:35 UTC +00:00], ["grade", "70"], ["score", 70], ["updated_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00], ["workflow_state", "graded"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Submission Load (0.1ms)[0m SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '1') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36mCoalescingPanda::User Load (0.0ms)[0m [1mSELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1[0m [["coalescing_panda_lti_account_id", 1]] [1m[35mCoalescingPanda::Assignment Load (0.0ms)[0m SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_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, 07 Jan 2015 23:38:35 UTC +00:00], ["grade", "100"], ["score", 100], ["updated_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00], ["workflow_state", "graded"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Submission Load (0.1ms)[0m SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '4') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36mCoalescingPanda::User Load (0.0ms)[0m [1mSELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1[0m [["coalescing_panda_lti_account_id", 1]] [1m[35mCoalescingPanda::Assignment Load (0.1ms)[0m SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_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, 07 Jan 2015 23:38:35 UTC +00:00], ["grade", "90"], ["score", 90], ["updated_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00], ["workflow_state", "graded"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Submission Load (0.3ms)[0m SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '2') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36mCoalescingPanda::User Load (0.0ms)[0m [1mSELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1[0m [["coalescing_panda_lti_account_id", 1]] [1m[35mCoalescingPanda::Assignment Load (0.0ms)[0m SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_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, 07 Jan 2015 23:38:35 UTC +00:00], ["grade", "80"], ["score", 80], ["updated_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00], ["workflow_state", "graded"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "coalescing_panda_submissions" [1m[36m (0.9ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.2ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 92' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 92' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:38:35 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", Wed, 07 Jan 2015 23:38:35 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 93' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 93' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "92"], ["created_at", Wed, 07 Jan 2015 23:38:35 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", Wed, 07 Jan 2015 23:38:35 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m 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", Wed, 07 Jan 2015 23:38:35 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 33], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.8ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 94' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 94' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "93"], ["created_at", Wed, 07 Jan 2015 23:38:35 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", Wed, 07 Jan 2015 23:38:35 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 95' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 95' LIMIT 1[0m [1m[35mSQL (0.6ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:38:35 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", Wed, 07 Jan 2015 23:38:35 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 39], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "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", Wed, 07 Jan 2015 23:38:35 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.9ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 96' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 96' LIMIT 1[0m [1m[35mSQL (0.7ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:38:35 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", Wed, 07 Jan 2015 23:38:35 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 97' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 97' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "96"], ["created_at", Wed, 07 Jan 2015 23:38:35 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", Wed, 07 Jan 2015 23:38:35 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Wed, 07 Jan 2015 23:38:35 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 35], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 98' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 98' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "97"], ["created_at", Wed, 07 Jan 2015 23:38:35 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", Wed, 07 Jan 2015 23:38:35 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 99' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 99' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:38:35 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", Wed, 07 Jan 2015 23:38:35 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 41], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Wed, 07 Jan 2015 23:38:35 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.8ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 100' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 100' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:38:35 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", Wed, 07 Jan 2015 23:38:35 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 101' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 101' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "100"], ["created_at", Wed, 07 Jan 2015 23:38:35 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", Wed, 07 Jan 2015 23:38:35 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Wed, 07 Jan 2015 23:38:35 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 37], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 102' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 102' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "101"], ["created_at", Wed, 07 Jan 2015 23:38:35 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", Wed, 07 Jan 2015 23:38:35 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 103' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 103' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:38:35 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", Wed, 07 Jan 2015 23:38:35 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 43], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Wed, 07 Jan 2015 23:38:35 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.9ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 104' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 104' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:38:35 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", Wed, 07 Jan 2015 23:38:35 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 105' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 105' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "104"], ["created_at", Wed, 07 Jan 2015 23:38:35 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", Wed, 07 Jan 2015 23:38:35 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Wed, 07 Jan 2015 23:38:35 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 39], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.9ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 106' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 106' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "105"], ["created_at", Wed, 07 Jan 2015 23:38:35 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", Wed, 07 Jan 2015 23:38:35 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 107' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 107' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:38:35 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", Wed, 07 Jan 2015 23:38:35 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 45], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "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", Wed, 07 Jan 2015 23:38:35 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.8ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 108' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 108' LIMIT 1[0m [1m[35mSQL (0.6ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:38:35 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", Wed, 07 Jan 2015 23:38:35 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 109' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 109' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "108"], ["created_at", Wed, 07 Jan 2015 23:38:35 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", Wed, 07 Jan 2015 23:38:35 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Wed, 07 Jan 2015 23:38:35 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 41], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.8ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 110' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 110' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "109"], ["created_at", Wed, 07 Jan 2015 23:38:35 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", Wed, 07 Jan 2015 23:38:35 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 111' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 111' LIMIT 1[0m [1m[35mSQL (0.8ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:38:35 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", Wed, 07 Jan 2015 23:38:35 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 47], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Wed, 07 Jan 2015 23:38:35 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_section_id", 9], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 112' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 112' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:38:35 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", Wed, 07 Jan 2015 23:38:35 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 113' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 113' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "112"], ["created_at", Wed, 07 Jan 2015 23:38:35 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", Wed, 07 Jan 2015 23:38:35 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Wed, 07 Jan 2015 23:38:35 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 43], ["coalescing_panda_lti_account_id", 3], ["coalescing_panda_term_id", 2], ["created_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Course Load (0.2ms)[0m SELECT "coalescing_panda_courses".* FROM "coalescing_panda_courses" WHERE "coalescing_panda_courses"."id" = ? LIMIT 1 [["id", 2]] [1m[36mSQL (0.2ms)[0m [1mUPDATE "coalescing_panda_sections" SET "coalescing_panda_course_id" = ?, "updated_at" = ? WHERE "coalescing_panda_sections"."id" = 1[0m [["coalescing_panda_course_id", 2], ["updated_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 15], ["coalescing_panda_lti_account_id", 3], ["created_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00], ["email", "test18@test.com"], ["name", "Factory User 18"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::User Load (0.1ms)[0m [1mSELECT "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[0m [["coalescing_panda_lti_account_id", 3]] [1m[35mCoalescingPanda::Section Load (0.1ms)[0m 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]] [1m[36m (1.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 114' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 114' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:38:35 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", Wed, 07 Jan 2015 23:38:35 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 115' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 115' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "114"], ["created_at", Wed, 07 Jan 2015 23:38:35 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", Wed, 07 Jan 2015 23:38:35 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Wed, 07 Jan 2015 23:38:35 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 44], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 116' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 116' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "115"], ["created_at", Wed, 07 Jan 2015 23:38:35 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", Wed, 07 Jan 2015 23:38:35 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 117' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 117' LIMIT 1[0m [1m[35mSQL (0.8ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:38:35 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", Wed, 07 Jan 2015 23:38:35 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 50], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Wed, 07 Jan 2015 23:38:35 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_assignment_id", "9"], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00], ["name", "test assignment"], ["submission_types", nil], ["updated_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 16], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00], ["email", "test19@test.com"], ["name", "Factory User 19"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:38:35 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::User Load (0.1ms)[0m [1mSELECT "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[0m [["coalescing_panda_lti_account_id", 1]] [1m[35mCoalescingPanda::Assignment Load (0.1ms)[0m 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]] [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m [1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations" [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m Processing by CoalescingPanda::LtiController#lti_config as HTML Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m Processing by CoalescingPanda::LtiController#lti_config as HTML Completed 500 Internal Server Error in 0ms [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m Processing by CoalescingPanda::Oauth2Controller#redirect as HTML Parameters: {"user_id"=>"1", "api_domain"=>"foo.com", "code"=>"bar"} Completed 200 OK in 5ms (Views: 5.1ms | ActiveRecord: 0.0ms) [1m[35mCoalescingPanda::CanvasApiAuth Load (0.1ms)[0m 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 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction Processing by CoalescingPanda::Oauth2Controller#redirect as HTML Parameters: {"error"=>"your face"} Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "coalescing_panda_canvas_api_auths"[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 1' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 1' LIMIT 1 [1m[36mSQL (2.3ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "1"], ["created_at", Wed, 07 Jan 2015 23:39:58 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, 07 Jan 2015 23:39:58 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 2' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 2' LIMIT 1[0m [1m[35mSQL (1.2ms)[0m INSERT INTO "coalescing_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, 07 Jan 2015 23:39:58 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, 07 Jan 2015 23:39:58 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 1], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:39:58 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:39:58 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "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", Wed, 07 Jan 2015 23:39:58 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:39:58 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (1.6ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 3' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 3' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "3"], ["created_at", Wed, 07 Jan 2015 23:39:58 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, 07 Jan 2015 23:39:58 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 4' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 4' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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, 07 Jan 2015 23:39:58 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, 07 Jan 2015 23:39:58 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 2], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:39:58 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:39:58 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Wed, 07 Jan 2015 23:39:58 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:39:58 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 5' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 5' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "5"], ["created_at", Wed, 07 Jan 2015 23:39:58 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, 07 Jan 2015 23:39:58 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 6' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 6' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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, 07 Jan 2015 23:39:58 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, 07 Jan 2015 23:39:58 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 3], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:39:58 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:39:58 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Wed, 07 Jan 2015 23:39:58 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:39:58 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_assignment_id", "1"], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:39:58 UTC +00:00], ["name", "test assignment"], ["submission_types", nil], ["updated_at", Wed, 07 Jan 2015 23:39:58 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_assignment_id", "1"], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:39:58 UTC +00:00], ["name", "test assignment"], ["submission_types", nil], ["updated_at", Wed, 07 Jan 2015 23:39:58 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", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m [1m[35m (1.0ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 7' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 7' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "7"], ["created_at", Wed, 07 Jan 2015 23:39:58 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, 07 Jan 2015 23:39:58 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 8' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 8' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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, 07 Jan 2015 23:39:58 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, 07 Jan 2015 23:39:58 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 4], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:39:58 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:39:58 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "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", Wed, 07 Jan 2015 23:39:58 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:39:58 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.9ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mCoalescingPanda::CanvasApiAuth Load (0.2ms)[0m SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" ORDER BY "coalescing_panda_canvas_api_auths"."id" ASC LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.6ms)[0m INSERT INTO "coalescing_panda_canvas_api_auths" ("created_at", "updated_at", "user_id") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:39:58 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:39:58 UTC +00:00], ["user_id", "a"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::CanvasApiAuth Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1 [1m[36mCoalescingPanda::CanvasApiAuth Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1[0m [1m[35mCoalescingPanda::CanvasApiAuth Load (0.1ms)[0m SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" [1m[36mCoalescingPanda::CanvasApiAuth Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" = '1') LIMIT 1[0m [1m[35mCoalescingPanda::CanvasApiAuth Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" = '1') LIMIT 1 [1m[36m (0.5ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mCoalescingPanda::CanvasApiAuth Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1[0m [1m[35mCoalescingPanda::CanvasApiAuth Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1 [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mCoalescingPanda::CanvasApiAuth Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1[0m [1m[35mCoalescingPanda::CanvasApiAuth Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1 [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.6ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:39:58 UTC +00:00], ["status", "Pending"], ["updated_at", Wed, 07 Jan 2015 23:39:58 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Wed, 07 Jan 2015 23:39:58 UTC +00:00], ["status", "Pending"], ["updated_at", Wed, 07 Jan 2015 23:39:58 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:39:58 UTC +00:00], ["status", "Pending"], ["updated_at", Wed, 07 Jan 2015 23:39:58 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::CanvasBatch Load (0.1ms)[0m SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" ORDER BY created_at DESC [1m[36m (0.8ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 9' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 9' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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, 07 Jan 2015 23:39:59 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, 07 Jan 2015 23:39:59 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 10' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 10' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "10"], ["created_at", Wed, 07 Jan 2015 23:39:59 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, 07 Jan 2015 23:39:59 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Wed, 07 Jan 2015 23:39:59 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.8ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 11' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 11' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "11"], ["created_at", Wed, 07 Jan 2015 23:39:59 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, 07 Jan 2015 23:39:59 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 12' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 12' LIMIT 1[0m [1m[35mSQL (0.6ms)[0m INSERT INTO "coalescing_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, 07 Jan 2015 23:39:59 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, 07 Jan 2015 23:39:59 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 6], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.6ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 13' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 13' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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, 07 Jan 2015 23:39:59 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, 07 Jan 2015 23:39:59 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 14' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 14' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "14"], ["created_at", Wed, 07 Jan 2015 23:39:59 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, 07 Jan 2015 23:39:59 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Wed, 07 Jan 2015 23:39:59 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 15' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 15' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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, 07 Jan 2015 23:39:59 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, 07 Jan 2015 23:39:59 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 8], ["coalescing_panda_lti_account_id", 3], ["created_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "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", Wed, 07 Jan 2015 23:39:59 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:39:59 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 (?, ?, ?, ?, ?, ?) [1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m [1m[35m (0.8ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 16' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 16' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "16"], ["created_at", Wed, 07 Jan 2015 23:39:59 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, 07 Jan 2015 23:39:59 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.5ms)[0m 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", Wed, 07 Jan 2015 23:39:59 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 17' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 17' LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "17"], ["created_at", Wed, 07 Jan 2015 23:39:59 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, 07 Jan 2015 23:39:59 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Wed, 07 Jan 2015 23:39:59 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 18' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 18' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "18"], ["created_at", Wed, 07 Jan 2015 23:39:59 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, 07 Jan 2015 23:39:59 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "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", Wed, 07 Jan 2015 23:39:59 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:39:59 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 (?, ?, ?, ?, ?, ?) [1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m [1m[35m (0.6ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 19' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 19' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "19"], ["created_at", Wed, 07 Jan 2015 23:39:59 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, 07 Jan 2015 23:39:59 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 20' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 20' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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, 07 Jan 2015 23:39:59 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, 07 Jan 2015 23:39:59 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 10], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.5ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 21' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 21' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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, 07 Jan 2015 23:39:59 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, 07 Jan 2015 23:39:59 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00], ["email", "test1@test.com"], ["name", "Factory User 1"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 22' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 22' LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "coalescing_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, 07 Jan 2015 23:39:59 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, 07 Jan 2015 23:39:59 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 23' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 23' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "23"], ["created_at", Wed, 07 Jan 2015 23:39:59 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, 07 Jan 2015 23:39:59 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m 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", Wed, 07 Jan 2015 23:39:59 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 7], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.4ms)[0m 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", Wed, 07 Jan 2015 23:39:59 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (1.0ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 24' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 24' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "24"], ["created_at", Wed, 07 Jan 2015 23:39:59 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, 07 Jan 2015 23:39:59 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.6ms)[0m 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, 07 Jan 2015 23:39:59 UTC +00:00], ["email", "test2@test.com"], ["name", "Factory User 2"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 25' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 25' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "25"], ["created_at", Wed, 07 Jan 2015 23:39:59 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, 07 Jan 2015 23:39:59 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 26' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 26' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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, 07 Jan 2015 23:39:59 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, 07 Jan 2015 23:39:59 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 12], ["coalescing_panda_lti_account_id", 3], ["created_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "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", Wed, 07 Jan 2015 23:39:59 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_section_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (1.0ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 27' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 27' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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, 07 Jan 2015 23:39:59 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, 07 Jan 2015 23:39:59 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00], ["email", "test3@test.com"], ["name", "Factory User 3"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 28' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 28' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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, 07 Jan 2015 23:39:59 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, 07 Jan 2015 23:39:59 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 29' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 29' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "29"], ["created_at", Wed, 07 Jan 2015 23:39:59 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, 07 Jan 2015 23:39:59 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Wed, 07 Jan 2015 23:39:59 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 9], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Wed, 07 Jan 2015 23:39:59 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.8ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 30' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 30' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "30"], ["created_at", Wed, 07 Jan 2015 23:39:59 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, 07 Jan 2015 23:39:59 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.5ms)[0m 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, 07 Jan 2015 23:39:59 UTC +00:00], ["email", "test4@test.com"], ["name", "Factory User 4"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 31' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 31' LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "31"], ["created_at", Wed, 07 Jan 2015 23:39:59 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, 07 Jan 2015 23:39:59 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 32' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 32' LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "coalescing_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, 07 Jan 2015 23:39:59 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, 07 Jan 2015 23:39:59 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 14], ["coalescing_panda_lti_account_id", 3], ["created_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "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", Wed, 07 Jan 2015 23:39:59 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_section_id", 4], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m 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", Wed, 07 Jan 2015 23:39:59 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_enrollment_id", 4], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Wed, 07 Jan 2015 23:39:59 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 (?, ?, ?, ?, ?, ?) [1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1 [1m[36m (0.8ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 33' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 33' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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, 07 Jan 2015 23:39:59 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, 07 Jan 2015 23:39:59 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 5], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00], ["email", "test5@test.com"], ["name", "Factory User 5"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 34' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 34' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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, 07 Jan 2015 23:39:59 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, 07 Jan 2015 23:39:59 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 35' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 35' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "35"], ["created_at", Wed, 07 Jan 2015 23:39:59 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, 07 Jan 2015 23:39:59 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m 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", Wed, 07 Jan 2015 23:39:59 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 11], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Wed, 07 Jan 2015 23:39:59 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_enrollment_id", 5], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Wed, 07 Jan 2015 23:39:59 UTC +00:00], ["enrollment_type", "TeacherEnrollment"], ["updated_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.9ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 36' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 36' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "36"], ["created_at", Wed, 07 Jan 2015 23:39:59 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, 07 Jan 2015 23:39:59 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.5ms)[0m 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, 07 Jan 2015 23:39:59 UTC +00:00], ["email", "test6@test.com"], ["name", "Factory User 6"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 37' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 37' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "37"], ["created_at", Wed, 07 Jan 2015 23:39:59 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, 07 Jan 2015 23:39:59 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 38' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 38' LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "coalescing_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, 07 Jan 2015 23:39:59 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, 07 Jan 2015 23:39:59 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 16], ["coalescing_panda_lti_account_id", 3], ["created_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "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", Wed, 07 Jan 2015 23:39:59 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_section_id", 6], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (1.0ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 39' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 39' LIMIT 1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 40' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 40' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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, 07 Jan 2015 23:39:59 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, 07 Jan 2015 23:39:59 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 41' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 41' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "40"], ["created_at", Wed, 07 Jan 2015 23:39:59 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, 07 Jan 2015 23:39:59 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Wed, 07 Jan 2015 23:39:59 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 13], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.9ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 42' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 42' LIMIT 1[0m [1m[35mSQL (0.7ms)[0m INSERT INTO "coalescing_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, 07 Jan 2015 23:39:59 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, 07 Jan 2015 23:39:59 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 43' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 43' LIMIT 1 [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "42"], ["created_at", Wed, 07 Jan 2015 23:39:59 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, 07 Jan 2015 23:39:59 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m 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", Wed, 07 Jan 2015 23:39:59 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 14], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (1.0ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 44' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 44' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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, 07 Jan 2015 23:39:59 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, 07 Jan 2015 23:39:59 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 45' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 45' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "44"], ["created_at", Wed, 07 Jan 2015 23:39:59 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, 07 Jan 2015 23:39:59 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Wed, 07 Jan 2015 23:39:59 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 15], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m 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", Wed, 07 Jan 2015 23:39:59 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_section_id", "1"], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:39:59 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 (?, ?, ?, ?) [1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1 [1m[36m (0.9ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.2ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 46' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 46' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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, 07 Jan 2015 23:39:59 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, 07 Jan 2015 23:39:59 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 47' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 47' LIMIT 1 [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "46"], ["created_at", Wed, 07 Jan 2015 23:39:59 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, 07 Jan 2015 23:39:59 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m 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", Wed, 07 Jan 2015 23:39:59 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 16], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.6ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 48' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 48' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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, 07 Jan 2015 23:39:59 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, 07 Jan 2015 23:39:59 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 7], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00], ["email", "test7@test.com"], ["name", "Factory User 7"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 49' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 49' LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "coalescing_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, 07 Jan 2015 23:39:59 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, 07 Jan 2015 23:39:59 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 50' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 50' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "49"], ["created_at", Wed, 07 Jan 2015 23:39:59 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, 07 Jan 2015 23:39:59 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Wed, 07 Jan 2015 23:39:59 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 17], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_assignment_id", "3"], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00], ["name", "test assignment"], ["submission_types", nil], ["updated_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (1.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 51' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 51' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "50"], ["created_at", Wed, 07 Jan 2015 23:39:59 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, 07 Jan 2015 23:39:59 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.6ms)[0m 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, 07 Jan 2015 23:39:59 UTC +00:00], ["email", "test8@test.com"], ["name", "Factory User 8"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 52' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 52' LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "51"], ["created_at", Wed, 07 Jan 2015 23:39:59 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, 07 Jan 2015 23:39:59 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 53' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 53' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:39:59 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", Wed, 07 Jan 2015 23:39:59 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 22], ["coalescing_panda_lti_account_id", 3], ["created_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Wed, 07 Jan 2015 23:39:59 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_assignment_id", "4"], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00], ["name", "test assignment"], ["submission_types", nil], ["updated_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.9ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.2ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 54' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 54' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:39:59 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", Wed, 07 Jan 2015 23:39:59 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 9], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00], ["email", "test9@test.com"], ["name", "Factory User 9"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 55' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 55' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:39:59 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", Wed, 07 Jan 2015 23:39:59 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 56' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 56' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "55"], ["created_at", Wed, 07 Jan 2015 23:39:59 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", Wed, 07 Jan 2015 23:39:59 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Wed, 07 Jan 2015 23:39:59 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 19], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_assignment_id", "5"], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00], ["name", "test assignment"], ["submission_types", nil], ["updated_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.8ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 57' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 57' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "56"], ["created_at", Wed, 07 Jan 2015 23:39:59 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", Wed, 07 Jan 2015 23:39:59 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.5ms)[0m 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, 07 Jan 2015 23:39:59 UTC +00:00], ["email", "test10@test.com"], ["name", "Factory User 10"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 58' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 58' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "57"], ["created_at", Wed, 07 Jan 2015 23:39:59 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", Wed, 07 Jan 2015 23:39:59 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 59' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 59' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:39:59 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", Wed, 07 Jan 2015 23:39:59 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 24], ["coalescing_panda_lti_account_id", 3], ["created_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Wed, 07 Jan 2015 23:39:59 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_assignment_id", "6"], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00], ["name", "test assignment"], ["submission_types", nil], ["updated_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m 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", Wed, 07 Jan 2015 23:39:59 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["canvas_submission_id", "1"], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:39:59 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 (?, ?, ?, ?, ?) [1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1 [1m[36m (0.8ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 60' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 60' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:39:59 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", Wed, 07 Jan 2015 23:39:59 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.7ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 11], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00], ["email", "test11@test.com"], ["name", "Factory User 11"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 61' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 61' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:39:59 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", Wed, 07 Jan 2015 23:39:59 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 62' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 62' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "61"], ["created_at", Wed, 07 Jan 2015 23:39:59 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", Wed, 07 Jan 2015 23:39:59 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Wed, 07 Jan 2015 23:39:59 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 21], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_assignment_id", "7"], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00], ["name", "test assignment"], ["submission_types", nil], ["updated_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["canvas_submission_id", "1"], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Wed, 07 Jan 2015 23:39:59 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 63' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 63' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "62"], ["created_at", Wed, 07 Jan 2015 23:39:59 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", Wed, 07 Jan 2015 23:39:59 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.5ms)[0m 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, 07 Jan 2015 23:39:59 UTC +00:00], ["email", "test12@test.com"], ["name", "Factory User 12"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 64' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 64' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "63"], ["created_at", Wed, 07 Jan 2015 23:39:59 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", Wed, 07 Jan 2015 23:39:59 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 65' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 65' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:39:59 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", Wed, 07 Jan 2015 23:39:59 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 26], ["coalescing_panda_lti_account_id", 3], ["created_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Wed, 07 Jan 2015 23:39:59 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_assignment_id", "8"], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00], ["name", "test assignment"], ["submission_types", nil], ["updated_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.8ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 66' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 66' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:39:59 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", Wed, 07 Jan 2015 23:39:59 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.4ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 67' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 67' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "66"], ["created_at", Wed, 07 Jan 2015 23:39:59 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", Wed, 07 Jan 2015 23:39:59 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.5ms)[0m 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", Wed, 07 Jan 2015 23:39:59 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:39:59 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 (?, ?, ?, ?) [1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1 [1m[36m (0.6ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 68' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 68' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:39:59 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", Wed, 07 Jan 2015 23:39:59 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.3ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 69' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 69' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "68"], ["created_at", Wed, 07 Jan 2015 23:39:59 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", Wed, 07 Jan 2015 23:39:59 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.3ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 70' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 70' LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:39:59 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", Wed, 07 Jan 2015 23:39:59 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00], ["email", "test15@test.com"], ["name", "Factory User 15"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m 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, 07 Jan 2015 23:39:59 UTC +00:00], ["email", "test16@test.com"], ["name", "Factory User 16"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:39:59 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 (?, ?, ?, ?, ?, ?, ?) [1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m [1m[35m (0.4ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 71' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 71' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "70"], ["created_at", Wed, 07 Jan 2015 23:39:59 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", Wed, 07 Jan 2015 23:39:59 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.3ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 72' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 72' LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:39:59 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", Wed, 07 Jan 2015 23:39:59 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 73' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 73' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "72"], ["created_at", Wed, 07 Jan 2015 23:39:59 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", Wed, 07 Jan 2015 23:39:59 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m 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", Wed, 07 Jan 2015 23:39:59 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 23], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::CanvasBatch Load (0.1ms)[0m SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" ORDER BY created_at ASC LIMIT 1 [1m[36m (0.8ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 74' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 74' LIMIT 1[0m [1m[35mSQL (0.7ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:39:59 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", Wed, 07 Jan 2015 23:39:59 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 75' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 75' LIMIT 1 [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "74"], ["created_at", Wed, 07 Jan 2015 23:39:59 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", Wed, 07 Jan 2015 23:39:59 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m 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", Wed, 07 Jan 2015 23:39:59 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 24], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 76' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 76' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "75"], ["created_at", Wed, 07 Jan 2015 23:39:59 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", Wed, 07 Jan 2015 23:39:59 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 77' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 77' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:39:59 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", Wed, 07 Jan 2015 23:39:59 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 30], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Wed, 07 Jan 2015 23:39:59 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m UPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["status", "Started"], ["updated_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Section Load (0.2ms)[0m SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "coalescing_panda_sections" ("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, 07 Jan 2015 23:39:59 UTC +00:00], ["name", "Course1"], ["updated_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mUPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1[0m [["percent_complete", 20.0], ["updated_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::User Load (0.1ms)[0m [1mSELECT "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[0m [["coalescing_panda_lti_account_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00], ["name", "teacher@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::User Load (0.1ms)[0m [1mSELECT "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[0m [["coalescing_panda_lti_account_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00], ["name", "student1@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::User Load (0.1ms)[0m [1mSELECT "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[0m [["coalescing_panda_lti_account_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00], ["name", "student2@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 40.0], ["updated_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Enrollment Load (0.1ms)[0m SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '1') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36mCoalescingPanda::User Load (0.1ms)[0m [1mSELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '1' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1[0m [["coalescing_panda_lti_account_id", 1]] [1m[35mCoalescingPanda::Section Load (0.1ms)[0m SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "coalescing_panda_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"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Enrollment Load (0.1ms)[0m SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '2') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36mCoalescingPanda::User Load (0.1ms)[0m [1mSELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1[0m [["coalescing_panda_lti_account_id", 1]] [1m[35mCoalescingPanda::Section Load (0.0ms)[0m SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_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"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Enrollment Load (0.1ms)[0m SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '3') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36mCoalescingPanda::User Load (0.1ms)[0m [1mSELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1[0m [["coalescing_panda_lti_account_id", 1]] [1m[35mCoalescingPanda::Section Load (0.0ms)[0m SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_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"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mUPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1[0m [["percent_complete", 60.0], ["updated_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::Assignment Load (0.1ms)[0m [1mSELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "grade_group_students_individually", "name", "points_possible", "published", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_assignment_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 18:04:38 UTC +00:00], ["description", "What is your name?
"], ["grade_group_students_individually", false], ["name", "Gimme your name"], ["points_possible", 100.0], ["published", true], ["submission_types", "---\n- online_text_entry\n"], ["updated_at", Tue, 18 Nov 2014 18:04:42 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::Assignment Load (0.1ms)[0m [1mSELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "grade_group_students_individually", "name", "points_possible", "published", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_assignment_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 19:10:28 UTC +00:00], ["description", "What is your Favorite Color?
"], ["grade_group_students_individually", false], ["name", "Favorite Color"], ["points_possible", 100.0], ["published", true], ["submission_types", "---\n- online_text_entry\n"], ["updated_at", Tue, 18 Nov 2014 19:10:30 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 80.0], ["updated_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Assignment Load (0.1ms)[0m SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? [["coalescing_panda_course_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 100.0], ["updated_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mUPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1[0m [["percent_complete", 120.0], ["updated_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 140.0], ["updated_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mUPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1[0m [["status", "Completed"], ["percent_complete", 100.0], ["updated_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (1.4ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 78' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 78' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:39:59 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", Wed, 07 Jan 2015 23:39:59 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 79' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 79' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "78"], ["created_at", Wed, 07 Jan 2015 23:39:59 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", Wed, 07 Jan 2015 23:39:59 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Wed, 07 Jan 2015 23:39:59 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 26], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.9ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 80' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 80' LIMIT 1 [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "79"], ["created_at", Wed, 07 Jan 2015 23:39:59 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", Wed, 07 Jan 2015 23:39:59 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 81' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 81' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:39:59 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", Wed, 07 Jan 2015 23:39:59 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 32], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "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", Wed, 07 Jan 2015 23:39:59 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (1.0ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mCoalescingPanda::Section Load (0.2ms)[0m [1mSELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections"[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 82' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 82' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "81"], ["created_at", Wed, 07 Jan 2015 23:39:59 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", Wed, 07 Jan 2015 23:39:59 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 83' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 83' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:39:59 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", Wed, 07 Jan 2015 23:39:59 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 33], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Wed, 07 Jan 2015 23:39:59 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::Section Load (0.0ms)[0m [1mSELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00], ["name", "Course1"], ["updated_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "coalescing_panda_sections"[0m [1m[35m (0.8ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mCoalescingPanda::User Load (0.1ms)[0m SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 84' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 84' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:39:59 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", Wed, 07 Jan 2015 23:39:59 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 85' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 85' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "84"], ["created_at", Wed, 07 Jan 2015 23:39:59 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", Wed, 07 Jan 2015 23:39:59 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Wed, 07 Jan 2015 23:39:59 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 29], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::User Load (0.0ms)[0m 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]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_users" ("canvas_user_id", "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, 07 Jan 2015 23:39:59 UTC +00:00], ["name", "teacher@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::User Load (0.1ms)[0m 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]] [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "coalescing_panda_users" ("canvas_user_id", "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, 07 Jan 2015 23:39:59 UTC +00:00], ["name", "student1@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::User Load (0.0ms)[0m 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]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_users" ("canvas_user_id", "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, 07 Jan 2015 23:39:59 UTC +00:00], ["name", "student2@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "coalescing_panda_users" [1m[36m (1.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mCoalescingPanda::Enrollment Load (0.2ms)[0m [1mSELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments"[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 86' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 86' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "85"], ["created_at", Wed, 07 Jan 2015 23:39:59 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", Wed, 07 Jan 2015 23:39:59 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 87' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 87' LIMIT 1[0m [1m[35mSQL (0.6ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:39:59 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", Wed, 07 Jan 2015 23:39:59 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 35], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Wed, 07 Jan 2015 23:39:59 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::Section Load (0.0ms)[0m [1mSELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00], ["name", "Course1"], ["updated_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::User Load (0.0ms)[0m [1mSELECT "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[0m [["coalescing_panda_lti_account_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00], ["name", "teacher@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::User Load (0.0ms)[0m [1mSELECT "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[0m [["coalescing_panda_lti_account_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00], ["name", "student1@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::User Load (0.0ms)[0m [1mSELECT "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[0m [["coalescing_panda_lti_account_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00], ["name", "student2@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::Enrollment Load (0.1ms)[0m [1mSELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '1') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35mCoalescingPanda::User Load (0.1ms)[0m SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '1' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] [1m[36mCoalescingPanda::Section Load (0.1ms)[0m [1mSELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["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"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::Enrollment Load (0.2ms)[0m [1mSELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '2') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35mCoalescingPanda::User Load (0.1ms)[0m SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] [1m[36mCoalescingPanda::Section Load (0.1ms)[0m [1mSELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["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"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::Enrollment Load (0.0ms)[0m [1mSELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '3') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35mCoalescingPanda::User Load (0.0ms)[0m SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] [1m[36mCoalescingPanda::Section Load (0.0ms)[0m [1mSELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["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"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "coalescing_panda_enrollments"[0m [1m[35mCoalescingPanda::Enrollment Load (0.1ms)[0m SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" ORDER BY "coalescing_panda_enrollments"."id" DESC LIMIT 1 [1m[36m (0.9ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mCoalescingPanda::Assignment Load (0.1ms)[0m [1mSELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments"[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 88' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 88' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "87"], ["created_at", Wed, 07 Jan 2015 23:39:59 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", Wed, 07 Jan 2015 23:39:59 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 89' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 89' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:39:59 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", Wed, 07 Jan 2015 23:39:59 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 36], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "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", Wed, 07 Jan 2015 23:39:59 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::Assignment Load (0.0ms)[0m [1mSELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "grade_group_students_individually", "name", "points_possible", "published", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_assignment_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 18:04:38 UTC +00:00], ["description", "What is your name?
"], ["grade_group_students_individually", false], ["name", "Gimme your name"], ["points_possible", 100.0], ["published", true], ["submission_types", "---\n- online_text_entry\n"], ["updated_at", Tue, 18 Nov 2014 18:04:42 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::Assignment Load (0.0ms)[0m [1mSELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "grade_group_students_individually", "name", "points_possible", "published", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_assignment_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 19:10:28 UTC +00:00], ["description", "What is your Favorite Color?
"], ["grade_group_students_individually", false], ["name", "Favorite Color"], ["points_possible", 100.0], ["published", true], ["submission_types", "---\n- online_text_entry\n"], ["updated_at", Tue, 18 Nov 2014 19:10:30 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "coalescing_panda_assignments"[0m [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mCoalescingPanda::Submission Load (0.1ms)[0m SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 90' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 90' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:39:59 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", Wed, 07 Jan 2015 23:39:59 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 91' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 91' LIMIT 1 [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "90"], ["created_at", Wed, 07 Jan 2015 23:39:59 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", Wed, 07 Jan 2015 23:39:59 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Wed, 07 Jan 2015 23:39:59 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 32], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::User Load (0.0ms)[0m 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]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_users" ("canvas_user_id", "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, 07 Jan 2015 23:39:59 UTC +00:00], ["name", "teacher@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::User Load (0.0ms)[0m 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]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_users" ("canvas_user_id", "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, 07 Jan 2015 23:39:59 UTC +00:00], ["name", "student1@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::User Load (0.0ms)[0m 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]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_users" ("canvas_user_id", "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, 07 Jan 2015 23:39:59 UTC +00:00], ["name", "student2@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Assignment Load (0.0ms)[0m SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "grade_group_students_individually", "name", "points_possible", "published", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 18:04:38 UTC +00:00], ["description", "What is your name?
"], ["grade_group_students_individually", false], ["name", "Gimme your name"], ["points_possible", 100.0], ["published", true], ["submission_types", "---\n- online_text_entry\n"], ["updated_at", Tue, 18 Nov 2014 18:04:42 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Assignment Load (0.0ms)[0m SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "grade_group_students_individually", "name", "points_possible", "published", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 19:10:28 UTC +00:00], ["description", "What is your Favorite Color?
"], ["grade_group_students_individually", false], ["name", "Favorite Color"], ["points_possible", 100.0], ["published", true], ["submission_types", "---\n- online_text_entry\n"], ["updated_at", Tue, 18 Nov 2014 19:10:30 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Submission Load (0.2ms)[0m SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '3') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36mCoalescingPanda::User Load (0.0ms)[0m [1mSELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1[0m [["coalescing_panda_lti_account_id", 1]] [1m[35mCoalescingPanda::Assignment Load (0.1ms)[0m SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "coalescing_panda_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, 07 Jan 2015 23:39:59 UTC +00:00], ["grade", "70"], ["score", 70], ["updated_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00], ["workflow_state", "graded"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Submission Load (0.1ms)[0m SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '1') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36mCoalescingPanda::User Load (0.0ms)[0m [1mSELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1[0m [["coalescing_panda_lti_account_id", 1]] [1m[35mCoalescingPanda::Assignment Load (0.0ms)[0m SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_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, 07 Jan 2015 23:39:59 UTC +00:00], ["grade", "100"], ["score", 100], ["updated_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00], ["workflow_state", "graded"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Submission Load (0.1ms)[0m SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '4') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36mCoalescingPanda::User Load (0.0ms)[0m [1mSELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1[0m [["coalescing_panda_lti_account_id", 1]] [1m[35mCoalescingPanda::Assignment Load (0.1ms)[0m SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_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, 07 Jan 2015 23:39:59 UTC +00:00], ["grade", "90"], ["score", 90], ["updated_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00], ["workflow_state", "graded"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Submission Load (0.1ms)[0m SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '2') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36mCoalescingPanda::User Load (0.0ms)[0m [1mSELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1[0m [["coalescing_panda_lti_account_id", 1]] [1m[35mCoalescingPanda::Assignment Load (0.0ms)[0m SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_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, 07 Jan 2015 23:39:59 UTC +00:00], ["grade", "80"], ["score", 80], ["updated_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00], ["workflow_state", "graded"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "coalescing_panda_submissions" [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 92' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 92' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:39:59 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", Wed, 07 Jan 2015 23:39:59 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 93' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 93' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "92"], ["created_at", Wed, 07 Jan 2015 23:39:59 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", Wed, 07 Jan 2015 23:39:59 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Wed, 07 Jan 2015 23:39:59 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 33], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.6ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 94' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 94' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "93"], ["created_at", Wed, 07 Jan 2015 23:39:59 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", Wed, 07 Jan 2015 23:39:59 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 95' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 95' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:39:59 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", Wed, 07 Jan 2015 23:39:59 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 39], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "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", Wed, 07 Jan 2015 23:39:59 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 96' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 96' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:39:59 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", Wed, 07 Jan 2015 23:39:59 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 97' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 97' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "96"], ["created_at", Wed, 07 Jan 2015 23:39:59 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", Wed, 07 Jan 2015 23:39:59 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Wed, 07 Jan 2015 23:39:59 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 35], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.6ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 98' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 98' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "97"], ["created_at", Wed, 07 Jan 2015 23:39:59 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", Wed, 07 Jan 2015 23:39:59 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 99' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 99' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:39:59 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", Wed, 07 Jan 2015 23:39:59 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 41], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Wed, 07 Jan 2015 23:39:59 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.6ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 100' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 100' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:39:59 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", Wed, 07 Jan 2015 23:39:59 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 101' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 101' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "100"], ["created_at", Wed, 07 Jan 2015 23:39:59 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", Wed, 07 Jan 2015 23:39:59 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Wed, 07 Jan 2015 23:39:59 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 37], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 102' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 102' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "101"], ["created_at", Wed, 07 Jan 2015 23:39:59 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", Wed, 07 Jan 2015 23:39:59 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 103' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 103' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:39:59 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", Wed, 07 Jan 2015 23:39:59 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 43], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Wed, 07 Jan 2015 23:39:59 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.8ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 104' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 104' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:39:59 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", Wed, 07 Jan 2015 23:39:59 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 105' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 105' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "104"], ["created_at", Wed, 07 Jan 2015 23:39:59 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", Wed, 07 Jan 2015 23:39:59 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m 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", Wed, 07 Jan 2015 23:39:59 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 39], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.6ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 106' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 106' LIMIT 1 [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "105"], ["created_at", Wed, 07 Jan 2015 23:39:59 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", Wed, 07 Jan 2015 23:39:59 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 107' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 107' LIMIT 1[0m [1m[35mSQL (0.6ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:39:59 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", Wed, 07 Jan 2015 23:39:59 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 45], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Wed, 07 Jan 2015 23:39:59 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 108' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 108' LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:39:59 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", Wed, 07 Jan 2015 23:39:59 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 109' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 109' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "108"], ["created_at", Wed, 07 Jan 2015 23:39:59 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", Wed, 07 Jan 2015 23:39:59 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Wed, 07 Jan 2015 23:39:59 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 41], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.9ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 110' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 110' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "109"], ["created_at", Wed, 07 Jan 2015 23:39:59 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", Wed, 07 Jan 2015 23:39:59 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 111' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 111' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:39:59 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", Wed, 07 Jan 2015 23:39:59 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 47], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Wed, 07 Jan 2015 23:39:59 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_section_id", 9], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 112' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 112' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:39:59 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", Wed, 07 Jan 2015 23:39:59 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 113' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 113' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "112"], ["created_at", Wed, 07 Jan 2015 23:39:59 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", Wed, 07 Jan 2015 23:39:59 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Wed, 07 Jan 2015 23:39:59 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 43], ["coalescing_panda_lti_account_id", 3], ["coalescing_panda_term_id", 2], ["created_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Course Load (0.1ms)[0m SELECT "coalescing_panda_courses".* FROM "coalescing_panda_courses" WHERE "coalescing_panda_courses"."id" = ? LIMIT 1 [["id", 2]] [1m[36mSQL (0.2ms)[0m [1mUPDATE "coalescing_panda_sections" SET "coalescing_panda_course_id" = ?, "updated_at" = ? WHERE "coalescing_panda_sections"."id" = 1[0m [["coalescing_panda_course_id", 2], ["updated_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 15], ["coalescing_panda_lti_account_id", 3], ["created_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00], ["email", "test18@test.com"], ["name", "Factory User 18"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::User Load (0.1ms)[0m [1mSELECT "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[0m [["coalescing_panda_lti_account_id", 3]] [1m[35mCoalescingPanda::Section Load (0.1ms)[0m 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]] [1m[36m (1.0ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.2ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 114' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 114' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:39:59 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", Wed, 07 Jan 2015 23:39:59 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 115' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 115' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "114"], ["created_at", Wed, 07 Jan 2015 23:39:59 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", Wed, 07 Jan 2015 23:39:59 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Wed, 07 Jan 2015 23:39:59 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 44], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:39:59 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:40:00 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:40:00 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 116' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 116' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "115"], ["created_at", Wed, 07 Jan 2015 23:40:00 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", Wed, 07 Jan 2015 23:40:00 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 117' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 117' LIMIT 1[0m [1m[35mSQL (0.6ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:40:00 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", Wed, 07 Jan 2015 23:40:00 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 50], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:40:00 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:40:00 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "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", Wed, 07 Jan 2015 23:40:00 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:40:00 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_assignment_id", "9"], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:40:00 UTC +00:00], ["name", "test assignment"], ["submission_types", nil], ["updated_at", Wed, 07 Jan 2015 23:40:00 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:40:00 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:40:00 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 16], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 07 Jan 2015 23:40:00 UTC +00:00], ["email", "test19@test.com"], ["name", "Factory User 19"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:40:00 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::User Load (0.1ms)[0m [1mSELECT "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[0m [["coalescing_panda_lti_account_id", 1]] [1m[35mCoalescingPanda::Assignment Load (0.1ms)[0m 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]] [1m[36m (0.9ms)[0m [1mrollback transaction[0m [1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m [1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations" [1m[36m (0.2ms)[0m [1mbegin transaction[0m [1m[35m (0.2ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m Processing by CoalescingPanda::LtiController#lti_config as HTML Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m Processing by CoalescingPanda::LtiController#lti_config as HTML Completed 500 Internal Server Error in 1ms [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m Processing by CoalescingPanda::Oauth2Controller#redirect as HTML Parameters: {"user_id"=>"1", "api_domain"=>"foo.com", "code"=>"bar"} Completed 200 OK in 5ms (Views: 4.9ms | ActiveRecord: 0.0ms) [1m[35mCoalescingPanda::CanvasApiAuth Load (0.2ms)[0m 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 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction Processing by CoalescingPanda::Oauth2Controller#redirect as HTML Parameters: {"error"=>"your face"} Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "coalescing_panda_canvas_api_auths"[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 1' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 1' LIMIT 1 [1m[36mSQL (2.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "1"], ["created_at", Wed, 07 Jan 2015 23:40: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, 07 Jan 2015 23:40:38 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 2' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 2' LIMIT 1[0m [1m[35mSQL (1.0ms)[0m INSERT INTO "coalescing_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, 07 Jan 2015 23:40: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, 07 Jan 2015 23:40:38 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 1], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:40:38 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:40:38 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "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", Wed, 07 Jan 2015 23:40:38 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:40:38 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (1.3ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 3' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 3' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "3"], ["created_at", Wed, 07 Jan 2015 23:40: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, 07 Jan 2015 23:40:38 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 4' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 4' LIMIT 1[0m [1m[35mSQL (0.6ms)[0m INSERT INTO "coalescing_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, 07 Jan 2015 23:40: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, 07 Jan 2015 23:40:38 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 2], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:40:38 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:40:38 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Wed, 07 Jan 2015 23:40:38 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:40:38 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 5' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 5' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "5"], ["created_at", Wed, 07 Jan 2015 23:40: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, 07 Jan 2015 23:40:38 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 6' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 6' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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, 07 Jan 2015 23:40: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, 07 Jan 2015 23:40:38 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 3], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:40:38 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:40:38 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Wed, 07 Jan 2015 23:40:38 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:40:38 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_assignment_id", "1"], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:40:38 UTC +00:00], ["name", "test assignment"], ["submission_types", nil], ["updated_at", Wed, 07 Jan 2015 23:40:38 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_assignment_id", "1"], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:40:38 UTC +00:00], ["name", "test assignment"], ["submission_types", nil], ["updated_at", Wed, 07 Jan 2015 23:40:38 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", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m [1m[35m (0.6ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 7' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 7' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "7"], ["created_at", Wed, 07 Jan 2015 23:40: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, 07 Jan 2015 23:40:38 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 8' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 8' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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, 07 Jan 2015 23:40: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, 07 Jan 2015 23:40:38 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 4], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:40:38 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:40:38 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Wed, 07 Jan 2015 23:40:38 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:40:38 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.6ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mCoalescingPanda::CanvasApiAuth Load (0.2ms)[0m SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" ORDER BY "coalescing_panda_canvas_api_auths"."id" ASC LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_panda_canvas_api_auths" ("created_at", "updated_at", "user_id") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:40:38 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:40:38 UTC +00:00], ["user_id", "a"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::CanvasApiAuth Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1 [1m[36mCoalescingPanda::CanvasApiAuth Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1[0m [1m[35mCoalescingPanda::CanvasApiAuth Load (0.1ms)[0m SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" [1m[36mCoalescingPanda::CanvasApiAuth Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" = '1') LIMIT 1[0m [1m[35mCoalescingPanda::CanvasApiAuth Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" = '1') LIMIT 1 [1m[36m (0.4ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mCoalescingPanda::CanvasApiAuth Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1[0m [1m[35mCoalescingPanda::CanvasApiAuth Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mCoalescingPanda::CanvasApiAuth Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1[0m [1m[35mCoalescingPanda::CanvasApiAuth Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1 [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:40:38 UTC +00:00], ["status", "Pending"], ["updated_at", Wed, 07 Jan 2015 23:40:38 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Wed, 07 Jan 2015 23:40:38 UTC +00:00], ["status", "Pending"], ["updated_at", Wed, 07 Jan 2015 23:40:38 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:40:38 UTC +00:00], ["status", "Pending"], ["updated_at", Wed, 07 Jan 2015 23:40:38 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::CanvasBatch Load (0.1ms)[0m SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" ORDER BY created_at DESC [1m[36m (0.5ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.2ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 9' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 9' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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, 07 Jan 2015 23:40: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, 07 Jan 2015 23:40:38 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 10' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 10' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "10"], ["created_at", Wed, 07 Jan 2015 23:40: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, 07 Jan 2015 23:40:38 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Wed, 07 Jan 2015 23:40:38 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:40:38 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 11' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 11' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "11"], ["created_at", Wed, 07 Jan 2015 23:40: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, 07 Jan 2015 23:40:38 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 12' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 12' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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, 07 Jan 2015 23:40: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, 07 Jan 2015 23:40:38 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 6], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:40:38 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:40:38 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.9ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.2ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 13' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 13' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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, 07 Jan 2015 23:40: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, 07 Jan 2015 23:40:38 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 14' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 14' LIMIT 1 [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "14"], ["created_at", Wed, 07 Jan 2015 23:40: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, 07 Jan 2015 23:40:38 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m 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", Wed, 07 Jan 2015 23:40:38 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:40:38 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Wed, 07 Jan 2015 23:40:38 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:40:38 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 15' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 15' LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "coalescing_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, 07 Jan 2015 23:40: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, 07 Jan 2015 23:40:38 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 8], ["coalescing_panda_lti_account_id", 3], ["created_at", Wed, 07 Jan 2015 23:40:38 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:40:38 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "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", Wed, 07 Jan 2015 23:40:38 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:40:38 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 (?, ?, ?, ?, ?, ?) [1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m [1m[35m (0.8ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 16' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 16' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "16"], ["created_at", Wed, 07 Jan 2015 23:40: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, 07 Jan 2015 23:40:38 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.6ms)[0m 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", Wed, 07 Jan 2015 23:40:38 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:40:38 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 17' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 17' LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "17"], ["created_at", Wed, 07 Jan 2015 23:40: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, 07 Jan 2015 23:40:38 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "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", Wed, 07 Jan 2015 23:40:38 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:40:38 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 18' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 18' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "18"], ["created_at", Wed, 07 Jan 2015 23:40: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, 07 Jan 2015 23:40:38 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "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", Wed, 07 Jan 2015 23:40:38 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:40:38 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 (?, ?, ?, ?, ?, ?) [1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m [1m[35m (0.8ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 19' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 19' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "19"], ["created_at", Wed, 07 Jan 2015 23:40: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, 07 Jan 2015 23:40:38 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 20' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 20' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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, 07 Jan 2015 23:40: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, 07 Jan 2015 23:40:38 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 10], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:40:38 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:40:38 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.6ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 21' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 21' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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, 07 Jan 2015 23:40: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, 07 Jan 2015 23:40:38 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.8ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 07 Jan 2015 23:40:38 UTC +00:00], ["email", "test1@test.com"], ["name", "Factory User 1"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:40:38 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 22' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 22' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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, 07 Jan 2015 23:40: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, 07 Jan 2015 23:40:38 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 23' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 23' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "23"], ["created_at", Wed, 07 Jan 2015 23:40: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, 07 Jan 2015 23:40:38 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Wed, 07 Jan 2015 23:40:38 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:40:38 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 7], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Wed, 07 Jan 2015 23:40:38 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:40:38 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m 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", Wed, 07 Jan 2015 23:40:38 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:40:38 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.8ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 24' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 24' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "24"], ["created_at", Wed, 07 Jan 2015 23:40: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, 07 Jan 2015 23:40:38 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.5ms)[0m 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, 07 Jan 2015 23:40:38 UTC +00:00], ["email", "test2@test.com"], ["name", "Factory User 2"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:40:38 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 25' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 25' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "25"], ["created_at", Wed, 07 Jan 2015 23:40: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, 07 Jan 2015 23:40:38 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 26' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 26' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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, 07 Jan 2015 23:40:38 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, 07 Jan 2015 23:40:38 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 12], ["coalescing_panda_lti_account_id", 3], ["created_at", Wed, 07 Jan 2015 23:40:38 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:40:38 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Wed, 07 Jan 2015 23:40:38 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:40:38 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_section_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:40:38 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:40:38 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.9ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 27' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 27' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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, 07 Jan 2015 23:40:38 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, 07 Jan 2015 23:40:38 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.7ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 07 Jan 2015 23:40:38 UTC +00:00], ["email", "test3@test.com"], ["name", "Factory User 3"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:40:38 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 28' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 28' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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, 07 Jan 2015 23:40:38 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, 07 Jan 2015 23:40:38 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 29' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 29' LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "29"], ["created_at", Wed, 07 Jan 2015 23:40:38 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, 07 Jan 2015 23:40:38 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Wed, 07 Jan 2015 23:40:38 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:40:38 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 9], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Wed, 07 Jan 2015 23:40:38 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:40:38 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Wed, 07 Jan 2015 23:40:38 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:40:38 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 30' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 30' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "30"], ["created_at", Wed, 07 Jan 2015 23:40:38 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, 07 Jan 2015 23:40:38 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.4ms)[0m 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, 07 Jan 2015 23:40:38 UTC +00:00], ["email", "test4@test.com"], ["name", "Factory User 4"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:40:38 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 31' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 31' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "31"], ["created_at", Wed, 07 Jan 2015 23:40:38 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, 07 Jan 2015 23:40:38 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 32' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 32' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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, 07 Jan 2015 23:40:38 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, 07 Jan 2015 23:40:38 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 14], ["coalescing_panda_lti_account_id", 3], ["created_at", Wed, 07 Jan 2015 23:40:38 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:40:38 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "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", Wed, 07 Jan 2015 23:40:38 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:40:38 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_section_id", 4], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:40:38 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:40:38 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m 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", Wed, 07 Jan 2015 23:40:38 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Wed, 07 Jan 2015 23:40:38 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_enrollment_id", 4], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Wed, 07 Jan 2015 23:40:38 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Wed, 07 Jan 2015 23:40:38 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 (?, ?, ?, ?, ?, ?) [1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1 [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 33' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 33' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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, 07 Jan 2015 23:40:38 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, 07 Jan 2015 23:40:38 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 5], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 07 Jan 2015 23:40:38 UTC +00:00], ["email", "test5@test.com"], ["name", "Factory User 5"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:40:38 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 34' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 34' LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "coalescing_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, 07 Jan 2015 23:40:38 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, 07 Jan 2015 23:40:38 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 35' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 35' LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "35"], ["created_at", Wed, 07 Jan 2015 23:40:38 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, 07 Jan 2015 23:40:38 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Wed, 07 Jan 2015 23:40:38 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:40:38 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 11], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Wed, 07 Jan 2015 23:40:38 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:40:38 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m 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", Wed, 07 Jan 2015 23:40:38 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:40:38 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_enrollment_id", 5], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Wed, 07 Jan 2015 23:40:38 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Wed, 07 Jan 2015 23:40:38 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m 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", Wed, 07 Jan 2015 23:40:38 UTC +00:00], ["enrollment_type", "TeacherEnrollment"], ["updated_at", Wed, 07 Jan 2015 23:40:38 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.8ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 36' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 36' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "36"], ["created_at", Wed, 07 Jan 2015 23:40:38 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, 07 Jan 2015 23:40:38 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.5ms)[0m 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, 07 Jan 2015 23:40:38 UTC +00:00], ["email", "test6@test.com"], ["name", "Factory User 6"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:40:38 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 37' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 37' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "37"], ["created_at", Wed, 07 Jan 2015 23:40:38 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, 07 Jan 2015 23:40:38 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 38' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 38' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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, 07 Jan 2015 23:40:38 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, 07 Jan 2015 23:40:38 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 16], ["coalescing_panda_lti_account_id", 3], ["created_at", Wed, 07 Jan 2015 23:40:38 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:40:38 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Wed, 07 Jan 2015 23:40:38 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:40:38 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_section_id", 6], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:40:38 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:40:38 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.6ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 39' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 39' LIMIT 1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 40' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 40' LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "coalescing_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, 07 Jan 2015 23:40:38 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, 07 Jan 2015 23:40:38 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 41' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 41' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "40"], ["created_at", Wed, 07 Jan 2015 23:40:38 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, 07 Jan 2015 23:40:38 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Wed, 07 Jan 2015 23:40:38 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:40:38 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 13], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Wed, 07 Jan 2015 23:40:38 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:40:38 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.5ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 42' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 42' LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "coalescing_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, 07 Jan 2015 23:40:38 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, 07 Jan 2015 23:40:38 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 43' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 43' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "42"], ["created_at", Wed, 07 Jan 2015 23:40:38 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, 07 Jan 2015 23:40:38 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Wed, 07 Jan 2015 23:40:38 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:40:38 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 14], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Wed, 07 Jan 2015 23:40:38 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:40:38 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.5ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 44' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 44' LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "coalescing_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, 07 Jan 2015 23:40:38 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, 07 Jan 2015 23:40:38 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 45' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 45' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "44"], ["created_at", Wed, 07 Jan 2015 23:40:38 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, 07 Jan 2015 23:40:38 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m 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", Wed, 07 Jan 2015 23:40:38 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:40:38 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 15], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Wed, 07 Jan 2015 23:40:38 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:40:38 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m 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", Wed, 07 Jan 2015 23:40:38 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:40:38 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_section_id", "1"], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:40:38 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:40:38 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 (?, ?, ?, ?) [1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1 [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 46' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 46' LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "coalescing_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, 07 Jan 2015 23:40:38 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, 07 Jan 2015 23:40:38 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 47' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 47' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "46"], ["created_at", Wed, 07 Jan 2015 23:40:38 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, 07 Jan 2015 23:40:38 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Wed, 07 Jan 2015 23:40:38 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:40:38 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 16], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Wed, 07 Jan 2015 23:40:38 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:40:38 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.6ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 48' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 48' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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, 07 Jan 2015 23:40:38 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, 07 Jan 2015 23:40:38 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 7], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 07 Jan 2015 23:40:38 UTC +00:00], ["email", "test7@test.com"], ["name", "Factory User 7"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:40:38 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 49' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 49' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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, 07 Jan 2015 23:40:38 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, 07 Jan 2015 23:40:38 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 50' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 50' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "49"], ["created_at", Wed, 07 Jan 2015 23:40:38 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, 07 Jan 2015 23:40:38 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Wed, 07 Jan 2015 23:40:38 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:40:38 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 17], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Wed, 07 Jan 2015 23:40:38 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:40:38 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_assignment_id", "3"], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:40:38 UTC +00:00], ["name", "test assignment"], ["submission_types", nil], ["updated_at", Wed, 07 Jan 2015 23:40:38 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.6ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 51' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 51' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "50"], ["created_at", Wed, 07 Jan 2015 23:40:38 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, 07 Jan 2015 23:40:38 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.4ms)[0m 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, 07 Jan 2015 23:40:38 UTC +00:00], ["email", "test8@test.com"], ["name", "Factory User 8"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:40:38 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 52' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 52' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "51"], ["created_at", Wed, 07 Jan 2015 23:40:38 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, 07 Jan 2015 23:40:38 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 53' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 53' LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:40:38 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", Wed, 07 Jan 2015 23:40:38 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 22], ["coalescing_panda_lti_account_id", 3], ["created_at", Wed, 07 Jan 2015 23:40:38 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:40:38 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Wed, 07 Jan 2015 23:40:38 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:40:38 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_assignment_id", "4"], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:40:38 UTC +00:00], ["name", "test assignment"], ["submission_types", nil], ["updated_at", Wed, 07 Jan 2015 23:40:38 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.6ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 54' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 54' LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:40:38 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", Wed, 07 Jan 2015 23:40:38 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 9], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 07 Jan 2015 23:40:38 UTC +00:00], ["email", "test9@test.com"], ["name", "Factory User 9"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:40:38 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 55' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 55' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:40:38 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", Wed, 07 Jan 2015 23:40:38 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 56' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 56' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "55"], ["created_at", Wed, 07 Jan 2015 23:40:38 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", Wed, 07 Jan 2015 23:40:38 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Wed, 07 Jan 2015 23:40:38 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:40:38 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 19], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Wed, 07 Jan 2015 23:40:38 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:40:38 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_assignment_id", "5"], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:40:38 UTC +00:00], ["name", "test assignment"], ["submission_types", nil], ["updated_at", Wed, 07 Jan 2015 23:40:38 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.6ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 57' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 57' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "56"], ["created_at", Wed, 07 Jan 2015 23:40:38 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", Wed, 07 Jan 2015 23:40:38 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.5ms)[0m 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, 07 Jan 2015 23:40:38 UTC +00:00], ["email", "test10@test.com"], ["name", "Factory User 10"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:40:38 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 58' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 58' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "57"], ["created_at", Wed, 07 Jan 2015 23:40:38 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", Wed, 07 Jan 2015 23:40:38 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 59' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 59' LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:40:38 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", Wed, 07 Jan 2015 23:40:38 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 24], ["coalescing_panda_lti_account_id", 3], ["created_at", Wed, 07 Jan 2015 23:40:38 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:40:38 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Wed, 07 Jan 2015 23:40:38 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:40:38 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_assignment_id", "6"], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:40:38 UTC +00:00], ["name", "test assignment"], ["submission_types", nil], ["updated_at", Wed, 07 Jan 2015 23:40:38 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m 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", Wed, 07 Jan 2015 23:40:38 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:40:38 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["canvas_submission_id", "1"], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Wed, 07 Jan 2015 23:40:38 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:40:38 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 (?, ?, ?, ?, ?) [1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1 [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 60' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 60' LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:40:38 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", Wed, 07 Jan 2015 23:40:38 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 11], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 07 Jan 2015 23:40:38 UTC +00:00], ["email", "test11@test.com"], ["name", "Factory User 11"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:40:38 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 61' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 61' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:40:38 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", Wed, 07 Jan 2015 23:40:38 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 62' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 62' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "61"], ["created_at", Wed, 07 Jan 2015 23:40:38 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", Wed, 07 Jan 2015 23:40:38 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m 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", Wed, 07 Jan 2015 23:40:38 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:40:38 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 21], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Wed, 07 Jan 2015 23:40:38 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:40:38 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_assignment_id", "7"], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:40:38 UTC +00:00], ["name", "test assignment"], ["submission_types", nil], ["updated_at", Wed, 07 Jan 2015 23:40:38 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["canvas_submission_id", "1"], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Wed, 07 Jan 2015 23:40:38 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:40:38 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m 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", Wed, 07 Jan 2015 23:40:38 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:40:38 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 63' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 63' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "62"], ["created_at", Wed, 07 Jan 2015 23:40:38 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", Wed, 07 Jan 2015 23:40:38 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.4ms)[0m 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, 07 Jan 2015 23:40:38 UTC +00:00], ["email", "test12@test.com"], ["name", "Factory User 12"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:40:38 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 64' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 64' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "63"], ["created_at", Wed, 07 Jan 2015 23:40:38 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", Wed, 07 Jan 2015 23:40:38 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 65' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 65' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:40:38 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", Wed, 07 Jan 2015 23:40:38 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 26], ["coalescing_panda_lti_account_id", 3], ["created_at", Wed, 07 Jan 2015 23:40:38 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:40:38 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Wed, 07 Jan 2015 23:40:38 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:40:38 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_assignment_id", "8"], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:40:38 UTC +00:00], ["name", "test assignment"], ["submission_types", nil], ["updated_at", Wed, 07 Jan 2015 23:40:38 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 66' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 66' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:40:39 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", Wed, 07 Jan 2015 23:40:39 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.4ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 67' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 67' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "66"], ["created_at", Wed, 07 Jan 2015 23:40:39 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", Wed, 07 Jan 2015 23:40:39 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.7ms)[0m 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", Wed, 07 Jan 2015 23:40:39 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:40:39 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 07 Jan 2015 23:40:39 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:40:39 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 (?, ?, ?, ?) [1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1 [1m[36m (0.5ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 68' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 68' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:40:39 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", Wed, 07 Jan 2015 23:40:39 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.3ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 69' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 69' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "68"], ["created_at", Wed, 07 Jan 2015 23:40:39 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", Wed, 07 Jan 2015 23:40:39 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.4ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 70' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 70' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:40:39 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", Wed, 07 Jan 2015 23:40:39 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.8ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 07 Jan 2015 23:40:39 UTC +00:00], ["email", "test15@test.com"], ["name", "Factory User 15"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:40:39 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m 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, 07 Jan 2015 23:40:39 UTC +00:00], ["email", "test16@test.com"], ["name", "Factory User 16"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:40:39 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 (?, ?, ?, ?, ?, ?, ?) [1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m [1m[35m (0.5ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 71' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 71' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "70"], ["created_at", Wed, 07 Jan 2015 23:40:39 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", Wed, 07 Jan 2015 23:40:39 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.4ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 72' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 72' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:40:39 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", Wed, 07 Jan 2015 23:40:39 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 73' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 73' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "72"], ["created_at", Wed, 07 Jan 2015 23:40:39 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", Wed, 07 Jan 2015 23:40:39 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Wed, 07 Jan 2015 23:40:39 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:40:39 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 23], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Wed, 07 Jan 2015 23:40:39 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:40:39 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:40:39 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:40:39 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::CanvasBatch Load (0.1ms)[0m SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" ORDER BY created_at ASC LIMIT 1 [1m[36m (0.9ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 74' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 74' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:40:39 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", Wed, 07 Jan 2015 23:40:39 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 75' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 75' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "74"], ["created_at", Wed, 07 Jan 2015 23:40:39 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", Wed, 07 Jan 2015 23:40:39 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Wed, 07 Jan 2015 23:40:39 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:40:39 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 24], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Wed, 07 Jan 2015 23:40:39 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:40:39 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:40:39 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:40:39 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (1.0ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 76' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 76' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "75"], ["created_at", Wed, 07 Jan 2015 23:40:39 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", Wed, 07 Jan 2015 23:40:39 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 77' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 77' LIMIT 1[0m [1m[35mSQL (0.6ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:40:39 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", Wed, 07 Jan 2015 23:40:39 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 30], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:40:39 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:40:39 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "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", Wed, 07 Jan 2015 23:40:39 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:40:39 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Wed, 07 Jan 2015 23:40:39 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:40:39 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m UPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["status", "Started"], ["updated_at", Wed, 07 Jan 2015 23:40:39 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Section Load (0.1ms)[0m SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "coalescing_panda_sections" ("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, 07 Jan 2015 23:40:39 UTC +00:00], ["name", "Course1"], ["updated_at", Wed, 07 Jan 2015 23:40:39 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mUPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1[0m [["percent_complete", 20.0], ["updated_at", Wed, 07 Jan 2015 23:40:39 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::User Load (0.1ms)[0m [1mSELECT "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[0m [["coalescing_panda_lti_account_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 07 Jan 2015 23:40:39 UTC +00:00], ["name", "teacher@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:40:39 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::User Load (0.1ms)[0m [1mSELECT "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[0m [["coalescing_panda_lti_account_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 07 Jan 2015 23:40:39 UTC +00:00], ["name", "student1@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:40:39 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::User Load (0.1ms)[0m [1mSELECT "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[0m [["coalescing_panda_lti_account_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 07 Jan 2015 23:40:39 UTC +00:00], ["name", "student2@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:40:39 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 40.0], ["updated_at", Wed, 07 Jan 2015 23:40:39 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Enrollment Load (0.1ms)[0m SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '1') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36mCoalescingPanda::User Load (0.1ms)[0m [1mSELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '1' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1[0m [["coalescing_panda_lti_account_id", 1]] [1m[35mCoalescingPanda::Section Load (0.1ms)[0m SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "coalescing_panda_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"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Enrollment Load (0.1ms)[0m SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '2') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36mCoalescingPanda::User Load (0.1ms)[0m [1mSELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1[0m [["coalescing_panda_lti_account_id", 1]] [1m[35mCoalescingPanda::Section Load (0.0ms)[0m SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_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"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Enrollment Load (0.1ms)[0m SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '3') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36mCoalescingPanda::User Load (0.1ms)[0m [1mSELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1[0m [["coalescing_panda_lti_account_id", 1]] [1m[35mCoalescingPanda::Section Load (0.0ms)[0m SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_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"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mUPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1[0m [["percent_complete", 60.0], ["updated_at", Wed, 07 Jan 2015 23:40:39 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::Assignment Load (0.1ms)[0m [1mSELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "grade_group_students_individually", "name", "points_possible", "published", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_assignment_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 18:04:38 UTC +00:00], ["description", "What is your name?
"], ["grade_group_students_individually", false], ["name", "Gimme your name"], ["points_possible", 100.0], ["published", true], ["submission_types", "---\n- online_text_entry\n"], ["updated_at", Tue, 18 Nov 2014 18:04:42 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::Assignment Load (0.1ms)[0m [1mSELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "grade_group_students_individually", "name", "points_possible", "published", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_assignment_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 19:10:28 UTC +00:00], ["description", "What is your Favorite Color?
"], ["grade_group_students_individually", false], ["name", "Favorite Color"], ["points_possible", 100.0], ["published", true], ["submission_types", "---\n- online_text_entry\n"], ["updated_at", Tue, 18 Nov 2014 19:10:30 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 80.0], ["updated_at", Wed, 07 Jan 2015 23:40:39 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Assignment Load (0.1ms)[0m SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? [["coalescing_panda_course_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 100.0], ["updated_at", Wed, 07 Jan 2015 23:40:39 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mUPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1[0m [["percent_complete", 120.0], ["updated_at", Wed, 07 Jan 2015 23:40:39 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 140.0], ["updated_at", Wed, 07 Jan 2015 23:40:39 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mUPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1[0m [["status", "Completed"], ["percent_complete", 100.0], ["updated_at", Wed, 07 Jan 2015 23:40:39 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (1.9ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.2ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 78' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 78' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:40:39 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", Wed, 07 Jan 2015 23:40:39 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 79' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 79' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "78"], ["created_at", Wed, 07 Jan 2015 23:40:39 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", Wed, 07 Jan 2015 23:40:39 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Wed, 07 Jan 2015 23:40:39 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:40:39 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 26], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Wed, 07 Jan 2015 23:40:39 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:40:39 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:40:39 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:40:39 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 80' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 80' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "79"], ["created_at", Wed, 07 Jan 2015 23:40:39 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", Wed, 07 Jan 2015 23:40:39 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 81' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 81' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:40:39 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", Wed, 07 Jan 2015 23:40:39 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 32], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:40:39 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:40:39 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Wed, 07 Jan 2015 23:40:39 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:40:39 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Wed, 07 Jan 2015 23:40:39 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:40:39 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (1.0ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mCoalescingPanda::Section Load (0.2ms)[0m [1mSELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections"[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 82' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 82' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "81"], ["created_at", Wed, 07 Jan 2015 23:40:39 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", Wed, 07 Jan 2015 23:40:39 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 83' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 83' LIMIT 1[0m [1m[35mSQL (0.6ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:40:39 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", Wed, 07 Jan 2015 23:40:39 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 33], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:40:39 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:40:39 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "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", Wed, 07 Jan 2015 23:40:39 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:40:39 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Wed, 07 Jan 2015 23:40:39 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:40:39 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::Section Load (0.1ms)[0m [1mSELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:40:39 UTC +00:00], ["name", "Course1"], ["updated_at", Wed, 07 Jan 2015 23:40:39 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "coalescing_panda_sections"[0m [1m[35m (0.9ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mCoalescingPanda::User Load (0.2ms)[0m SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 84' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 84' LIMIT 1[0m [1m[35mSQL (0.6ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:40:39 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", Wed, 07 Jan 2015 23:40:39 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 85' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 85' LIMIT 1 [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "84"], ["created_at", Wed, 07 Jan 2015 23:40:39 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", Wed, 07 Jan 2015 23:40:39 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Wed, 07 Jan 2015 23:40:39 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:40:39 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 29], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Wed, 07 Jan 2015 23:40:39 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:40:39 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:40:39 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:40:39 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::User Load (0.0ms)[0m 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]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_users" ("canvas_user_id", "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, 07 Jan 2015 23:40:39 UTC +00:00], ["name", "teacher@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:40:39 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::User Load (0.0ms)[0m 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]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_users" ("canvas_user_id", "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, 07 Jan 2015 23:40:39 UTC +00:00], ["name", "student1@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:40:39 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::User Load (0.0ms)[0m 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]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_users" ("canvas_user_id", "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, 07 Jan 2015 23:40:39 UTC +00:00], ["name", "student2@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:40:39 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "coalescing_panda_users" [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mCoalescingPanda::Enrollment Load (0.1ms)[0m [1mSELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments"[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 86' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 86' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "85"], ["created_at", Wed, 07 Jan 2015 23:40:39 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", Wed, 07 Jan 2015 23:40:39 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 87' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 87' LIMIT 1[0m [1m[35mSQL (0.6ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:40:39 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", Wed, 07 Jan 2015 23:40:39 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 35], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:40:39 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:40:39 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Wed, 07 Jan 2015 23:40:39 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:40:39 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Wed, 07 Jan 2015 23:40:39 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:40:39 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::Section Load (0.0ms)[0m [1mSELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:40:39 UTC +00:00], ["name", "Course1"], ["updated_at", Wed, 07 Jan 2015 23:40:39 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::User Load (0.0ms)[0m [1mSELECT "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[0m [["coalescing_panda_lti_account_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 07 Jan 2015 23:40:39 UTC +00:00], ["name", "teacher@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:40:39 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::User Load (0.0ms)[0m [1mSELECT "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[0m [["coalescing_panda_lti_account_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 07 Jan 2015 23:40:39 UTC +00:00], ["name", "student1@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:40:39 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::User Load (0.0ms)[0m [1mSELECT "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[0m [["coalescing_panda_lti_account_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 07 Jan 2015 23:40:39 UTC +00:00], ["name", "student2@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:40:39 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::Enrollment Load (0.0ms)[0m [1mSELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '1') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35mCoalescingPanda::User Load (0.0ms)[0m SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '1' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] [1m[36mCoalescingPanda::Section Load (0.0ms)[0m [1mSELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["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"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::Enrollment Load (0.0ms)[0m [1mSELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '2') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35mCoalescingPanda::User Load (0.0ms)[0m SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] [1m[36mCoalescingPanda::Section Load (0.0ms)[0m [1mSELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["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"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::Enrollment Load (0.0ms)[0m [1mSELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '3') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35mCoalescingPanda::User Load (0.0ms)[0m SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] [1m[36mCoalescingPanda::Section Load (0.0ms)[0m [1mSELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["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"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "coalescing_panda_enrollments"[0m [1m[35mCoalescingPanda::Enrollment Load (0.1ms)[0m SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" ORDER BY "coalescing_panda_enrollments"."id" DESC LIMIT 1 [1m[36m (0.9ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mCoalescingPanda::Assignment Load (0.1ms)[0m [1mSELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments"[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 88' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 88' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "87"], ["created_at", Wed, 07 Jan 2015 23:40:39 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", Wed, 07 Jan 2015 23:40:39 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 89' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 89' LIMIT 1[0m [1m[35mSQL (0.6ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:40:39 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", Wed, 07 Jan 2015 23:40:39 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 36], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:40:39 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:40:39 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "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", Wed, 07 Jan 2015 23:40:39 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:40:39 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Wed, 07 Jan 2015 23:40:39 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:40:39 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::Assignment Load (0.0ms)[0m [1mSELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "grade_group_students_individually", "name", "points_possible", "published", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_assignment_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 18:04:38 UTC +00:00], ["description", "What is your name?
"], ["grade_group_students_individually", false], ["name", "Gimme your name"], ["points_possible", 100.0], ["published", true], ["submission_types", "---\n- online_text_entry\n"], ["updated_at", Tue, 18 Nov 2014 18:04:42 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::Assignment Load (0.0ms)[0m [1mSELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "grade_group_students_individually", "name", "points_possible", "published", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_assignment_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 19:10:28 UTC +00:00], ["description", "What is your Favorite Color?
"], ["grade_group_students_individually", false], ["name", "Favorite Color"], ["points_possible", 100.0], ["published", true], ["submission_types", "---\n- online_text_entry\n"], ["updated_at", Tue, 18 Nov 2014 19:10:30 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "coalescing_panda_assignments"[0m [1m[35m (1.0ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mCoalescingPanda::Submission Load (0.2ms)[0m SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 90' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 90' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:40:39 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", Wed, 07 Jan 2015 23:40:39 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 91' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 91' LIMIT 1 [1m[36mSQL (0.8ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "90"], ["created_at", Wed, 07 Jan 2015 23:40:39 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", Wed, 07 Jan 2015 23:40:39 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Wed, 07 Jan 2015 23:40:39 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:40:39 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 32], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Wed, 07 Jan 2015 23:40:39 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:40:39 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:40:39 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:40:39 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::User Load (0.0ms)[0m 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]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "coalescing_panda_users" ("canvas_user_id", "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, 07 Jan 2015 23:40:39 UTC +00:00], ["name", "teacher@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:40:39 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::User Load (0.0ms)[0m 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]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_users" ("canvas_user_id", "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, 07 Jan 2015 23:40:39 UTC +00:00], ["name", "student1@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:40:39 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::User Load (0.1ms)[0m 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]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_users" ("canvas_user_id", "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, 07 Jan 2015 23:40:39 UTC +00:00], ["name", "student2@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:40:39 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Assignment Load (0.0ms)[0m SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "grade_group_students_individually", "name", "points_possible", "published", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 18:04:38 UTC +00:00], ["description", "What is your name?
"], ["grade_group_students_individually", false], ["name", "Gimme your name"], ["points_possible", 100.0], ["published", true], ["submission_types", "---\n- online_text_entry\n"], ["updated_at", Tue, 18 Nov 2014 18:04:42 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Assignment Load (0.0ms)[0m SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "grade_group_students_individually", "name", "points_possible", "published", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 19:10:28 UTC +00:00], ["description", "What is your Favorite Color?
"], ["grade_group_students_individually", false], ["name", "Favorite Color"], ["points_possible", 100.0], ["published", true], ["submission_types", "---\n- online_text_entry\n"], ["updated_at", Tue, 18 Nov 2014 19:10:30 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Submission Load (0.2ms)[0m SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '3') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36mCoalescingPanda::User Load (0.0ms)[0m [1mSELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1[0m [["coalescing_panda_lti_account_id", 1]] [1m[35mCoalescingPanda::Assignment Load (0.1ms)[0m SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "coalescing_panda_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, 07 Jan 2015 23:40:39 UTC +00:00], ["grade", "70"], ["score", 70], ["updated_at", Wed, 07 Jan 2015 23:40:39 UTC +00:00], ["workflow_state", "graded"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Submission Load (0.1ms)[0m SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '1') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36mCoalescingPanda::User Load (0.0ms)[0m [1mSELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1[0m [["coalescing_panda_lti_account_id", 1]] [1m[35mCoalescingPanda::Assignment Load (0.1ms)[0m SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "coalescing_panda_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, 07 Jan 2015 23:40:39 UTC +00:00], ["grade", "100"], ["score", 100], ["updated_at", Wed, 07 Jan 2015 23:40:39 UTC +00:00], ["workflow_state", "graded"]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Submission Load (0.2ms)[0m SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '4') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36mCoalescingPanda::User Load (0.0ms)[0m [1mSELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1[0m [["coalescing_panda_lti_account_id", 1]] [1m[35mCoalescingPanda::Assignment Load (0.1ms)[0m SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_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, 07 Jan 2015 23:40:39 UTC +00:00], ["grade", "90"], ["score", 90], ["updated_at", Wed, 07 Jan 2015 23:40:39 UTC +00:00], ["workflow_state", "graded"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Submission Load (0.1ms)[0m SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '2') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36mCoalescingPanda::User Load (0.0ms)[0m [1mSELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1[0m [["coalescing_panda_lti_account_id", 1]] [1m[35mCoalescingPanda::Assignment Load (0.0ms)[0m SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_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, 07 Jan 2015 23:40:39 UTC +00:00], ["grade", "80"], ["score", 80], ["updated_at", Wed, 07 Jan 2015 23:40:39 UTC +00:00], ["workflow_state", "graded"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "coalescing_panda_submissions" [1m[36m (0.8ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 92' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 92' LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:40:39 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", Wed, 07 Jan 2015 23:40:39 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 93' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 93' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "92"], ["created_at", Wed, 07 Jan 2015 23:40:39 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", Wed, 07 Jan 2015 23:40:39 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Wed, 07 Jan 2015 23:40:39 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:40:39 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 33], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Wed, 07 Jan 2015 23:40:39 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:40:39 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:40:39 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:40:39 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.9ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 94' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 94' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "93"], ["created_at", Wed, 07 Jan 2015 23:40:39 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", Wed, 07 Jan 2015 23:40:39 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 95' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 95' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:40:39 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", Wed, 07 Jan 2015 23:40:39 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 39], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:40:39 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:40:39 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Wed, 07 Jan 2015 23:40:39 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:40:39 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Wed, 07 Jan 2015 23:40:39 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:40:39 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.8ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 96' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 96' LIMIT 1[0m [1m[35mSQL (0.6ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:40:39 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", Wed, 07 Jan 2015 23:40:39 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 97' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 97' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "96"], ["created_at", Wed, 07 Jan 2015 23:40:39 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", Wed, 07 Jan 2015 23:40:39 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Wed, 07 Jan 2015 23:40:39 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:40:39 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 35], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Wed, 07 Jan 2015 23:40:39 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:40:39 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:40:39 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:40:39 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (1.0ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 98' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 98' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "97"], ["created_at", Wed, 07 Jan 2015 23:40:39 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", Wed, 07 Jan 2015 23:40:39 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 99' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 99' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:40:39 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", Wed, 07 Jan 2015 23:40:39 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 41], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:40:39 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:40:39 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Wed, 07 Jan 2015 23:40:39 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:40:39 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Wed, 07 Jan 2015 23:40:39 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:40:39 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.8ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 100' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 100' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:40:39 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", Wed, 07 Jan 2015 23:40:39 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 101' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 101' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "100"], ["created_at", Wed, 07 Jan 2015 23:40:39 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", Wed, 07 Jan 2015 23:40:39 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Wed, 07 Jan 2015 23:40:39 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:40:39 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 37], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Wed, 07 Jan 2015 23:40:39 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:40:39 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:40:39 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:40:39 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.8ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 102' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 102' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "101"], ["created_at", Wed, 07 Jan 2015 23:40:39 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", Wed, 07 Jan 2015 23:40:39 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 103' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 103' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:40:39 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", Wed, 07 Jan 2015 23:40:39 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 43], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:40:39 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:40:39 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "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", Wed, 07 Jan 2015 23:40:39 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:40:39 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Wed, 07 Jan 2015 23:40:39 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:40:39 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.8ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 104' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 104' LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:40:39 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", Wed, 07 Jan 2015 23:40:39 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 105' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 105' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "104"], ["created_at", Wed, 07 Jan 2015 23:40:39 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", Wed, 07 Jan 2015 23:40:39 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Wed, 07 Jan 2015 23:40:39 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:40:39 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 39], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Wed, 07 Jan 2015 23:40:39 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:40:39 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:40:39 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:40:39 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.8ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 106' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 106' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "105"], ["created_at", Wed, 07 Jan 2015 23:40:39 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", Wed, 07 Jan 2015 23:40:39 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 107' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 107' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:40:39 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", Wed, 07 Jan 2015 23:40:39 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 45], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:40:39 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:40:39 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Wed, 07 Jan 2015 23:40:39 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:40:39 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Wed, 07 Jan 2015 23:40:39 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:40:39 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.8ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.2ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 108' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 108' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:40:39 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", Wed, 07 Jan 2015 23:40:39 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 109' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 109' LIMIT 1 [1m[36mSQL (0.7ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "108"], ["created_at", Wed, 07 Jan 2015 23:40:39 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", Wed, 07 Jan 2015 23:40:39 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Wed, 07 Jan 2015 23:40:39 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:40:39 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 41], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Wed, 07 Jan 2015 23:40:39 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:40:39 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:40:39 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:40:39 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (1.0ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 110' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 110' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "109"], ["created_at", Wed, 07 Jan 2015 23:40:39 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", Wed, 07 Jan 2015 23:40:39 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 111' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 111' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:40:39 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", Wed, 07 Jan 2015 23:40:39 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 47], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:40:39 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:40:39 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Wed, 07 Jan 2015 23:40:39 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:40:39 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_section_id", 9], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:40:39 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:40:39 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 112' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 112' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:40:39 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", Wed, 07 Jan 2015 23:40:39 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 113' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 113' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "112"], ["created_at", Wed, 07 Jan 2015 23:40:39 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", Wed, 07 Jan 2015 23:40:39 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m 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", Wed, 07 Jan 2015 23:40:39 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:40:39 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 43], ["coalescing_panda_lti_account_id", 3], ["coalescing_panda_term_id", 2], ["created_at", Wed, 07 Jan 2015 23:40:39 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:40:39 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Course Load (0.1ms)[0m SELECT "coalescing_panda_courses".* FROM "coalescing_panda_courses" WHERE "coalescing_panda_courses"."id" = ? LIMIT 1 [["id", 2]] [1m[36mSQL (0.2ms)[0m [1mUPDATE "coalescing_panda_sections" SET "coalescing_panda_course_id" = ?, "updated_at" = ? WHERE "coalescing_panda_sections"."id" = 1[0m [["coalescing_panda_course_id", 2], ["updated_at", Wed, 07 Jan 2015 23:40:39 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:40:39 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:40:39 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 15], ["coalescing_panda_lti_account_id", 3], ["created_at", Wed, 07 Jan 2015 23:40:39 UTC +00:00], ["email", "test18@test.com"], ["name", "Factory User 18"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:40:39 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::User Load (0.1ms)[0m [1mSELECT "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[0m [["coalescing_panda_lti_account_id", 3]] [1m[35mCoalescingPanda::Section Load (0.1ms)[0m 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]] [1m[36m (0.9ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 114' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 114' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:40:39 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", Wed, 07 Jan 2015 23:40:39 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 115' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 115' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "114"], ["created_at", Wed, 07 Jan 2015 23:40:39 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", Wed, 07 Jan 2015 23:40:39 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Wed, 07 Jan 2015 23:40:39 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:40:39 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 44], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Wed, 07 Jan 2015 23:40:39 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:40:39 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:40:39 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:40:39 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.8ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 116' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 116' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "115"], ["created_at", Wed, 07 Jan 2015 23:40:39 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", Wed, 07 Jan 2015 23:40:39 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 117' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 117' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:40:39 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", Wed, 07 Jan 2015 23:40:39 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 50], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:40:39 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:40:39 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "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", Wed, 07 Jan 2015 23:40:39 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:40:39 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_assignment_id", "9"], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:40:39 UTC +00:00], ["name", "test assignment"], ["submission_types", nil], ["updated_at", Wed, 07 Jan 2015 23:40:39 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:40:39 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:40:39 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 16], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 07 Jan 2015 23:40:39 UTC +00:00], ["email", "test19@test.com"], ["name", "Factory User 19"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:40:39 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::User Load (0.1ms)[0m [1mSELECT "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[0m [["coalescing_panda_lti_account_id", 1]] [1m[35mCoalescingPanda::Assignment Load (0.1ms)[0m 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]] [1m[36m (1.1ms)[0m [1mrollback transaction[0m [1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m [1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations" [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m Processing by CoalescingPanda::LtiController#lti_config as HTML Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms) [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m Processing by CoalescingPanda::LtiController#lti_config as HTML Completed 500 Internal Server Error in 1ms [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m Processing by CoalescingPanda::Oauth2Controller#redirect as HTML Parameters: {"user_id"=>"1", "api_domain"=>"foo.com", "code"=>"bar"} Completed 200 OK in 5ms (Views: 4.9ms | ActiveRecord: 0.0ms) [1m[35mCoalescingPanda::CanvasApiAuth Load (0.1ms)[0m 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 [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction Processing by CoalescingPanda::Oauth2Controller#redirect as HTML Parameters: {"error"=>"your face"} Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "coalescing_panda_canvas_api_auths"[0m [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 1' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 1' LIMIT 1 [1m[36mSQL (2.6ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "1"], ["created_at", Wed, 07 Jan 2015 23:40:56 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, 07 Jan 2015 23:40:56 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 2' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 2' LIMIT 1[0m [1m[35mSQL (1.0ms)[0m INSERT INTO "coalescing_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, 07 Jan 2015 23:40:56 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, 07 Jan 2015 23:40:56 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 1], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:40:56 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:40:56 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "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", Wed, 07 Jan 2015 23:40:56 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:40:56 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (1.4ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 3' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 3' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "3"], ["created_at", Wed, 07 Jan 2015 23:40:56 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, 07 Jan 2015 23:40:56 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 4' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 4' LIMIT 1[0m [1m[35mSQL (0.6ms)[0m INSERT INTO "coalescing_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, 07 Jan 2015 23:40:56 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, 07 Jan 2015 23:40:56 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 2], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:40:56 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:40:56 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Wed, 07 Jan 2015 23:40:56 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:40:56 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.6ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 5' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 5' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "5"], ["created_at", Wed, 07 Jan 2015 23:40:56 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, 07 Jan 2015 23:40:56 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 6' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 6' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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, 07 Jan 2015 23:40:56 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, 07 Jan 2015 23:40:56 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 3], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:40:56 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:40:56 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "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", Wed, 07 Jan 2015 23:40:56 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:40:56 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_assignment_id", "1"], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:40:56 UTC +00:00], ["name", "test assignment"], ["submission_types", nil], ["updated_at", Wed, 07 Jan 2015 23:40:56 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_assignment_id", "1"], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:40:56 UTC +00:00], ["name", "test assignment"], ["submission_types", nil], ["updated_at", Wed, 07 Jan 2015 23:40:56 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", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 7' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 7' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "7"], ["created_at", Wed, 07 Jan 2015 23:40:56 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, 07 Jan 2015 23:40:56 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 8' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 8' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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, 07 Jan 2015 23:40:56 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, 07 Jan 2015 23:40:56 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 4], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:40:56 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:40:56 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Wed, 07 Jan 2015 23:40:56 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:40:56 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.6ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mCoalescingPanda::CanvasApiAuth Load (0.2ms)[0m SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" ORDER BY "coalescing_panda_canvas_api_auths"."id" ASC LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_panda_canvas_api_auths" ("created_at", "updated_at", "user_id") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:40:56 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:40:56 UTC +00:00], ["user_id", "a"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::CanvasApiAuth Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1 [1m[36mCoalescingPanda::CanvasApiAuth Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1[0m [1m[35mCoalescingPanda::CanvasApiAuth Load (0.1ms)[0m SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" [1m[36mCoalescingPanda::CanvasApiAuth Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" = '1') LIMIT 1[0m [1m[35mCoalescingPanda::CanvasApiAuth Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" = '1') LIMIT 1 [1m[36m (0.4ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mCoalescingPanda::CanvasApiAuth Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1[0m [1m[35mCoalescingPanda::CanvasApiAuth Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mCoalescingPanda::CanvasApiAuth Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1[0m [1m[35mCoalescingPanda::CanvasApiAuth Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:40:56 UTC +00:00], ["status", "Pending"], ["updated_at", Wed, 07 Jan 2015 23:40:56 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Wed, 07 Jan 2015 23:40:56 UTC +00:00], ["status", "Pending"], ["updated_at", Wed, 07 Jan 2015 23:40:56 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:40:56 UTC +00:00], ["status", "Pending"], ["updated_at", Wed, 07 Jan 2015 23:40:56 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::CanvasBatch Load (0.1ms)[0m SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" ORDER BY created_at DESC [1m[36m (0.8ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 9' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 9' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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, 07 Jan 2015 23:40:56 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, 07 Jan 2015 23:40:56 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 10' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 10' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "10"], ["created_at", Wed, 07 Jan 2015 23:40:56 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, 07 Jan 2015 23:40:56 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Wed, 07 Jan 2015 23:40:56 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:40:56 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 11' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 11' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "11"], ["created_at", Wed, 07 Jan 2015 23:40: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", Wed, 07 Jan 2015 23:40:56 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 12' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 12' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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, 07 Jan 2015 23:40: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", Wed, 07 Jan 2015 23:40:56 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 6], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:40:56 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:40:56 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 13' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 13' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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, 07 Jan 2015 23:40: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", Wed, 07 Jan 2015 23:40:56 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 14' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 14' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "14"], ["created_at", Wed, 07 Jan 2015 23:40: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", Wed, 07 Jan 2015 23:40:56 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Wed, 07 Jan 2015 23:40:56 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:40:56 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Wed, 07 Jan 2015 23:40:56 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:40:56 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 15' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 15' LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "coalescing_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, 07 Jan 2015 23:40: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", Wed, 07 Jan 2015 23:40:56 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 8], ["coalescing_panda_lti_account_id", 3], ["created_at", Wed, 07 Jan 2015 23:40:56 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:40:56 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "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", Wed, 07 Jan 2015 23:40:56 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:40: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 (?, ?, ?, ?, ?, ?) [1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m [1m[35m (0.8ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 16' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 16' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "16"], ["created_at", Wed, 07 Jan 2015 23:40: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", Wed, 07 Jan 2015 23:40:56 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.5ms)[0m 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", Wed, 07 Jan 2015 23:40:56 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:40:56 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 17' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 17' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "17"], ["created_at", Wed, 07 Jan 2015 23:40: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", Wed, 07 Jan 2015 23:40:56 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Wed, 07 Jan 2015 23:40:56 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:40:56 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 18' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 18' LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "18"], ["created_at", Wed, 07 Jan 2015 23:40: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", Wed, 07 Jan 2015 23:40:56 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "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", Wed, 07 Jan 2015 23:40:56 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:40: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 (?, ?, ?, ?, ?, ?) [1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 19' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 19' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "19"], ["created_at", Wed, 07 Jan 2015 23:40: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", Wed, 07 Jan 2015 23:40:56 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 20' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 20' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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, 07 Jan 2015 23:40: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", Wed, 07 Jan 2015 23:40:56 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 10], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:40:56 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:40:56 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.6ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 21' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 21' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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, 07 Jan 2015 23:40: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", Wed, 07 Jan 2015 23:40:56 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 07 Jan 2015 23:40:56 UTC +00:00], ["email", "test1@test.com"], ["name", "Factory User 1"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:40:56 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 22' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 22' LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "coalescing_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, 07 Jan 2015 23:40: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", Wed, 07 Jan 2015 23:40:56 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 23' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 23' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "23"], ["created_at", Wed, 07 Jan 2015 23:40: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", Wed, 07 Jan 2015 23:40:56 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Wed, 07 Jan 2015 23:40:56 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:40:56 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 7], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Wed, 07 Jan 2015 23:40:56 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:40:56 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m 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", Wed, 07 Jan 2015 23:40:56 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:40:56 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (1.0ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 24' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 24' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "24"], ["created_at", Wed, 07 Jan 2015 23:40: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", Wed, 07 Jan 2015 23:40:56 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.6ms)[0m 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, 07 Jan 2015 23:40:56 UTC +00:00], ["email", "test2@test.com"], ["name", "Factory User 2"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:40:56 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 25' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 25' LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "25"], ["created_at", Wed, 07 Jan 2015 23:40: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", Wed, 07 Jan 2015 23:40:56 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 26' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 26' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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, 07 Jan 2015 23:40: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", Wed, 07 Jan 2015 23:40:56 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 12], ["coalescing_panda_lti_account_id", 3], ["created_at", Wed, 07 Jan 2015 23:40:56 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:40:56 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Wed, 07 Jan 2015 23:40:56 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:40:56 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_section_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:40:56 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:40:56 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 27' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 27' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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, 07 Jan 2015 23:40: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", Wed, 07 Jan 2015 23:40:56 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 07 Jan 2015 23:40:56 UTC +00:00], ["email", "test3@test.com"], ["name", "Factory User 3"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:40:56 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 28' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 28' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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, 07 Jan 2015 23:40: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", Wed, 07 Jan 2015 23:40:56 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 29' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 29' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "29"], ["created_at", Wed, 07 Jan 2015 23:40: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", Wed, 07 Jan 2015 23:40:56 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Wed, 07 Jan 2015 23:40:56 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:40:56 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 9], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Wed, 07 Jan 2015 23:40:56 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:40:56 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Wed, 07 Jan 2015 23:40:56 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:40:56 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.6ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 30' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 30' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "30"], ["created_at", Wed, 07 Jan 2015 23:40: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", Wed, 07 Jan 2015 23:40:56 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.7ms)[0m 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, 07 Jan 2015 23:40:56 UTC +00:00], ["email", "test4@test.com"], ["name", "Factory User 4"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:40:56 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 31' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 31' LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "31"], ["created_at", Wed, 07 Jan 2015 23:40: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", Wed, 07 Jan 2015 23:40:56 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 32' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 32' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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, 07 Jan 2015 23:40: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", Wed, 07 Jan 2015 23:40:56 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 14], ["coalescing_panda_lti_account_id", 3], ["created_at", Wed, 07 Jan 2015 23:40:56 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:40:56 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Wed, 07 Jan 2015 23:40:56 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:40:56 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_section_id", 4], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:40:56 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:40:56 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m 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", Wed, 07 Jan 2015 23:40:56 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Wed, 07 Jan 2015 23:40:56 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_enrollment_id", 4], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Wed, 07 Jan 2015 23:40:56 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Wed, 07 Jan 2015 23:40:56 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 (?, ?, ?, ?, ?, ?) [1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1 [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 33' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 33' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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, 07 Jan 2015 23:40: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", Wed, 07 Jan 2015 23:40:56 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 5], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 07 Jan 2015 23:40:56 UTC +00:00], ["email", "test5@test.com"], ["name", "Factory User 5"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:40:56 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 34' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 34' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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, 07 Jan 2015 23:40: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", Wed, 07 Jan 2015 23:40:56 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 35' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 35' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "35"], ["created_at", Wed, 07 Jan 2015 23:40: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", Wed, 07 Jan 2015 23:40:56 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Wed, 07 Jan 2015 23:40:56 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:40:56 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 11], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Wed, 07 Jan 2015 23:40:56 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:40:56 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Wed, 07 Jan 2015 23:40:56 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:40:56 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_enrollment_id", 5], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Wed, 07 Jan 2015 23:40:56 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Wed, 07 Jan 2015 23:40:56 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Wed, 07 Jan 2015 23:40:56 UTC +00:00], ["enrollment_type", "TeacherEnrollment"], ["updated_at", Wed, 07 Jan 2015 23:40:56 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 36' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 36' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "36"], ["created_at", Wed, 07 Jan 2015 23:40: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", Wed, 07 Jan 2015 23:40:56 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.5ms)[0m 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, 07 Jan 2015 23:40:56 UTC +00:00], ["email", "test6@test.com"], ["name", "Factory User 6"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:40:56 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 37' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 37' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "37"], ["created_at", Wed, 07 Jan 2015 23:40: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", Wed, 07 Jan 2015 23:40:56 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 38' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 38' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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, 07 Jan 2015 23:40: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", Wed, 07 Jan 2015 23:40:56 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 16], ["coalescing_panda_lti_account_id", 3], ["created_at", Wed, 07 Jan 2015 23:40:56 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:40:56 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Wed, 07 Jan 2015 23:40:56 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:40:56 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_section_id", 6], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:40:56 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:40:56 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.6ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 39' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 39' LIMIT 1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 40' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 40' LIMIT 1[0m [1m[35mSQL (0.6ms)[0m INSERT INTO "coalescing_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, 07 Jan 2015 23:40: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", Wed, 07 Jan 2015 23:40:56 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 41' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 41' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "40"], ["created_at", Wed, 07 Jan 2015 23:40: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", Wed, 07 Jan 2015 23:40:56 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Wed, 07 Jan 2015 23:40:56 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:40:56 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 13], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Wed, 07 Jan 2015 23:40:56 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:40:56 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.5ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 42' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 42' LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "coalescing_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, 07 Jan 2015 23:40: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", Wed, 07 Jan 2015 23:40:56 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 43' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 43' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "42"], ["created_at", Wed, 07 Jan 2015 23:40: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", Wed, 07 Jan 2015 23:40:56 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Wed, 07 Jan 2015 23:40:56 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:40:56 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 14], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Wed, 07 Jan 2015 23:40:56 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:40:56 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.6ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 44' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 44' LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "coalescing_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, 07 Jan 2015 23:40: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", Wed, 07 Jan 2015 23:40:56 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 45' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 45' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "44"], ["created_at", Wed, 07 Jan 2015 23:40: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", Wed, 07 Jan 2015 23:40:56 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Wed, 07 Jan 2015 23:40:56 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:40:56 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 15], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Wed, 07 Jan 2015 23:40:56 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:40:56 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m 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", Wed, 07 Jan 2015 23:40:56 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:40:56 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_section_id", "1"], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:40:56 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:40: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 (?, ?, ?, ?) [1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1 [1m[36m (1.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.2ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 46' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 46' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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, 07 Jan 2015 23:40: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", Wed, 07 Jan 2015 23:40:56 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 47' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 47' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "46"], ["created_at", Wed, 07 Jan 2015 23:40: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", Wed, 07 Jan 2015 23:40:56 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m 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", Wed, 07 Jan 2015 23:40:56 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:40:56 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 16], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Wed, 07 Jan 2015 23:40:56 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:40:56 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 48' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 48' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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, 07 Jan 2015 23:40: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", Wed, 07 Jan 2015 23:40:56 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.8ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 7], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 07 Jan 2015 23:40:56 UTC +00:00], ["email", "test7@test.com"], ["name", "Factory User 7"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:40:56 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 49' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 49' LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "coalescing_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, 07 Jan 2015 23:40: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", Wed, 07 Jan 2015 23:40:56 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 50' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 50' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "49"], ["created_at", Wed, 07 Jan 2015 23:40: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", Wed, 07 Jan 2015 23:40:56 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Wed, 07 Jan 2015 23:40:56 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:40:56 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 17], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Wed, 07 Jan 2015 23:40:56 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:40:56 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_assignment_id", "3"], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:40:56 UTC +00:00], ["name", "test assignment"], ["submission_types", nil], ["updated_at", Wed, 07 Jan 2015 23:40:56 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (1.0ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 51' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 51' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "50"], ["created_at", Wed, 07 Jan 2015 23:40: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", Wed, 07 Jan 2015 23:40:56 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.6ms)[0m 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, 07 Jan 2015 23:40:56 UTC +00:00], ["email", "test8@test.com"], ["name", "Factory User 8"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:40:56 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 52' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 52' LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "51"], ["created_at", Wed, 07 Jan 2015 23:40: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", Wed, 07 Jan 2015 23:40:56 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 53' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 53' LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:40: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", Wed, 07 Jan 2015 23:40:56 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 22], ["coalescing_panda_lti_account_id", 3], ["created_at", Wed, 07 Jan 2015 23:40:56 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:40:56 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Wed, 07 Jan 2015 23:40:56 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:40:56 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_assignment_id", "4"], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:40:56 UTC +00:00], ["name", "test assignment"], ["submission_types", nil], ["updated_at", Wed, 07 Jan 2015 23:40:56 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.8ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 54' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 54' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:40: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", Wed, 07 Jan 2015 23:40:56 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 9], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 07 Jan 2015 23:40:56 UTC +00:00], ["email", "test9@test.com"], ["name", "Factory User 9"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:40:56 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 55' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 55' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:40: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", Wed, 07 Jan 2015 23:40:56 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 56' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 56' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "55"], ["created_at", Wed, 07 Jan 2015 23:40: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", Wed, 07 Jan 2015 23:40:56 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Wed, 07 Jan 2015 23:40:56 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:40:56 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 19], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Wed, 07 Jan 2015 23:40:56 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:40:56 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_assignment_id", "5"], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:40:56 UTC +00:00], ["name", "test assignment"], ["submission_types", nil], ["updated_at", Wed, 07 Jan 2015 23:40:56 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.8ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 57' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 57' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "56"], ["created_at", Wed, 07 Jan 2015 23:40: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", Wed, 07 Jan 2015 23:40:56 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.5ms)[0m 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, 07 Jan 2015 23:40:56 UTC +00:00], ["email", "test10@test.com"], ["name", "Factory User 10"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:40:56 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 58' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 58' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "57"], ["created_at", Wed, 07 Jan 2015 23:40: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", Wed, 07 Jan 2015 23:40:56 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 59' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 59' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:40: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", Wed, 07 Jan 2015 23:40:56 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 24], ["coalescing_panda_lti_account_id", 3], ["created_at", Wed, 07 Jan 2015 23:40:56 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:40:56 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Wed, 07 Jan 2015 23:40:57 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:40:57 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_assignment_id", "6"], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:40:57 UTC +00:00], ["name", "test assignment"], ["submission_types", nil], ["updated_at", Wed, 07 Jan 2015 23:40:57 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m 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", Wed, 07 Jan 2015 23:40:57 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:40:57 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["canvas_submission_id", "1"], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Wed, 07 Jan 2015 23:40:57 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:40:57 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 (?, ?, ?, ?, ?) [1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1 [1m[36m (0.9ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 60' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 60' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:40:57 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", Wed, 07 Jan 2015 23:40:57 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 11], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 07 Jan 2015 23:40:57 UTC +00:00], ["email", "test11@test.com"], ["name", "Factory User 11"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:40:57 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 61' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 61' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:40:57 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", Wed, 07 Jan 2015 23:40:57 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 62' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 62' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "61"], ["created_at", Wed, 07 Jan 2015 23:40:57 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", Wed, 07 Jan 2015 23:40:57 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Wed, 07 Jan 2015 23:40:57 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:40:57 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 21], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Wed, 07 Jan 2015 23:40:57 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:40:57 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_assignment_id", "7"], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:40:57 UTC +00:00], ["name", "test assignment"], ["submission_types", nil], ["updated_at", Wed, 07 Jan 2015 23:40:57 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["canvas_submission_id", "1"], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Wed, 07 Jan 2015 23:40:57 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:40:57 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Wed, 07 Jan 2015 23:40:57 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:40:57 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.8ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 63' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 63' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "62"], ["created_at", Wed, 07 Jan 2015 23:40:57 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", Wed, 07 Jan 2015 23:40:57 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.5ms)[0m 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, 07 Jan 2015 23:40:57 UTC +00:00], ["email", "test12@test.com"], ["name", "Factory User 12"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:40:57 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 64' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 64' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "63"], ["created_at", Wed, 07 Jan 2015 23:40:57 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", Wed, 07 Jan 2015 23:40:57 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 65' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 65' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:40:57 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", Wed, 07 Jan 2015 23:40:57 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 26], ["coalescing_panda_lti_account_id", 3], ["created_at", Wed, 07 Jan 2015 23:40:57 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:40:57 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "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", Wed, 07 Jan 2015 23:40:57 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:40:57 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_assignment_id", "8"], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:40:57 UTC +00:00], ["name", "test assignment"], ["submission_types", nil], ["updated_at", Wed, 07 Jan 2015 23:40:57 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (1.0ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 66' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 66' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:40:57 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", Wed, 07 Jan 2015 23:40:57 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.4ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 67' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 67' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "66"], ["created_at", Wed, 07 Jan 2015 23:40:57 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", Wed, 07 Jan 2015 23:40:57 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.6ms)[0m 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", Wed, 07 Jan 2015 23:40:57 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:40:57 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 07 Jan 2015 23:40:57 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:40:57 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 (?, ?, ?, ?) [1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1 [1m[36m (0.9ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.2ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 68' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 68' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:40:57 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", Wed, 07 Jan 2015 23:40:57 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.6ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 69' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 69' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "68"], ["created_at", Wed, 07 Jan 2015 23:40:57 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", Wed, 07 Jan 2015 23:40:57 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.4ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 70' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 70' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:40:57 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", Wed, 07 Jan 2015 23:40:57 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 07 Jan 2015 23:40:57 UTC +00:00], ["email", "test15@test.com"], ["name", "Factory User 15"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:40:57 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m 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, 07 Jan 2015 23:40:57 UTC +00:00], ["email", "test16@test.com"], ["name", "Factory User 16"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:40:57 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 (?, ?, ?, ?, ?, ?, ?) [1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 71' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 71' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "70"], ["created_at", Wed, 07 Jan 2015 23:40:57 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", Wed, 07 Jan 2015 23:40:57 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.3ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 72' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 72' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:40:57 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", Wed, 07 Jan 2015 23:40:57 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 73' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 73' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "72"], ["created_at", Wed, 07 Jan 2015 23:40:57 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", Wed, 07 Jan 2015 23:40:57 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Wed, 07 Jan 2015 23:40:57 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:40:57 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 23], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Wed, 07 Jan 2015 23:40:57 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:40:57 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:40:57 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:40:57 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::CanvasBatch Load (0.2ms)[0m SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" ORDER BY created_at ASC LIMIT 1 [1m[36m (0.8ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 74' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 74' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:40:57 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", Wed, 07 Jan 2015 23:40:57 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 75' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 75' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "74"], ["created_at", Wed, 07 Jan 2015 23:40:57 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", Wed, 07 Jan 2015 23:40:57 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Wed, 07 Jan 2015 23:40:57 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:40:57 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 24], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Wed, 07 Jan 2015 23:40:57 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:40:57 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:40:57 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:40:57 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 76' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 76' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "75"], ["created_at", Wed, 07 Jan 2015 23:40:57 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", Wed, 07 Jan 2015 23:40:57 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 77' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 77' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:40:57 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", Wed, 07 Jan 2015 23:40:57 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 30], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:40:57 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:40:57 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "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", Wed, 07 Jan 2015 23:40:57 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:40:57 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Wed, 07 Jan 2015 23:40:57 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:40:57 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m UPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["status", "Started"], ["updated_at", Wed, 07 Jan 2015 23:40:57 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Section Load (0.1ms)[0m SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "coalescing_panda_sections" ("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, 07 Jan 2015 23:40:57 UTC +00:00], ["name", "Course1"], ["updated_at", Wed, 07 Jan 2015 23:40:57 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mUPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1[0m [["percent_complete", 20.0], ["updated_at", Wed, 07 Jan 2015 23:40:57 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::User Load (0.1ms)[0m [1mSELECT "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[0m [["coalescing_panda_lti_account_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 07 Jan 2015 23:40:57 UTC +00:00], ["name", "teacher@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:40:57 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::User Load (0.1ms)[0m [1mSELECT "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[0m [["coalescing_panda_lti_account_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 07 Jan 2015 23:40:57 UTC +00:00], ["name", "student1@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:40:57 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::User Load (0.1ms)[0m [1mSELECT "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[0m [["coalescing_panda_lti_account_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 07 Jan 2015 23:40:57 UTC +00:00], ["name", "student2@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:40:57 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 40.0], ["updated_at", Wed, 07 Jan 2015 23:40:57 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Enrollment Load (0.1ms)[0m SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '1') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36mCoalescingPanda::User Load (0.1ms)[0m [1mSELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '1' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1[0m [["coalescing_panda_lti_account_id", 1]] [1m[35mCoalescingPanda::Section Load (0.1ms)[0m SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "coalescing_panda_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"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Enrollment Load (0.1ms)[0m SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '2') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36mCoalescingPanda::User Load (0.1ms)[0m [1mSELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1[0m [["coalescing_panda_lti_account_id", 1]] [1m[35mCoalescingPanda::Section Load (0.0ms)[0m SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_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"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Enrollment Load (0.1ms)[0m SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '3') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36mCoalescingPanda::User Load (0.1ms)[0m [1mSELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1[0m [["coalescing_panda_lti_account_id", 1]] [1m[35mCoalescingPanda::Section Load (0.0ms)[0m SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_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"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mUPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1[0m [["percent_complete", 60.0], ["updated_at", Wed, 07 Jan 2015 23:40:57 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::Assignment Load (0.1ms)[0m [1mSELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "grade_group_students_individually", "name", "points_possible", "published", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_assignment_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 18:04:38 UTC +00:00], ["description", "What is your name?
"], ["grade_group_students_individually", false], ["name", "Gimme your name"], ["points_possible", 100.0], ["published", true], ["submission_types", "---\n- online_text_entry\n"], ["updated_at", Tue, 18 Nov 2014 18:04:42 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::Assignment Load (0.1ms)[0m [1mSELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "grade_group_students_individually", "name", "points_possible", "published", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_assignment_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 19:10:28 UTC +00:00], ["description", "What is your Favorite Color?
"], ["grade_group_students_individually", false], ["name", "Favorite Color"], ["points_possible", 100.0], ["published", true], ["submission_types", "---\n- online_text_entry\n"], ["updated_at", Tue, 18 Nov 2014 19:10:30 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 80.0], ["updated_at", Wed, 07 Jan 2015 23:40:57 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Assignment Load (0.1ms)[0m SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? [["coalescing_panda_course_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 100.0], ["updated_at", Wed, 07 Jan 2015 23:40:57 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mUPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1[0m [["percent_complete", 120.0], ["updated_at", Wed, 07 Jan 2015 23:40:57 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 140.0], ["updated_at", Wed, 07 Jan 2015 23:40:57 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mUPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1[0m [["status", "Completed"], ["percent_complete", 100.0], ["updated_at", Wed, 07 Jan 2015 23:40:57 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (1.7ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 78' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 78' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:40:57 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", Wed, 07 Jan 2015 23:40:57 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 79' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 79' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "78"], ["created_at", Wed, 07 Jan 2015 23:40:57 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", Wed, 07 Jan 2015 23:40:57 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Wed, 07 Jan 2015 23:40:57 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:40:57 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 26], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Wed, 07 Jan 2015 23:40:57 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:40:57 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:40:57 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:40:57 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 80' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 80' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "79"], ["created_at", Wed, 07 Jan 2015 23:40:57 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", Wed, 07 Jan 2015 23:40:57 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 81' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 81' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:40:57 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", Wed, 07 Jan 2015 23:40:57 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 32], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:40:57 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:40:57 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Wed, 07 Jan 2015 23:40:57 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:40:57 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Wed, 07 Jan 2015 23:40:57 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:40:57 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mCoalescingPanda::Section Load (0.1ms)[0m [1mSELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections"[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 82' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 82' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "81"], ["created_at", Wed, 07 Jan 2015 23:40:57 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", Wed, 07 Jan 2015 23:40:57 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 83' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 83' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:40:57 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", Wed, 07 Jan 2015 23:40:57 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 33], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:40:57 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:40:57 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Wed, 07 Jan 2015 23:40:57 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:40:57 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Wed, 07 Jan 2015 23:40:57 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:40:57 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::Section Load (0.1ms)[0m [1mSELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:40:57 UTC +00:00], ["name", "Course1"], ["updated_at", Wed, 07 Jan 2015 23:40:57 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "coalescing_panda_sections"[0m [1m[35m (0.9ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mCoalescingPanda::User Load (0.1ms)[0m SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 84' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 84' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:40:57 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", Wed, 07 Jan 2015 23:40:57 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 85' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 85' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "84"], ["created_at", Wed, 07 Jan 2015 23:40:57 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", Wed, 07 Jan 2015 23:40:57 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Wed, 07 Jan 2015 23:40:57 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:40:57 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 29], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Wed, 07 Jan 2015 23:40:57 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:40:57 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:40:57 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:40:57 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::User Load (0.1ms)[0m 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]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "coalescing_panda_users" ("canvas_user_id", "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, 07 Jan 2015 23:40:57 UTC +00:00], ["name", "teacher@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:40:57 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::User Load (0.0ms)[0m 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]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_users" ("canvas_user_id", "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, 07 Jan 2015 23:40:57 UTC +00:00], ["name", "student1@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:40:57 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::User Load (0.0ms)[0m 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]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_users" ("canvas_user_id", "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, 07 Jan 2015 23:40:57 UTC +00:00], ["name", "student2@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:40:57 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "coalescing_panda_users" [1m[36m (0.6ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mCoalescingPanda::Enrollment Load (0.1ms)[0m [1mSELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments"[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 86' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 86' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "85"], ["created_at", Wed, 07 Jan 2015 23:40:57 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", Wed, 07 Jan 2015 23:40:57 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 87' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 87' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:40:57 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", Wed, 07 Jan 2015 23:40:57 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 35], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:40:57 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:40:57 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Wed, 07 Jan 2015 23:40:57 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:40:57 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Wed, 07 Jan 2015 23:40:57 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:40:57 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::Section Load (0.1ms)[0m [1mSELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:40:57 UTC +00:00], ["name", "Course1"], ["updated_at", Wed, 07 Jan 2015 23:40:57 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::User Load (0.1ms)[0m [1mSELECT "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[0m [["coalescing_panda_lti_account_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 07 Jan 2015 23:40:57 UTC +00:00], ["name", "teacher@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:40:57 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::User Load (0.0ms)[0m [1mSELECT "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[0m [["coalescing_panda_lti_account_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 07 Jan 2015 23:40:57 UTC +00:00], ["name", "student1@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:40:57 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::User Load (0.0ms)[0m [1mSELECT "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[0m [["coalescing_panda_lti_account_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 07 Jan 2015 23:40:57 UTC +00:00], ["name", "student2@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:40:57 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::Enrollment Load (0.0ms)[0m [1mSELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '1') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35mCoalescingPanda::User Load (0.0ms)[0m SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '1' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] [1m[36mCoalescingPanda::Section Load (0.0ms)[0m [1mSELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["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"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::Enrollment Load (0.0ms)[0m [1mSELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '2') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35mCoalescingPanda::User Load (0.0ms)[0m SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] [1m[36mCoalescingPanda::Section Load (0.0ms)[0m [1mSELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["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"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::Enrollment Load (0.0ms)[0m [1mSELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '3') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35mCoalescingPanda::User Load (0.0ms)[0m SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] [1m[36mCoalescingPanda::Section Load (0.0ms)[0m [1mSELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["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"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "coalescing_panda_enrollments"[0m [1m[35mCoalescingPanda::Enrollment Load (0.1ms)[0m SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" ORDER BY "coalescing_panda_enrollments"."id" DESC LIMIT 1 [1m[36m (1.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mCoalescingPanda::Assignment Load (0.2ms)[0m [1mSELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments"[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 88' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 88' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "87"], ["created_at", Wed, 07 Jan 2015 23:40:57 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", Wed, 07 Jan 2015 23:40:57 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 89' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 89' LIMIT 1[0m [1m[35mSQL (0.7ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:40:57 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", Wed, 07 Jan 2015 23:40:57 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 36], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:40:57 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:40:57 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "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", Wed, 07 Jan 2015 23:40:57 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:40:57 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Wed, 07 Jan 2015 23:40:57 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:40:57 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::Assignment Load (0.0ms)[0m [1mSELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "grade_group_students_individually", "name", "points_possible", "published", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_assignment_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 18:04:38 UTC +00:00], ["description", "What is your name?
"], ["grade_group_students_individually", false], ["name", "Gimme your name"], ["points_possible", 100.0], ["published", true], ["submission_types", "---\n- online_text_entry\n"], ["updated_at", Tue, 18 Nov 2014 18:04:42 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::Assignment Load (0.0ms)[0m [1mSELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "grade_group_students_individually", "name", "points_possible", "published", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_assignment_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 19:10:28 UTC +00:00], ["description", "What is your Favorite Color?
"], ["grade_group_students_individually", false], ["name", "Favorite Color"], ["points_possible", 100.0], ["published", true], ["submission_types", "---\n- online_text_entry\n"], ["updated_at", Tue, 18 Nov 2014 19:10:30 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "coalescing_panda_assignments"[0m [1m[35m (0.8ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mCoalescingPanda::Submission Load (0.2ms)[0m SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 90' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 90' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:40:57 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", Wed, 07 Jan 2015 23:40:57 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 91' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 91' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "90"], ["created_at", Wed, 07 Jan 2015 23:40:57 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", Wed, 07 Jan 2015 23:40:57 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m 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", Wed, 07 Jan 2015 23:40:57 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:40:57 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 32], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Wed, 07 Jan 2015 23:40:57 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:40:57 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:40:57 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:40:57 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::User Load (0.0ms)[0m 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]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_users" ("canvas_user_id", "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, 07 Jan 2015 23:40:57 UTC +00:00], ["name", "teacher@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:40:57 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::User Load (0.0ms)[0m 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]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_users" ("canvas_user_id", "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, 07 Jan 2015 23:40:57 UTC +00:00], ["name", "student1@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:40:57 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::User Load (0.0ms)[0m 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]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_users" ("canvas_user_id", "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, 07 Jan 2015 23:40:57 UTC +00:00], ["name", "student2@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:40:57 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Assignment Load (0.0ms)[0m SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "grade_group_students_individually", "name", "points_possible", "published", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 18:04:38 UTC +00:00], ["description", "What is your name?
"], ["grade_group_students_individually", false], ["name", "Gimme your name"], ["points_possible", 100.0], ["published", true], ["submission_types", "---\n- online_text_entry\n"], ["updated_at", Tue, 18 Nov 2014 18:04:42 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Assignment Load (0.0ms)[0m SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "grade_group_students_individually", "name", "points_possible", "published", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 19:10:28 UTC +00:00], ["description", "What is your Favorite Color?
"], ["grade_group_students_individually", false], ["name", "Favorite Color"], ["points_possible", 100.0], ["published", true], ["submission_types", "---\n- online_text_entry\n"], ["updated_at", Tue, 18 Nov 2014 19:10:30 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Submission Load (0.1ms)[0m SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '3') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36mCoalescingPanda::User Load (0.1ms)[0m [1mSELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1[0m [["coalescing_panda_lti_account_id", 1]] [1m[35mCoalescingPanda::Assignment Load (0.1ms)[0m SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_panda_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, 07 Jan 2015 23:40:57 UTC +00:00], ["grade", "70"], ["score", 70], ["updated_at", Wed, 07 Jan 2015 23:40:57 UTC +00:00], ["workflow_state", "graded"]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Submission Load (0.2ms)[0m SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '1') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36mCoalescingPanda::User Load (0.1ms)[0m [1mSELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1[0m [["coalescing_panda_lti_account_id", 1]] [1m[35mCoalescingPanda::Assignment Load (0.1ms)[0m SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_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, 07 Jan 2015 23:40:57 UTC +00:00], ["grade", "100"], ["score", 100], ["updated_at", Wed, 07 Jan 2015 23:40:57 UTC +00:00], ["workflow_state", "graded"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Submission Load (0.2ms)[0m SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '4') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36mCoalescingPanda::User Load (0.0ms)[0m [1mSELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1[0m [["coalescing_panda_lti_account_id", 1]] [1m[35mCoalescingPanda::Assignment Load (0.1ms)[0m SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "coalescing_panda_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, 07 Jan 2015 23:40:57 UTC +00:00], ["grade", "90"], ["score", 90], ["updated_at", Wed, 07 Jan 2015 23:40:57 UTC +00:00], ["workflow_state", "graded"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Submission Load (0.2ms)[0m SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '2') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36mCoalescingPanda::User Load (0.0ms)[0m [1mSELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1[0m [["coalescing_panda_lti_account_id", 1]] [1m[35mCoalescingPanda::Assignment Load (0.0ms)[0m SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_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, 07 Jan 2015 23:40:57 UTC +00:00], ["grade", "80"], ["score", 80], ["updated_at", Wed, 07 Jan 2015 23:40:57 UTC +00:00], ["workflow_state", "graded"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "coalescing_panda_submissions" [1m[36m (0.9ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 92' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 92' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:40:57 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", Wed, 07 Jan 2015 23:40:57 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 93' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 93' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "92"], ["created_at", Wed, 07 Jan 2015 23:40:57 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", Wed, 07 Jan 2015 23:40:57 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m 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", Wed, 07 Jan 2015 23:40:57 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:40:57 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 33], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Wed, 07 Jan 2015 23:40:57 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:40:57 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:40:57 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:40:57 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.8ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 94' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 94' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "93"], ["created_at", Wed, 07 Jan 2015 23:40:57 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", Wed, 07 Jan 2015 23:40:57 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 95' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 95' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:40:57 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", Wed, 07 Jan 2015 23:40:57 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 39], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:40:57 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:40:57 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "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", Wed, 07 Jan 2015 23:40:57 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:40:57 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Wed, 07 Jan 2015 23:40:57 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:40:57 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.9ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 96' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 96' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:40:57 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", Wed, 07 Jan 2015 23:40:57 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 97' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 97' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "96"], ["created_at", Wed, 07 Jan 2015 23:40:57 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", Wed, 07 Jan 2015 23:40:57 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Wed, 07 Jan 2015 23:40:57 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:40:57 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 35], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Wed, 07 Jan 2015 23:40:57 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:40:57 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:40:57 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:40:57 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.9ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 98' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 98' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "97"], ["created_at", Wed, 07 Jan 2015 23:40:57 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", Wed, 07 Jan 2015 23:40:57 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 99' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 99' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:40:57 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", Wed, 07 Jan 2015 23:40:57 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 41], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:40:57 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:40:57 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Wed, 07 Jan 2015 23:40:57 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:40:57 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Wed, 07 Jan 2015 23:40:57 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:40:57 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 100' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 100' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:40:57 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", Wed, 07 Jan 2015 23:40:57 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 101' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 101' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "100"], ["created_at", Wed, 07 Jan 2015 23:40:57 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", Wed, 07 Jan 2015 23:40:57 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Wed, 07 Jan 2015 23:40:57 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:40:57 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 37], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Wed, 07 Jan 2015 23:40:57 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:40:57 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:40:57 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:40:57 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.8ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 102' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 102' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "101"], ["created_at", Wed, 07 Jan 2015 23:40:57 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", Wed, 07 Jan 2015 23:40:57 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 103' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 103' LIMIT 1[0m [1m[35mSQL (0.6ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:40:57 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", Wed, 07 Jan 2015 23:40:57 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 43], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:40:57 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:40:57 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "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", Wed, 07 Jan 2015 23:40:57 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:40:57 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Wed, 07 Jan 2015 23:40:57 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:40:57 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.8ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 104' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 104' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:40:57 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", Wed, 07 Jan 2015 23:40:57 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 105' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 105' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "104"], ["created_at", Wed, 07 Jan 2015 23:40:57 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", Wed, 07 Jan 2015 23:40:57 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Wed, 07 Jan 2015 23:40:57 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:40:57 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 39], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Wed, 07 Jan 2015 23:40:57 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:40:57 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:40:57 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:40:57 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.9ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 106' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 106' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "105"], ["created_at", Wed, 07 Jan 2015 23:40:57 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", Wed, 07 Jan 2015 23:40:57 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 107' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 107' LIMIT 1[0m [1m[35mSQL (0.6ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:40:57 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", Wed, 07 Jan 2015 23:40:57 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 45], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:40:57 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:40:57 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "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", Wed, 07 Jan 2015 23:40:57 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:40:57 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Wed, 07 Jan 2015 23:40:57 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:40:57 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.9ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 108' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 108' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:40:57 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", Wed, 07 Jan 2015 23:40:57 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 109' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 109' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "108"], ["created_at", Wed, 07 Jan 2015 23:40:57 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", Wed, 07 Jan 2015 23:40:57 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Wed, 07 Jan 2015 23:40:57 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:40:57 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 41], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Wed, 07 Jan 2015 23:40:57 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:40:57 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:40:57 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:40:57 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.9ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 110' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 110' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "109"], ["created_at", Wed, 07 Jan 2015 23:40:57 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", Wed, 07 Jan 2015 23:40:57 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 111' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 111' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:40:57 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", Wed, 07 Jan 2015 23:40:57 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 47], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:40:57 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:40:57 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Wed, 07 Jan 2015 23:40:57 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:40:57 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_section_id", 9], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:40:57 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:40:57 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 112' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 112' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:40:57 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", Wed, 07 Jan 2015 23:40:57 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 113' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 113' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "112"], ["created_at", Wed, 07 Jan 2015 23:40:57 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", Wed, 07 Jan 2015 23:40:57 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Wed, 07 Jan 2015 23:40:57 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:40:57 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 43], ["coalescing_panda_lti_account_id", 3], ["coalescing_panda_term_id", 2], ["created_at", Wed, 07 Jan 2015 23:40:57 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:40:57 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Course Load (0.2ms)[0m SELECT "coalescing_panda_courses".* FROM "coalescing_panda_courses" WHERE "coalescing_panda_courses"."id" = ? LIMIT 1 [["id", 2]] [1m[36mSQL (0.2ms)[0m [1mUPDATE "coalescing_panda_sections" SET "coalescing_panda_course_id" = ?, "updated_at" = ? WHERE "coalescing_panda_sections"."id" = 1[0m [["coalescing_panda_course_id", 2], ["updated_at", Wed, 07 Jan 2015 23:40:57 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:40:57 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:40:57 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 15], ["coalescing_panda_lti_account_id", 3], ["created_at", Wed, 07 Jan 2015 23:40:57 UTC +00:00], ["email", "test18@test.com"], ["name", "Factory User 18"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:40:57 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::User Load (0.1ms)[0m [1mSELECT "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[0m [["coalescing_panda_lti_account_id", 3]] [1m[35mCoalescingPanda::Section Load (0.1ms)[0m 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]] [1m[36m (1.0ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 114' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 114' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:40:57 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", Wed, 07 Jan 2015 23:40:57 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 115' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 115' LIMIT 1 [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "114"], ["created_at", Wed, 07 Jan 2015 23:40:57 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", Wed, 07 Jan 2015 23:40:57 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Wed, 07 Jan 2015 23:40:57 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:40:57 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 44], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Wed, 07 Jan 2015 23:40:57 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:40:57 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:40:57 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:40:57 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.8ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 116' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 116' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "115"], ["created_at", Wed, 07 Jan 2015 23:40:57 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", Wed, 07 Jan 2015 23:40:57 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 117' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 117' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:40:57 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", Wed, 07 Jan 2015 23:40:57 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 50], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:40:57 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:40:57 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "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", Wed, 07 Jan 2015 23:40:57 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:40:57 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_assignment_id", "9"], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:40:57 UTC +00:00], ["name", "test assignment"], ["submission_types", nil], ["updated_at", Wed, 07 Jan 2015 23:40:57 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:40:57 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:40:57 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 16], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 07 Jan 2015 23:40:57 UTC +00:00], ["email", "test19@test.com"], ["name", "Factory User 19"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:40:57 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::User Load (0.1ms)[0m [1mSELECT "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[0m [["coalescing_panda_lti_account_id", 1]] [1m[35mCoalescingPanda::Assignment Load (0.1ms)[0m 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]] [1m[36m (0.9ms)[0m [1mrollback transaction[0m [1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m [1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations" [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m Processing by CoalescingPanda::LtiController#lti_config as HTML Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms) [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m Processing by CoalescingPanda::LtiController#lti_config as HTML Completed 500 Internal Server Error in 1ms [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m Processing by CoalescingPanda::Oauth2Controller#redirect as HTML Parameters: {"user_id"=>"1", "api_domain"=>"foo.com", "code"=>"bar"} Completed 200 OK in 5ms (Views: 4.9ms | ActiveRecord: 0.0ms) [1m[35mCoalescingPanda::CanvasApiAuth Load (0.1ms)[0m 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 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction Processing by CoalescingPanda::Oauth2Controller#redirect as HTML Parameters: {"error"=>"your face"} Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "coalescing_panda_canvas_api_auths"[0m [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 1' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 1' LIMIT 1 [1m[36mSQL (2.3ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "1"], ["created_at", Wed, 07 Jan 2015 23:41: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", Wed, 07 Jan 2015 23:41:39 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 2' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 2' LIMIT 1[0m [1m[35mSQL (1.3ms)[0m INSERT INTO "coalescing_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, 07 Jan 2015 23:41: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", Wed, 07 Jan 2015 23:41:39 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 1], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:41:39 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:41:39 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "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", Wed, 07 Jan 2015 23:41:39 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:41:39 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (1.4ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 3' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 3' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "3"], ["created_at", Wed, 07 Jan 2015 23:41: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", Wed, 07 Jan 2015 23:41:39 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 4' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 4' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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, 07 Jan 2015 23:41: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", Wed, 07 Jan 2015 23:41:39 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 2], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:41:39 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:41:39 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Wed, 07 Jan 2015 23:41:39 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:41:39 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 5' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 5' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "5"], ["created_at", Wed, 07 Jan 2015 23:41: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", Wed, 07 Jan 2015 23:41:39 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 6' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 6' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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, 07 Jan 2015 23:41: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", Wed, 07 Jan 2015 23:41:39 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 3], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:41:39 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:41:39 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Wed, 07 Jan 2015 23:41:39 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:41:39 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_assignment_id", "1"], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:41:39 UTC +00:00], ["name", "test assignment"], ["submission_types", nil], ["updated_at", Wed, 07 Jan 2015 23:41:39 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_assignment_id", "1"], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:41:39 UTC +00:00], ["name", "test assignment"], ["submission_types", nil], ["updated_at", Wed, 07 Jan 2015 23:41:39 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", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m [1m[35m (0.8ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 7' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 7' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "7"], ["created_at", Wed, 07 Jan 2015 23:41: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", Wed, 07 Jan 2015 23:41:39 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 8' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 8' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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, 07 Jan 2015 23:41: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", Wed, 07 Jan 2015 23:41:39 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 4], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:41:39 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:41:39 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Wed, 07 Jan 2015 23:41:39 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:41:39 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mCoalescingPanda::CanvasApiAuth Load (0.1ms)[0m SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" ORDER BY "coalescing_panda_canvas_api_auths"."id" ASC LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_panda_canvas_api_auths" ("created_at", "updated_at", "user_id") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:41:39 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:41:39 UTC +00:00], ["user_id", "a"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::CanvasApiAuth Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1 [1m[36mCoalescingPanda::CanvasApiAuth Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1[0m [1m[35mCoalescingPanda::CanvasApiAuth Load (0.1ms)[0m SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" [1m[36mCoalescingPanda::CanvasApiAuth Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" = '1') LIMIT 1[0m [1m[35mCoalescingPanda::CanvasApiAuth Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" = '1') LIMIT 1 [1m[36m (0.5ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mCoalescingPanda::CanvasApiAuth Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1[0m [1m[35mCoalescingPanda::CanvasApiAuth Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mCoalescingPanda::CanvasApiAuth Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1[0m [1m[35mCoalescingPanda::CanvasApiAuth Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:41:39 UTC +00:00], ["status", "Pending"], ["updated_at", Wed, 07 Jan 2015 23:41:39 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Wed, 07 Jan 2015 23:41:39 UTC +00:00], ["status", "Pending"], ["updated_at", Wed, 07 Jan 2015 23:41:39 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:41:39 UTC +00:00], ["status", "Pending"], ["updated_at", Wed, 07 Jan 2015 23:41:39 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::CanvasBatch Load (0.1ms)[0m SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" ORDER BY created_at DESC [1m[36m (0.5ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 9' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 9' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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, 07 Jan 2015 23:41:39 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, 07 Jan 2015 23:41:39 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 10' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 10' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "10"], ["created_at", Wed, 07 Jan 2015 23:41:39 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, 07 Jan 2015 23:41:39 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Wed, 07 Jan 2015 23:41:39 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:41:39 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.6ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 11' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 11' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "11"], ["created_at", Wed, 07 Jan 2015 23:41:39 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, 07 Jan 2015 23:41:39 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 12' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 12' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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, 07 Jan 2015 23:41:39 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, 07 Jan 2015 23:41:39 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 6], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:41:39 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:41:39 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.6ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.2ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 13' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 13' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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, 07 Jan 2015 23:41: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", Wed, 07 Jan 2015 23:41:39 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 14' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 14' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "14"], ["created_at", Wed, 07 Jan 2015 23:41:39 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, 07 Jan 2015 23:41:39 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Wed, 07 Jan 2015 23:41:39 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:41:39 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Wed, 07 Jan 2015 23:41:39 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:41:39 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 15' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 15' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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, 07 Jan 2015 23:41:39 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, 07 Jan 2015 23:41:39 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 8], ["coalescing_panda_lti_account_id", 3], ["created_at", Wed, 07 Jan 2015 23:41:39 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:41:39 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "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", Wed, 07 Jan 2015 23:41:39 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:41:39 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 (?, ?, ?, ?, ?, ?) [1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 16' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 16' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "16"], ["created_at", Wed, 07 Jan 2015 23:41:39 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, 07 Jan 2015 23:41:39 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.5ms)[0m 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", Wed, 07 Jan 2015 23:41:39 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:41:39 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 17' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 17' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "17"], ["created_at", Wed, 07 Jan 2015 23:41:39 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, 07 Jan 2015 23:41:39 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Wed, 07 Jan 2015 23:41:39 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:41:39 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 18' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 18' LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "18"], ["created_at", Wed, 07 Jan 2015 23:41:39 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, 07 Jan 2015 23:41:39 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "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", Wed, 07 Jan 2015 23:41:39 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:41:39 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 (?, ?, ?, ?, ?, ?) [1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m [1m[35m (0.6ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 19' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 19' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "19"], ["created_at", Wed, 07 Jan 2015 23:41:39 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, 07 Jan 2015 23:41:39 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 20' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 20' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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, 07 Jan 2015 23:41:39 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, 07 Jan 2015 23:41:39 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 10], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:41:39 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:41:39 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.6ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 21' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 21' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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, 07 Jan 2015 23:41:39 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, 07 Jan 2015 23:41:39 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.7ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 07 Jan 2015 23:41:39 UTC +00:00], ["email", "test1@test.com"], ["name", "Factory User 1"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:41:39 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 22' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 22' LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "coalescing_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, 07 Jan 2015 23:41:39 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, 07 Jan 2015 23:41:39 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 23' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 23' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "23"], ["created_at", Wed, 07 Jan 2015 23:41:39 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, 07 Jan 2015 23:41:39 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Wed, 07 Jan 2015 23:41:39 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:41:39 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 7], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Wed, 07 Jan 2015 23:41:39 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:41:39 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m 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", Wed, 07 Jan 2015 23:41:39 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:41:39 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 24' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 24' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "24"], ["created_at", Wed, 07 Jan 2015 23:41:39 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, 07 Jan 2015 23:41:39 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (1.0ms)[0m 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, 07 Jan 2015 23:41:39 UTC +00:00], ["email", "test2@test.com"], ["name", "Factory User 2"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:41:39 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 25' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 25' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "25"], ["created_at", Wed, 07 Jan 2015 23:41:39 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, 07 Jan 2015 23:41:39 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 26' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 26' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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, 07 Jan 2015 23:41: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, 07 Jan 2015 23:41:39 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 12], ["coalescing_panda_lti_account_id", 3], ["created_at", Wed, 07 Jan 2015 23:41:39 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:41:39 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Wed, 07 Jan 2015 23:41:39 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:41:39 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_section_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:41:39 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:41:39 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 27' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 27' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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, 07 Jan 2015 23:41: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, 07 Jan 2015 23:41:39 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 07 Jan 2015 23:41:39 UTC +00:00], ["email", "test3@test.com"], ["name", "Factory User 3"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:41:39 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 28' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 28' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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, 07 Jan 2015 23:41: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, 07 Jan 2015 23:41:39 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 29' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 29' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "29"], ["created_at", Wed, 07 Jan 2015 23:41: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, 07 Jan 2015 23:41:39 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Wed, 07 Jan 2015 23:41:39 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:41:39 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 9], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Wed, 07 Jan 2015 23:41:39 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:41:39 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Wed, 07 Jan 2015 23:41:39 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:41:39 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 30' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 30' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "30"], ["created_at", Wed, 07 Jan 2015 23:41: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, 07 Jan 2015 23:41:39 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.5ms)[0m 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, 07 Jan 2015 23:41:39 UTC +00:00], ["email", "test4@test.com"], ["name", "Factory User 4"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:41:39 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 31' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 31' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "31"], ["created_at", Wed, 07 Jan 2015 23:41: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, 07 Jan 2015 23:41:39 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 32' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 32' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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, 07 Jan 2015 23:41: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, 07 Jan 2015 23:41:39 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 14], ["coalescing_panda_lti_account_id", 3], ["created_at", Wed, 07 Jan 2015 23:41:39 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:41:39 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Wed, 07 Jan 2015 23:41:39 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:41:39 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_section_id", 4], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:41:39 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:41:39 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m 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", Wed, 07 Jan 2015 23:41:39 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Wed, 07 Jan 2015 23:41:39 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_enrollment_id", 4], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Wed, 07 Jan 2015 23:41:39 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Wed, 07 Jan 2015 23:41:39 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 (?, ?, ?, ?, ?, ?) [1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1 [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 33' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 33' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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, 07 Jan 2015 23:41: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, 07 Jan 2015 23:41:39 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 5], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 07 Jan 2015 23:41:39 UTC +00:00], ["email", "test5@test.com"], ["name", "Factory User 5"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:41:39 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 34' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 34' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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, 07 Jan 2015 23:41: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, 07 Jan 2015 23:41:39 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 35' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 35' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "35"], ["created_at", Wed, 07 Jan 2015 23:41: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, 07 Jan 2015 23:41:39 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Wed, 07 Jan 2015 23:41:39 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:41:39 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 11], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Wed, 07 Jan 2015 23:41:39 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:41:39 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Wed, 07 Jan 2015 23:41:39 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:41:39 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_enrollment_id", 5], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Wed, 07 Jan 2015 23:41:39 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Wed, 07 Jan 2015 23:41:39 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m 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", Wed, 07 Jan 2015 23:41:39 UTC +00:00], ["enrollment_type", "TeacherEnrollment"], ["updated_at", Wed, 07 Jan 2015 23:41:39 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 36' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 36' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "36"], ["created_at", Wed, 07 Jan 2015 23:41: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, 07 Jan 2015 23:41:39 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.5ms)[0m 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, 07 Jan 2015 23:41:39 UTC +00:00], ["email", "test6@test.com"], ["name", "Factory User 6"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:41:39 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 37' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 37' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "37"], ["created_at", Wed, 07 Jan 2015 23:41: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, 07 Jan 2015 23:41:39 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 38' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 38' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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, 07 Jan 2015 23:41: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, 07 Jan 2015 23:41:39 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 16], ["coalescing_panda_lti_account_id", 3], ["created_at", Wed, 07 Jan 2015 23:41:39 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:41:39 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Wed, 07 Jan 2015 23:41:39 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:41:39 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_section_id", 6], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:41:39 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:41:39 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 39' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 39' LIMIT 1 [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 40' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 40' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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, 07 Jan 2015 23:41: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, 07 Jan 2015 23:41:39 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 41' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 41' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "40"], ["created_at", Wed, 07 Jan 2015 23:41: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, 07 Jan 2015 23:41:39 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m 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", Wed, 07 Jan 2015 23:41:39 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:41:39 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 13], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Wed, 07 Jan 2015 23:41:39 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:41:39 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.6ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.2ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 42' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 42' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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, 07 Jan 2015 23:41: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, 07 Jan 2015 23:41:39 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 43' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 43' LIMIT 1 [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "42"], ["created_at", Wed, 07 Jan 2015 23:41: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, 07 Jan 2015 23:41:39 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Wed, 07 Jan 2015 23:41:39 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:41:39 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 14], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Wed, 07 Jan 2015 23:41:39 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:41:39 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.2ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 44' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 44' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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, 07 Jan 2015 23:41: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, 07 Jan 2015 23:41:39 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 45' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 45' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "44"], ["created_at", Wed, 07 Jan 2015 23:41: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, 07 Jan 2015 23:41:39 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m 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", Wed, 07 Jan 2015 23:41:39 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:41:39 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 15], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Wed, 07 Jan 2015 23:41:39 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:41:39 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m 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", Wed, 07 Jan 2015 23:41:39 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:41:39 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_section_id", "1"], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:41:39 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:41:39 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 (?, ?, ?, ?) [1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1 [1m[36m (0.8ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 46' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 46' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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, 07 Jan 2015 23:41:39 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, 07 Jan 2015 23:41:39 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 47' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 47' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "46"], ["created_at", Wed, 07 Jan 2015 23:41:39 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, 07 Jan 2015 23:41:39 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Wed, 07 Jan 2015 23:41:39 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:41:39 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 16], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Wed, 07 Jan 2015 23:41:39 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:41:39 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 48' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 48' LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "coalescing_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, 07 Jan 2015 23:41:39 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, 07 Jan 2015 23:41:39 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 7], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 07 Jan 2015 23:41:39 UTC +00:00], ["email", "test7@test.com"], ["name", "Factory User 7"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:41:39 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 49' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 49' LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "coalescing_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, 07 Jan 2015 23:41:39 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, 07 Jan 2015 23:41:39 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 50' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 50' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "49"], ["created_at", Wed, 07 Jan 2015 23:41:39 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, 07 Jan 2015 23:41:39 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m 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", Wed, 07 Jan 2015 23:41:39 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:41:39 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 17], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Wed, 07 Jan 2015 23:41:39 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:41:39 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_assignment_id", "3"], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:41:39 UTC +00:00], ["name", "test assignment"], ["submission_types", nil], ["updated_at", Wed, 07 Jan 2015 23:41:39 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 51' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 51' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "50"], ["created_at", Wed, 07 Jan 2015 23:41:39 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, 07 Jan 2015 23:41:39 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.5ms)[0m 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, 07 Jan 2015 23:41:39 UTC +00:00], ["email", "test8@test.com"], ["name", "Factory User 8"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:41:39 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 52' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 52' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "51"], ["created_at", Wed, 07 Jan 2015 23:41:39 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, 07 Jan 2015 23:41:39 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 53' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 53' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:41:39 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", Wed, 07 Jan 2015 23:41:39 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 22], ["coalescing_panda_lti_account_id", 3], ["created_at", Wed, 07 Jan 2015 23:41:39 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:41:39 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Wed, 07 Jan 2015 23:41:39 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:41:39 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_assignment_id", "4"], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:41:39 UTC +00:00], ["name", "test assignment"], ["submission_types", nil], ["updated_at", Wed, 07 Jan 2015 23:41:39 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 54' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 54' LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:41:39 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", Wed, 07 Jan 2015 23:41:39 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 9], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 07 Jan 2015 23:41:39 UTC +00:00], ["email", "test9@test.com"], ["name", "Factory User 9"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:41:39 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 55' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 55' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:41:39 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", Wed, 07 Jan 2015 23:41:39 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 56' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 56' LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "55"], ["created_at", Wed, 07 Jan 2015 23:41:39 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", Wed, 07 Jan 2015 23:41:39 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Wed, 07 Jan 2015 23:41:39 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:41:39 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 19], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Wed, 07 Jan 2015 23:41:39 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:41:39 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_assignment_id", "5"], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:41:39 UTC +00:00], ["name", "test assignment"], ["submission_types", nil], ["updated_at", Wed, 07 Jan 2015 23:41:39 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.9ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 57' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 57' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "56"], ["created_at", Wed, 07 Jan 2015 23:41:39 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", Wed, 07 Jan 2015 23:41:39 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.5ms)[0m 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, 07 Jan 2015 23:41:39 UTC +00:00], ["email", "test10@test.com"], ["name", "Factory User 10"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:41:39 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 58' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 58' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "57"], ["created_at", Wed, 07 Jan 2015 23:41:39 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", Wed, 07 Jan 2015 23:41:39 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 59' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 59' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:41:39 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", Wed, 07 Jan 2015 23:41:39 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 24], ["coalescing_panda_lti_account_id", 3], ["created_at", Wed, 07 Jan 2015 23:41:39 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:41:39 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Wed, 07 Jan 2015 23:41:39 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:41:39 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_assignment_id", "6"], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:41:39 UTC +00:00], ["name", "test assignment"], ["submission_types", nil], ["updated_at", Wed, 07 Jan 2015 23:41:39 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m 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", Wed, 07 Jan 2015 23:41:39 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:41:39 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["canvas_submission_id", "1"], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Wed, 07 Jan 2015 23:41:39 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:41:39 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 (?, ?, ?, ?, ?) [1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1 [1m[36m (0.8ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 60' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 60' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:41:39 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", Wed, 07 Jan 2015 23:41:39 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 11], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 07 Jan 2015 23:41:39 UTC +00:00], ["email", "test11@test.com"], ["name", "Factory User 11"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:41:39 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 61' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 61' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:41:39 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", Wed, 07 Jan 2015 23:41:39 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 62' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 62' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "61"], ["created_at", Wed, 07 Jan 2015 23:41:39 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", Wed, 07 Jan 2015 23:41:39 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Wed, 07 Jan 2015 23:41:39 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:41:39 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 21], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Wed, 07 Jan 2015 23:41:39 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:41:39 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_assignment_id", "7"], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:41:39 UTC +00:00], ["name", "test assignment"], ["submission_types", nil], ["updated_at", Wed, 07 Jan 2015 23:41:39 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["canvas_submission_id", "1"], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Wed, 07 Jan 2015 23:41:39 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:41:39 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Wed, 07 Jan 2015 23:41:39 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:41:39 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.9ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 63' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 63' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "62"], ["created_at", Wed, 07 Jan 2015 23:41:39 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", Wed, 07 Jan 2015 23:41:39 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.5ms)[0m 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, 07 Jan 2015 23:41:39 UTC +00:00], ["email", "test12@test.com"], ["name", "Factory User 12"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:41:39 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 64' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 64' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "63"], ["created_at", Wed, 07 Jan 2015 23:41:39 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", Wed, 07 Jan 2015 23:41:39 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 65' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 65' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:41:39 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", Wed, 07 Jan 2015 23:41:39 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 26], ["coalescing_panda_lti_account_id", 3], ["created_at", Wed, 07 Jan 2015 23:41:39 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:41:39 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Wed, 07 Jan 2015 23:41:39 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:41:39 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_assignment_id", "8"], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:41:39 UTC +00:00], ["name", "test assignment"], ["submission_types", nil], ["updated_at", Wed, 07 Jan 2015 23:41:39 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 66' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 66' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:41:39 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", Wed, 07 Jan 2015 23:41:39 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.4ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 67' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 67' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "66"], ["created_at", Wed, 07 Jan 2015 23:41:39 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", Wed, 07 Jan 2015 23:41:39 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.6ms)[0m 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", Wed, 07 Jan 2015 23:41:39 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:41:39 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 07 Jan 2015 23:41:39 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:41:39 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 (?, ?, ?, ?) [1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1 [1m[36m (0.6ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 68' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 68' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:41:39 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", Wed, 07 Jan 2015 23:41:39 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.3ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 69' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 69' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "68"], ["created_at", Wed, 07 Jan 2015 23:41:39 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", Wed, 07 Jan 2015 23:41:39 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.3ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 70' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 70' LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:41:39 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", Wed, 07 Jan 2015 23:41:39 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.7ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 07 Jan 2015 23:41:39 UTC +00:00], ["email", "test15@test.com"], ["name", "Factory User 15"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:41:39 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m 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, 07 Jan 2015 23:41:39 UTC +00:00], ["email", "test16@test.com"], ["name", "Factory User 16"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:41:39 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 (?, ?, ?, ?, ?, ?, ?) [1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m [1m[35m (0.5ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 71' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 71' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "70"], ["created_at", Wed, 07 Jan 2015 23:41:39 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", Wed, 07 Jan 2015 23:41:39 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.4ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 72' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 72' LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:41:39 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", Wed, 07 Jan 2015 23:41:39 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 73' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 73' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "72"], ["created_at", Wed, 07 Jan 2015 23:41:40 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", Wed, 07 Jan 2015 23:41:40 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Wed, 07 Jan 2015 23:41:40 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:41:40 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 23], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Wed, 07 Jan 2015 23:41:40 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:41:40 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:41:40 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:41:40 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::CanvasBatch Load (0.1ms)[0m SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" ORDER BY created_at ASC LIMIT 1 [1m[36m (0.6ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 74' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 74' LIMIT 1[0m [1m[35mSQL (0.6ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:41:40 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", Wed, 07 Jan 2015 23:41:40 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 75' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 75' LIMIT 1 [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "74"], ["created_at", Wed, 07 Jan 2015 23:41:40 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", Wed, 07 Jan 2015 23:41:40 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m 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", Wed, 07 Jan 2015 23:41:40 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:41:40 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 24], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Wed, 07 Jan 2015 23:41:40 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:41:40 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:41:40 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:41:40 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.8ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 76' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 76' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "75"], ["created_at", Wed, 07 Jan 2015 23:41:40 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", Wed, 07 Jan 2015 23:41:40 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 77' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 77' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:41:40 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", Wed, 07 Jan 2015 23:41:40 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 30], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:41:40 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:41:40 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Wed, 07 Jan 2015 23:41:40 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:41:40 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Wed, 07 Jan 2015 23:41:40 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:41:40 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m UPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["status", "Started"], ["updated_at", Wed, 07 Jan 2015 23:41:40 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Section Load (0.2ms)[0m SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "coalescing_panda_sections" ("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, 07 Jan 2015 23:41:40 UTC +00:00], ["name", "Course1"], ["updated_at", Wed, 07 Jan 2015 23:41:40 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mUPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1[0m [["percent_complete", 20.0], ["updated_at", Wed, 07 Jan 2015 23:41:40 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::User Load (0.1ms)[0m [1mSELECT "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[0m [["coalescing_panda_lti_account_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 07 Jan 2015 23:41:40 UTC +00:00], ["name", "teacher@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:41:40 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::User Load (0.1ms)[0m [1mSELECT "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[0m [["coalescing_panda_lti_account_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 07 Jan 2015 23:41:40 UTC +00:00], ["name", "student1@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:41:40 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::User Load (0.1ms)[0m [1mSELECT "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[0m [["coalescing_panda_lti_account_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 07 Jan 2015 23:41:40 UTC +00:00], ["name", "student2@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:41:40 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 40.0], ["updated_at", Wed, 07 Jan 2015 23:41:40 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Enrollment Load (0.2ms)[0m SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '1') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36mCoalescingPanda::User Load (0.1ms)[0m [1mSELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '1' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1[0m [["coalescing_panda_lti_account_id", 1]] [1m[35mCoalescingPanda::Section Load (0.1ms)[0m SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "coalescing_panda_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"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Enrollment Load (0.2ms)[0m SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '2') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36mCoalescingPanda::User Load (0.1ms)[0m [1mSELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1[0m [["coalescing_panda_lti_account_id", 1]] [1m[35mCoalescingPanda::Section Load (0.0ms)[0m SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_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"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Enrollment Load (0.1ms)[0m SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '3') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36mCoalescingPanda::User Load (0.1ms)[0m [1mSELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1[0m [["coalescing_panda_lti_account_id", 1]] [1m[35mCoalescingPanda::Section Load (0.1ms)[0m SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "coalescing_panda_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"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mUPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1[0m [["percent_complete", 60.0], ["updated_at", Wed, 07 Jan 2015 23:41:40 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::Assignment Load (0.1ms)[0m [1mSELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "grade_group_students_individually", "name", "points_possible", "published", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_assignment_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 18:04:38 UTC +00:00], ["description", "What is your name?
"], ["grade_group_students_individually", false], ["name", "Gimme your name"], ["points_possible", 100.0], ["published", true], ["submission_types", "---\n- online_text_entry\n"], ["updated_at", Tue, 18 Nov 2014 18:04:42 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::Assignment Load (0.2ms)[0m [1mSELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "grade_group_students_individually", "name", "points_possible", "published", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_assignment_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 19:10:28 UTC +00:00], ["description", "What is your Favorite Color?
"], ["grade_group_students_individually", false], ["name", "Favorite Color"], ["points_possible", 100.0], ["published", true], ["submission_types", "---\n- online_text_entry\n"], ["updated_at", Tue, 18 Nov 2014 19:10:30 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 80.0], ["updated_at", Wed, 07 Jan 2015 23:41:40 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Assignment Load (0.1ms)[0m SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? [["coalescing_panda_course_id", 1]] [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 100.0], ["updated_at", Wed, 07 Jan 2015 23:41:40 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mUPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1[0m [["percent_complete", 120.0], ["updated_at", Wed, 07 Jan 2015 23:41:40 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 140.0], ["updated_at", Wed, 07 Jan 2015 23:41:40 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mUPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1[0m [["status", "Completed"], ["percent_complete", 100.0], ["updated_at", Wed, 07 Jan 2015 23:41:40 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (1.0ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.2ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 78' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 78' LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:41:40 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", Wed, 07 Jan 2015 23:41:40 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 79' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 79' LIMIT 1 [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "78"], ["created_at", Wed, 07 Jan 2015 23:41:40 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", Wed, 07 Jan 2015 23:41:40 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Wed, 07 Jan 2015 23:41:40 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:41:40 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 26], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Wed, 07 Jan 2015 23:41:40 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:41:40 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:41:40 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:41:40 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.8ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 80' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 80' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "79"], ["created_at", Wed, 07 Jan 2015 23:41:40 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", Wed, 07 Jan 2015 23:41:40 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 81' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 81' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:41:40 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", Wed, 07 Jan 2015 23:41:40 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 32], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:41:40 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:41:40 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Wed, 07 Jan 2015 23:41:40 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:41:40 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Wed, 07 Jan 2015 23:41:40 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:41:40 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mCoalescingPanda::Section Load (0.1ms)[0m [1mSELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections"[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 82' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 82' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "81"], ["created_at", Wed, 07 Jan 2015 23:41:40 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", Wed, 07 Jan 2015 23:41:40 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 83' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 83' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:41:40 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", Wed, 07 Jan 2015 23:41:40 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 33], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:41:40 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:41:40 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Wed, 07 Jan 2015 23:41:40 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:41:40 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Wed, 07 Jan 2015 23:41:40 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:41:40 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::Section Load (0.0ms)[0m [1mSELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:41:40 UTC +00:00], ["name", "Course1"], ["updated_at", Wed, 07 Jan 2015 23:41:40 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "coalescing_panda_sections"[0m [1m[35m (0.8ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mCoalescingPanda::User Load (0.1ms)[0m SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 84' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 84' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:41:40 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", Wed, 07 Jan 2015 23:41:40 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 85' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 85' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "84"], ["created_at", Wed, 07 Jan 2015 23:41:40 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", Wed, 07 Jan 2015 23:41:40 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Wed, 07 Jan 2015 23:41:40 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:41:40 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 29], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Wed, 07 Jan 2015 23:41:40 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:41:40 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:41:40 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:41:40 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::User Load (0.0ms)[0m 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]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_users" ("canvas_user_id", "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, 07 Jan 2015 23:41:40 UTC +00:00], ["name", "teacher@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:41:40 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::User Load (0.0ms)[0m 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]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_users" ("canvas_user_id", "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, 07 Jan 2015 23:41:40 UTC +00:00], ["name", "student1@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:41:40 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::User Load (0.0ms)[0m 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]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_users" ("canvas_user_id", "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, 07 Jan 2015 23:41:40 UTC +00:00], ["name", "student2@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:41:40 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "coalescing_panda_users" [1m[36m (0.8ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mCoalescingPanda::Enrollment Load (0.1ms)[0m [1mSELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments"[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 86' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 86' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "85"], ["created_at", Wed, 07 Jan 2015 23:41:40 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", Wed, 07 Jan 2015 23:41:40 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 87' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 87' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:41:40 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", Wed, 07 Jan 2015 23:41:40 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 35], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:41:40 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:41:40 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Wed, 07 Jan 2015 23:41:40 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:41:40 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Wed, 07 Jan 2015 23:41:40 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:41:40 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::Section Load (0.0ms)[0m [1mSELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:41:40 UTC +00:00], ["name", "Course1"], ["updated_at", Wed, 07 Jan 2015 23:41:40 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::User Load (0.0ms)[0m [1mSELECT "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[0m [["coalescing_panda_lti_account_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 07 Jan 2015 23:41:40 UTC +00:00], ["name", "teacher@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:41:40 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::User Load (0.0ms)[0m [1mSELECT "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[0m [["coalescing_panda_lti_account_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 07 Jan 2015 23:41:40 UTC +00:00], ["name", "student1@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:41:40 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::User Load (0.0ms)[0m [1mSELECT "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[0m [["coalescing_panda_lti_account_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 07 Jan 2015 23:41:40 UTC +00:00], ["name", "student2@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:41:40 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::Enrollment Load (0.0ms)[0m [1mSELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '1') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35mCoalescingPanda::User Load (0.1ms)[0m SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '1' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] [1m[36mCoalescingPanda::Section Load (0.1ms)[0m [1mSELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["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"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::Enrollment Load (0.0ms)[0m [1mSELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '2') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35mCoalescingPanda::User Load (0.0ms)[0m SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] [1m[36mCoalescingPanda::Section Load (0.0ms)[0m [1mSELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["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"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::Enrollment Load (0.0ms)[0m [1mSELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '3') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35mCoalescingPanda::User Load (0.0ms)[0m SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] [1m[36mCoalescingPanda::Section Load (0.0ms)[0m [1mSELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["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"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "coalescing_panda_enrollments"[0m [1m[35mCoalescingPanda::Enrollment Load (0.1ms)[0m SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" ORDER BY "coalescing_panda_enrollments"."id" DESC LIMIT 1 [1m[36m (0.9ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mCoalescingPanda::Assignment Load (0.1ms)[0m [1mSELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments"[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 88' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 88' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "87"], ["created_at", Wed, 07 Jan 2015 23:41:40 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", Wed, 07 Jan 2015 23:41:40 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 89' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 89' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:41:40 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", Wed, 07 Jan 2015 23:41:40 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 36], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:41:40 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:41:40 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Wed, 07 Jan 2015 23:41:40 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:41:40 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Wed, 07 Jan 2015 23:41:40 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:41:40 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::Assignment Load (0.0ms)[0m [1mSELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "grade_group_students_individually", "name", "points_possible", "published", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_assignment_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 18:04:38 UTC +00:00], ["description", "What is your name?
"], ["grade_group_students_individually", false], ["name", "Gimme your name"], ["points_possible", 100.0], ["published", true], ["submission_types", "---\n- online_text_entry\n"], ["updated_at", Tue, 18 Nov 2014 18:04:42 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::Assignment Load (0.0ms)[0m [1mSELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "grade_group_students_individually", "name", "points_possible", "published", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_assignment_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 19:10:28 UTC +00:00], ["description", "What is your Favorite Color?
"], ["grade_group_students_individually", false], ["name", "Favorite Color"], ["points_possible", 100.0], ["published", true], ["submission_types", "---\n- online_text_entry\n"], ["updated_at", Tue, 18 Nov 2014 19:10:30 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "coalescing_panda_assignments"[0m [1m[35m (0.9ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mCoalescingPanda::Submission Load (0.1ms)[0m SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 90' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 90' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:41:40 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", Wed, 07 Jan 2015 23:41:40 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 91' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 91' LIMIT 1 [1m[36mSQL (0.8ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "90"], ["created_at", Wed, 07 Jan 2015 23:41:40 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", Wed, 07 Jan 2015 23:41:40 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Wed, 07 Jan 2015 23:41:40 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:41:40 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 32], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Wed, 07 Jan 2015 23:41:40 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:41:40 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:41:40 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:41:40 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::User Load (0.0ms)[0m 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]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "coalescing_panda_users" ("canvas_user_id", "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, 07 Jan 2015 23:41:40 UTC +00:00], ["name", "teacher@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:41:40 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::User Load (0.0ms)[0m 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]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_users" ("canvas_user_id", "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, 07 Jan 2015 23:41:40 UTC +00:00], ["name", "student1@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:41:40 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::User Load (0.0ms)[0m 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]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_users" ("canvas_user_id", "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, 07 Jan 2015 23:41:40 UTC +00:00], ["name", "student2@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:41:40 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Assignment Load (0.1ms)[0m SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "grade_group_students_individually", "name", "points_possible", "published", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 18:04:38 UTC +00:00], ["description", "What is your name?
"], ["grade_group_students_individually", false], ["name", "Gimme your name"], ["points_possible", 100.0], ["published", true], ["submission_types", "---\n- online_text_entry\n"], ["updated_at", Tue, 18 Nov 2014 18:04:42 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Assignment Load (0.0ms)[0m SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "grade_group_students_individually", "name", "points_possible", "published", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 19:10:28 UTC +00:00], ["description", "What is your Favorite Color?
"], ["grade_group_students_individually", false], ["name", "Favorite Color"], ["points_possible", 100.0], ["published", true], ["submission_types", "---\n- online_text_entry\n"], ["updated_at", Tue, 18 Nov 2014 19:10:30 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Submission Load (0.2ms)[0m SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '3') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36mCoalescingPanda::User Load (0.1ms)[0m [1mSELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1[0m [["coalescing_panda_lti_account_id", 1]] [1m[35mCoalescingPanda::Assignment Load (0.1ms)[0m SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "coalescing_panda_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, 07 Jan 2015 23:41:40 UTC +00:00], ["grade", "70"], ["score", 70], ["updated_at", Wed, 07 Jan 2015 23:41:40 UTC +00:00], ["workflow_state", "graded"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Submission Load (0.1ms)[0m SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '1') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36mCoalescingPanda::User Load (0.0ms)[0m [1mSELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1[0m [["coalescing_panda_lti_account_id", 1]] [1m[35mCoalescingPanda::Assignment Load (0.0ms)[0m SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_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, 07 Jan 2015 23:41:40 UTC +00:00], ["grade", "100"], ["score", 100], ["updated_at", Wed, 07 Jan 2015 23:41:40 UTC +00:00], ["workflow_state", "graded"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Submission Load (0.1ms)[0m SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '4') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36mCoalescingPanda::User Load (0.0ms)[0m [1mSELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1[0m [["coalescing_panda_lti_account_id", 1]] [1m[35mCoalescingPanda::Assignment Load (0.1ms)[0m SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_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, 07 Jan 2015 23:41:40 UTC +00:00], ["grade", "90"], ["score", 90], ["updated_at", Wed, 07 Jan 2015 23:41:40 UTC +00:00], ["workflow_state", "graded"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Submission Load (0.1ms)[0m SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '2') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36mCoalescingPanda::User Load (0.0ms)[0m [1mSELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1[0m [["coalescing_panda_lti_account_id", 1]] [1m[35mCoalescingPanda::Assignment Load (0.0ms)[0m SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_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, 07 Jan 2015 23:41:40 UTC +00:00], ["grade", "80"], ["score", 80], ["updated_at", Wed, 07 Jan 2015 23:41:40 UTC +00:00], ["workflow_state", "graded"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "coalescing_panda_submissions" [1m[36m (1.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 92' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 92' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:41:40 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", Wed, 07 Jan 2015 23:41:40 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 93' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 93' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "92"], ["created_at", Wed, 07 Jan 2015 23:41:40 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", Wed, 07 Jan 2015 23:41:40 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m 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", Wed, 07 Jan 2015 23:41:40 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:41:40 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 33], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Wed, 07 Jan 2015 23:41:40 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:41:40 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:41:40 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:41:40 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (1.0ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 94' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 94' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "93"], ["created_at", Wed, 07 Jan 2015 23:41:40 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", Wed, 07 Jan 2015 23:41:40 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 95' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 95' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:41:40 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", Wed, 07 Jan 2015 23:41:40 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 39], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:41:40 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:41:40 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "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", Wed, 07 Jan 2015 23:41:40 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:41:40 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Wed, 07 Jan 2015 23:41:40 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:41:40 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 96' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 96' LIMIT 1[0m [1m[35mSQL (0.7ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:41:40 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", Wed, 07 Jan 2015 23:41:40 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 97' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 97' LIMIT 1 [1m[36mSQL (0.7ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "96"], ["created_at", Wed, 07 Jan 2015 23:41:40 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", Wed, 07 Jan 2015 23:41:40 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Wed, 07 Jan 2015 23:41:40 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:41:40 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 35], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Wed, 07 Jan 2015 23:41:40 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:41:40 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:41:40 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:41:40 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 98' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 98' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "97"], ["created_at", Wed, 07 Jan 2015 23:41:40 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", Wed, 07 Jan 2015 23:41:40 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 99' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 99' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:41:40 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", Wed, 07 Jan 2015 23:41:40 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 41], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:41:40 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:41:40 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Wed, 07 Jan 2015 23:41:40 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:41:40 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Wed, 07 Jan 2015 23:41:40 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:41:40 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.8ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.2ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 100' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 100' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:41:40 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", Wed, 07 Jan 2015 23:41:40 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 101' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 101' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "100"], ["created_at", Wed, 07 Jan 2015 23:41:40 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", Wed, 07 Jan 2015 23:41:40 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m 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", Wed, 07 Jan 2015 23:41:40 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:41:40 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 37], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Wed, 07 Jan 2015 23:41:40 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:41:40 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:41:40 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:41:40 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.9ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 102' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 102' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "101"], ["created_at", Wed, 07 Jan 2015 23:41:40 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", Wed, 07 Jan 2015 23:41:40 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 103' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 103' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:41:40 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", Wed, 07 Jan 2015 23:41:40 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 43], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:41:40 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:41:40 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Wed, 07 Jan 2015 23:41:40 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:41:40 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Wed, 07 Jan 2015 23:41:40 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:41:40 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.2ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 104' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 104' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:41:40 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", Wed, 07 Jan 2015 23:41:40 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 105' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 105' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "104"], ["created_at", Wed, 07 Jan 2015 23:41:40 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", Wed, 07 Jan 2015 23:41:40 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Wed, 07 Jan 2015 23:41:40 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:41:40 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 39], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Wed, 07 Jan 2015 23:41:40 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:41:40 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:41:40 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:41:40 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.6ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 106' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 106' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "105"], ["created_at", Wed, 07 Jan 2015 23:41:40 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", Wed, 07 Jan 2015 23:41:40 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 107' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 107' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:41:40 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", Wed, 07 Jan 2015 23:41:40 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 45], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:41:40 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:41:40 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Wed, 07 Jan 2015 23:41:40 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:41:40 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Wed, 07 Jan 2015 23:41:40 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:41:40 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.9ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 108' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 108' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:41:40 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", Wed, 07 Jan 2015 23:41:40 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 109' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 109' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "108"], ["created_at", Wed, 07 Jan 2015 23:41:40 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", Wed, 07 Jan 2015 23:41:40 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Wed, 07 Jan 2015 23:41:40 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:41:40 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 41], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Wed, 07 Jan 2015 23:41:40 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:41:40 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:41:40 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:41:40 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 110' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 110' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "109"], ["created_at", Wed, 07 Jan 2015 23:41:40 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", Wed, 07 Jan 2015 23:41:40 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 111' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 111' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:41:40 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", Wed, 07 Jan 2015 23:41:40 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 47], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:41:40 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:41:40 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Wed, 07 Jan 2015 23:41:40 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:41:40 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_section_id", 9], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:41:40 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:41:40 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 112' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 112' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:41:40 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", Wed, 07 Jan 2015 23:41:40 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 113' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 113' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "112"], ["created_at", Wed, 07 Jan 2015 23:41:40 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", Wed, 07 Jan 2015 23:41:40 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m 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", Wed, 07 Jan 2015 23:41:40 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:41:40 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 43], ["coalescing_panda_lti_account_id", 3], ["coalescing_panda_term_id", 2], ["created_at", Wed, 07 Jan 2015 23:41:40 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:41:40 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Course Load (0.1ms)[0m SELECT "coalescing_panda_courses".* FROM "coalescing_panda_courses" WHERE "coalescing_panda_courses"."id" = ? LIMIT 1 [["id", 2]] [1m[36mSQL (0.1ms)[0m [1mUPDATE "coalescing_panda_sections" SET "coalescing_panda_course_id" = ?, "updated_at" = ? WHERE "coalescing_panda_sections"."id" = 1[0m [["coalescing_panda_course_id", 2], ["updated_at", Wed, 07 Jan 2015 23:41:40 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:41:40 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:41:40 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 15], ["coalescing_panda_lti_account_id", 3], ["created_at", Wed, 07 Jan 2015 23:41:40 UTC +00:00], ["email", "test18@test.com"], ["name", "Factory User 18"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:41:40 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::User Load (0.1ms)[0m [1mSELECT "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[0m [["coalescing_panda_lti_account_id", 3]] [1m[35mCoalescingPanda::Section Load (0.1ms)[0m 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]] [1m[36m (1.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 114' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 114' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:41:40 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", Wed, 07 Jan 2015 23:41:40 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 115' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 115' LIMIT 1 [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "114"], ["created_at", Wed, 07 Jan 2015 23:41:40 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", Wed, 07 Jan 2015 23:41:40 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Wed, 07 Jan 2015 23:41:40 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:41:40 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 44], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Wed, 07 Jan 2015 23:41:40 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:41:40 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:41:40 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:41:40 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 116' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 116' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "115"], ["created_at", Wed, 07 Jan 2015 23:41:40 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", Wed, 07 Jan 2015 23:41:40 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 117' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 117' LIMIT 1[0m [1m[35mSQL (0.7ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:41:40 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", Wed, 07 Jan 2015 23:41:40 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 50], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:41:40 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:41:40 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "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", Wed, 07 Jan 2015 23:41:40 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:41:40 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_assignment_id", "9"], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:41:40 UTC +00:00], ["name", "test assignment"], ["submission_types", nil], ["updated_at", Wed, 07 Jan 2015 23:41:40 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:41:40 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:41:40 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 16], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 07 Jan 2015 23:41:40 UTC +00:00], ["email", "test19@test.com"], ["name", "Factory User 19"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:41:40 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::User Load (0.1ms)[0m [1mSELECT "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[0m [["coalescing_panda_lti_account_id", 1]] [1m[35mCoalescingPanda::Assignment Load (0.1ms)[0m 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]] [1m[36m (0.8ms)[0m [1mrollback transaction[0m [1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m [1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations" [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m Processing by CoalescingPanda::LtiController#lti_config as HTML Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m Processing by CoalescingPanda::LtiController#lti_config as HTML Completed 500 Internal Server Error in 1ms [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m Processing by CoalescingPanda::Oauth2Controller#redirect as HTML Parameters: {"user_id"=>"1", "api_domain"=>"foo.com", "code"=>"bar"} Completed 200 OK in 5ms (Views: 5.1ms | ActiveRecord: 0.0ms) [1m[35mCoalescingPanda::CanvasApiAuth Load (0.1ms)[0m 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 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction Processing by CoalescingPanda::Oauth2Controller#redirect as HTML Parameters: {"error"=>"your face"} Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "coalescing_panda_canvas_api_auths"[0m [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 1' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 1' LIMIT 1 [1m[36mSQL (2.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "1"], ["created_at", Wed, 07 Jan 2015 23:42: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", Wed, 07 Jan 2015 23:42:00 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 2' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 2' LIMIT 1[0m [1m[35mSQL (1.3ms)[0m INSERT INTO "coalescing_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, 07 Jan 2015 23:42: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", Wed, 07 Jan 2015 23:42:00 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 1], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:42:00 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:42:00 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "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", Wed, 07 Jan 2015 23:42:00 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:42:00 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (1.4ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 3' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 3' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "3"], ["created_at", Wed, 07 Jan 2015 23:42: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", Wed, 07 Jan 2015 23:42:00 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 4' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 4' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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, 07 Jan 2015 23:42: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", Wed, 07 Jan 2015 23:42:00 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 2], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:42:00 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:42:00 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "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", Wed, 07 Jan 2015 23:42:00 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:42:00 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.6ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 5' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 5' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "5"], ["created_at", Wed, 07 Jan 2015 23:42: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", Wed, 07 Jan 2015 23:42:00 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 6' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 6' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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, 07 Jan 2015 23:42: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", Wed, 07 Jan 2015 23:42:00 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 3], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:42:00 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:42:00 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "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", Wed, 07 Jan 2015 23:42:00 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:42:00 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_assignment_id", "1"], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:42:00 UTC +00:00], ["name", "test assignment"], ["submission_types", nil], ["updated_at", Wed, 07 Jan 2015 23:42:00 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_assignment_id", "1"], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:42:00 UTC +00:00], ["name", "test assignment"], ["submission_types", nil], ["updated_at", Wed, 07 Jan 2015 23:42: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", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 7' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 7' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "7"], ["created_at", Wed, 07 Jan 2015 23:42: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", Wed, 07 Jan 2015 23:42:00 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 8' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 8' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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, 07 Jan 2015 23:42: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", Wed, 07 Jan 2015 23:42:00 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 4], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:42:00 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:42:00 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Wed, 07 Jan 2015 23:42:00 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:42:00 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.6ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mCoalescingPanda::CanvasApiAuth Load (0.2ms)[0m SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" ORDER BY "coalescing_panda_canvas_api_auths"."id" ASC LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_panda_canvas_api_auths" ("created_at", "updated_at", "user_id") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:42:00 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:42:00 UTC +00:00], ["user_id", "a"]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::CanvasApiAuth Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1 [1m[36mCoalescingPanda::CanvasApiAuth Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1[0m [1m[35mCoalescingPanda::CanvasApiAuth Load (0.1ms)[0m SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" [1m[36mCoalescingPanda::CanvasApiAuth Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" = '1') LIMIT 1[0m [1m[35mCoalescingPanda::CanvasApiAuth Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" = '1') LIMIT 1 [1m[36m (0.4ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mCoalescingPanda::CanvasApiAuth Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1[0m [1m[35mCoalescingPanda::CanvasApiAuth Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mCoalescingPanda::CanvasApiAuth Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1[0m [1m[35mCoalescingPanda::CanvasApiAuth Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1 [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:42:00 UTC +00:00], ["status", "Pending"], ["updated_at", Wed, 07 Jan 2015 23:42:00 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Wed, 07 Jan 2015 23:42:00 UTC +00:00], ["status", "Pending"], ["updated_at", Wed, 07 Jan 2015 23:42:00 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:42:00 UTC +00:00], ["status", "Pending"], ["updated_at", Wed, 07 Jan 2015 23:42:00 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::CanvasBatch Load (0.1ms)[0m SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" ORDER BY created_at DESC [1m[36m (0.6ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 9' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 9' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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, 07 Jan 2015 23:42: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", Wed, 07 Jan 2015 23:42:00 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 10' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 10' LIMIT 1 [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "10"], ["created_at", Wed, 07 Jan 2015 23:42: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", Wed, 07 Jan 2015 23:42:00 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Wed, 07 Jan 2015 23:42:00 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:42:00 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 11' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 11' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "11"], ["created_at", Wed, 07 Jan 2015 23:42: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", Wed, 07 Jan 2015 23:42:00 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 12' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 12' LIMIT 1[0m [1m[35mSQL (0.6ms)[0m INSERT INTO "coalescing_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, 07 Jan 2015 23:42: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", Wed, 07 Jan 2015 23:42:00 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 6], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:42:00 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:42:00 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.6ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 13' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 13' LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "coalescing_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, 07 Jan 2015 23:42: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", Wed, 07 Jan 2015 23:42:00 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 14' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 14' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "14"], ["created_at", Wed, 07 Jan 2015 23:42: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", Wed, 07 Jan 2015 23:42:00 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Wed, 07 Jan 2015 23:42:00 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:42:00 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Wed, 07 Jan 2015 23:42:00 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:42:00 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 15' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 15' LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "coalescing_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, 07 Jan 2015 23:42: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", Wed, 07 Jan 2015 23:42:00 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 8], ["coalescing_panda_lti_account_id", 3], ["created_at", Wed, 07 Jan 2015 23:42:00 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:42:00 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "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", Wed, 07 Jan 2015 23:42:00 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:42: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 (?, ?, ?, ?, ?, ?) [1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m [1m[35m (0.8ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 16' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 16' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "16"], ["created_at", Wed, 07 Jan 2015 23:42: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", Wed, 07 Jan 2015 23:42:00 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.5ms)[0m 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", Wed, 07 Jan 2015 23:42:00 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:42:00 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.2ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 17' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 17' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "17"], ["created_at", Wed, 07 Jan 2015 23:42: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", Wed, 07 Jan 2015 23:42:00 UTC +00:00]] [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "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", Wed, 07 Jan 2015 23:42:00 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:42:00 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 18' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 18' LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "18"], ["created_at", Wed, 07 Jan 2015 23:42: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", Wed, 07 Jan 2015 23:42:00 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "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", Wed, 07 Jan 2015 23:42:00 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:42: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 (?, ?, ?, ?, ?, ?) [1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m [1m[35m (0.9ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 19' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 19' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "19"], ["created_at", Wed, 07 Jan 2015 23:42: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", Wed, 07 Jan 2015 23:42:00 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 20' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 20' LIMIT 1[0m [1m[35mSQL (0.6ms)[0m INSERT INTO "coalescing_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, 07 Jan 2015 23:42: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", Wed, 07 Jan 2015 23:42:00 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 10], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:42:00 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:42:00 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.4ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 21' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 21' LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "coalescing_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, 07 Jan 2015 23:42: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", Wed, 07 Jan 2015 23:42:00 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.7ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 07 Jan 2015 23:42:00 UTC +00:00], ["email", "test1@test.com"], ["name", "Factory User 1"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:42:00 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 22' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 22' LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "coalescing_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, 07 Jan 2015 23:42: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", Wed, 07 Jan 2015 23:42:00 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 23' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 23' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "23"], ["created_at", Wed, 07 Jan 2015 23:42: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", Wed, 07 Jan 2015 23:42:00 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Wed, 07 Jan 2015 23:42:00 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:42:00 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 7], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Wed, 07 Jan 2015 23:42:00 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:42:00 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m 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", Wed, 07 Jan 2015 23:42:00 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:42:00 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.8ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 24' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 24' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "24"], ["created_at", Wed, 07 Jan 2015 23:42: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", Wed, 07 Jan 2015 23:42:00 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.7ms)[0m 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, 07 Jan 2015 23:42:00 UTC +00:00], ["email", "test2@test.com"], ["name", "Factory User 2"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:42:00 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 25' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 25' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "25"], ["created_at", Wed, 07 Jan 2015 23:42: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", Wed, 07 Jan 2015 23:42:00 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 26' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 26' LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "coalescing_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, 07 Jan 2015 23:42: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", Wed, 07 Jan 2015 23:42:00 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 12], ["coalescing_panda_lti_account_id", 3], ["created_at", Wed, 07 Jan 2015 23:42:00 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:42:00 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "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", Wed, 07 Jan 2015 23:42:00 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:42:00 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_section_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:42:00 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:42:00 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (1.0ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 27' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 27' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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, 07 Jan 2015 23:42: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", Wed, 07 Jan 2015 23:42:00 UTC +00:00]] [1m[36m (0.6ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 07 Jan 2015 23:42:00 UTC +00:00], ["email", "test3@test.com"], ["name", "Factory User 3"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:42:00 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 28' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 28' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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, 07 Jan 2015 23:42: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", Wed, 07 Jan 2015 23:42:00 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 29' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 29' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "29"], ["created_at", Wed, 07 Jan 2015 23:42: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", Wed, 07 Jan 2015 23:42:00 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m 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", Wed, 07 Jan 2015 23:42:00 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:42:00 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 9], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Wed, 07 Jan 2015 23:42:00 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:42:00 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Wed, 07 Jan 2015 23:42:00 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:42:00 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (1.0ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 30' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 30' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "30"], ["created_at", Wed, 07 Jan 2015 23:42: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", Wed, 07 Jan 2015 23:42:00 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.6ms)[0m 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, 07 Jan 2015 23:42:00 UTC +00:00], ["email", "test4@test.com"], ["name", "Factory User 4"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:42:00 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 31' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 31' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "31"], ["created_at", Wed, 07 Jan 2015 23:42: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", Wed, 07 Jan 2015 23:42:00 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 32' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 32' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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, 07 Jan 2015 23:42: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", Wed, 07 Jan 2015 23:42:00 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 14], ["coalescing_panda_lti_account_id", 3], ["created_at", Wed, 07 Jan 2015 23:42:00 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:42:00 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "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", Wed, 07 Jan 2015 23:42:00 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:42:00 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_section_id", 4], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:42:00 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:42:00 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.4ms)[0m 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", Wed, 07 Jan 2015 23:42:00 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Wed, 07 Jan 2015 23:42:00 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_enrollment_id", 4], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Wed, 07 Jan 2015 23:42:00 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Wed, 07 Jan 2015 23:42:00 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 (?, ?, ?, ?, ?, ?) [1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1 [1m[36m (0.8ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.2ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 33' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 33' LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "coalescing_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, 07 Jan 2015 23:42: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", Wed, 07 Jan 2015 23:42:00 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 5], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 07 Jan 2015 23:42:00 UTC +00:00], ["email", "test5@test.com"], ["name", "Factory User 5"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:42:00 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 34' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 34' LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "coalescing_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, 07 Jan 2015 23:42: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", Wed, 07 Jan 2015 23:42:00 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 35' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 35' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "35"], ["created_at", Wed, 07 Jan 2015 23:42: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", Wed, 07 Jan 2015 23:42:00 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Wed, 07 Jan 2015 23:42:00 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:42:00 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 11], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Wed, 07 Jan 2015 23:42:00 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:42:00 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Wed, 07 Jan 2015 23:42:00 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:42:00 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_enrollment_id", 5], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Wed, 07 Jan 2015 23:42:00 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Wed, 07 Jan 2015 23:42:00 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m 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", Wed, 07 Jan 2015 23:42:00 UTC +00:00], ["enrollment_type", "TeacherEnrollment"], ["updated_at", Wed, 07 Jan 2015 23:42:00 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (1.0ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 36' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 36' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "36"], ["created_at", Wed, 07 Jan 2015 23:42: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", Wed, 07 Jan 2015 23:42:00 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.5ms)[0m 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, 07 Jan 2015 23:42:00 UTC +00:00], ["email", "test6@test.com"], ["name", "Factory User 6"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:42:00 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 37' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 37' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "37"], ["created_at", Wed, 07 Jan 2015 23:42: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", Wed, 07 Jan 2015 23:42:00 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 38' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 38' LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "coalescing_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, 07 Jan 2015 23:42: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", Wed, 07 Jan 2015 23:42:00 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 16], ["coalescing_panda_lti_account_id", 3], ["created_at", Wed, 07 Jan 2015 23:42:00 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:42:00 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Wed, 07 Jan 2015 23:42:00 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:42:00 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_section_id", 6], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:42:00 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:42:00 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.8ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 39' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 39' LIMIT 1 [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.2ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 40' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 40' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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, 07 Jan 2015 23:42: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", Wed, 07 Jan 2015 23:42:00 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 41' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 41' LIMIT 1 [1m[36mSQL (1.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "40"], ["created_at", Wed, 07 Jan 2015 23:42: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", Wed, 07 Jan 2015 23:42:00 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Wed, 07 Jan 2015 23:42:00 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:42:00 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 13], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Wed, 07 Jan 2015 23:42:00 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:42:00 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 42' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 42' LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "coalescing_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, 07 Jan 2015 23:42: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", Wed, 07 Jan 2015 23:42:00 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 43' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 43' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "42"], ["created_at", Wed, 07 Jan 2015 23:42: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", Wed, 07 Jan 2015 23:42:00 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m 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", Wed, 07 Jan 2015 23:42:00 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:42:00 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 14], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Wed, 07 Jan 2015 23:42:00 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:42:00 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 44' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 44' LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "coalescing_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, 07 Jan 2015 23:42: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", Wed, 07 Jan 2015 23:42:00 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 45' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 45' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "44"], ["created_at", Wed, 07 Jan 2015 23:42: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", Wed, 07 Jan 2015 23:42:00 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Wed, 07 Jan 2015 23:42:00 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:42:00 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 15], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Wed, 07 Jan 2015 23:42:00 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:42:00 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Wed, 07 Jan 2015 23:42:00 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:42:00 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_section_id", "1"], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:42:00 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:42: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 (?, ?, ?, ?) [1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1 [1m[36m (1.0ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 46' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 46' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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, 07 Jan 2015 23:42: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", Wed, 07 Jan 2015 23:42:00 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 47' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 47' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "46"], ["created_at", Wed, 07 Jan 2015 23:42: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", Wed, 07 Jan 2015 23:42:00 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m 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", Wed, 07 Jan 2015 23:42:00 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:42:00 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 16], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Wed, 07 Jan 2015 23:42:00 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:42:00 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 48' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 48' LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "coalescing_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, 07 Jan 2015 23:42: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", Wed, 07 Jan 2015 23:42:00 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 7], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 07 Jan 2015 23:42:00 UTC +00:00], ["email", "test7@test.com"], ["name", "Factory User 7"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:42:00 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 49' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 49' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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, 07 Jan 2015 23:42: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", Wed, 07 Jan 2015 23:42:00 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 50' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 50' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "49"], ["created_at", Wed, 07 Jan 2015 23:42: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", Wed, 07 Jan 2015 23:42:00 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Wed, 07 Jan 2015 23:42:00 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:42:00 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 17], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Wed, 07 Jan 2015 23:42:00 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:42:00 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_assignment_id", "3"], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:42:00 UTC +00:00], ["name", "test assignment"], ["submission_types", nil], ["updated_at", Wed, 07 Jan 2015 23:42:00 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (1.2ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 51' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 51' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "50"], ["created_at", Wed, 07 Jan 2015 23:42: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", Wed, 07 Jan 2015 23:42:00 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.5ms)[0m 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, 07 Jan 2015 23:42:00 UTC +00:00], ["email", "test8@test.com"], ["name", "Factory User 8"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:42:00 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 52' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 52' LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "51"], ["created_at", Wed, 07 Jan 2015 23:42: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", Wed, 07 Jan 2015 23:42:00 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 53' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 53' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:42: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", Wed, 07 Jan 2015 23:42:00 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 22], ["coalescing_panda_lti_account_id", 3], ["created_at", Wed, 07 Jan 2015 23:42:00 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:42:00 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Wed, 07 Jan 2015 23:42:00 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:42:00 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_assignment_id", "4"], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:42:00 UTC +00:00], ["name", "test assignment"], ["submission_types", nil], ["updated_at", Wed, 07 Jan 2015 23:42:00 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 54' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 54' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:42: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", Wed, 07 Jan 2015 23:42:00 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 9], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 07 Jan 2015 23:42:00 UTC +00:00], ["email", "test9@test.com"], ["name", "Factory User 9"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:42:00 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 55' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 55' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:42: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", Wed, 07 Jan 2015 23:42:00 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 56' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 56' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "55"], ["created_at", Wed, 07 Jan 2015 23:42: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", Wed, 07 Jan 2015 23:42:00 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Wed, 07 Jan 2015 23:42:00 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:42:00 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 19], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Wed, 07 Jan 2015 23:42:00 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:42:00 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_assignment_id", "5"], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:42:00 UTC +00:00], ["name", "test assignment"], ["submission_types", nil], ["updated_at", Wed, 07 Jan 2015 23:42:00 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.8ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 57' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 57' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "56"], ["created_at", Wed, 07 Jan 2015 23:42: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", Wed, 07 Jan 2015 23:42:00 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.6ms)[0m 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, 07 Jan 2015 23:42:00 UTC +00:00], ["email", "test10@test.com"], ["name", "Factory User 10"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:42:00 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 58' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 58' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "57"], ["created_at", Wed, 07 Jan 2015 23:42: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", Wed, 07 Jan 2015 23:42:00 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 59' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 59' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:42: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", Wed, 07 Jan 2015 23:42:00 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 24], ["coalescing_panda_lti_account_id", 3], ["created_at", Wed, 07 Jan 2015 23:42:00 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:42:00 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Wed, 07 Jan 2015 23:42:00 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:42:00 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_assignment_id", "6"], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:42:00 UTC +00:00], ["name", "test assignment"], ["submission_types", nil], ["updated_at", Wed, 07 Jan 2015 23:42:00 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m 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", Wed, 07 Jan 2015 23:42:00 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:42:00 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["canvas_submission_id", "1"], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Wed, 07 Jan 2015 23:42:00 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:42:00 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 (?, ?, ?, ?, ?) [1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1 [1m[36m (0.8ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 60' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 60' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:42: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", Wed, 07 Jan 2015 23:42:00 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 11], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 07 Jan 2015 23:42:00 UTC +00:00], ["email", "test11@test.com"], ["name", "Factory User 11"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:42:00 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 61' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 61' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:42: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", Wed, 07 Jan 2015 23:42:00 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 62' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 62' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "61"], ["created_at", Wed, 07 Jan 2015 23:42: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", Wed, 07 Jan 2015 23:42:00 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Wed, 07 Jan 2015 23:42:00 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:42:00 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 21], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Wed, 07 Jan 2015 23:42:00 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:42:00 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_assignment_id", "7"], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:42:00 UTC +00:00], ["name", "test assignment"], ["submission_types", nil], ["updated_at", Wed, 07 Jan 2015 23:42:00 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["canvas_submission_id", "1"], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Wed, 07 Jan 2015 23:42:00 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:42:00 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Wed, 07 Jan 2015 23:42:00 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:42:00 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.8ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 63' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 63' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "62"], ["created_at", Wed, 07 Jan 2015 23:42: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", Wed, 07 Jan 2015 23:42:00 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.5ms)[0m 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, 07 Jan 2015 23:42:00 UTC +00:00], ["email", "test12@test.com"], ["name", "Factory User 12"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:42:00 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 64' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 64' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "63"], ["created_at", Wed, 07 Jan 2015 23:42: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", Wed, 07 Jan 2015 23:42:00 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 65' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 65' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:42: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", Wed, 07 Jan 2015 23:42:00 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 26], ["coalescing_panda_lti_account_id", 3], ["created_at", Wed, 07 Jan 2015 23:42:00 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:42:00 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Wed, 07 Jan 2015 23:42:00 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:42:00 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_assignment_id", "8"], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:42:00 UTC +00:00], ["name", "test assignment"], ["submission_types", nil], ["updated_at", Wed, 07 Jan 2015 23:42:00 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.9ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 66' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 66' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:42: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", Wed, 07 Jan 2015 23:42:00 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.4ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 67' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 67' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "66"], ["created_at", Wed, 07 Jan 2015 23:42: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", Wed, 07 Jan 2015 23:42:00 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.8ms)[0m 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", Wed, 07 Jan 2015 23:42:00 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:42:00 UTC +00:00]] [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 07 Jan 2015 23:42:00 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:42: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 (?, ?, ?, ?) [1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1 [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 68' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 68' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:42: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", Wed, 07 Jan 2015 23:42:00 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.3ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 69' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 69' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "68"], ["created_at", Wed, 07 Jan 2015 23:42: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", Wed, 07 Jan 2015 23:42:00 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.4ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 70' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 70' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:42: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", Wed, 07 Jan 2015 23:42:00 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.7ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 07 Jan 2015 23:42:00 UTC +00:00], ["email", "test15@test.com"], ["name", "Factory User 15"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:42:00 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m 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, 07 Jan 2015 23:42:00 UTC +00:00], ["email", "test16@test.com"], ["name", "Factory User 16"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:42: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 (?, ?, ?, ?, ?, ?, ?) [1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m [1m[35m (0.6ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 71' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 71' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "70"], ["created_at", Wed, 07 Jan 2015 23:42: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", Wed, 07 Jan 2015 23:42:00 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.4ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 72' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 72' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:42: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", Wed, 07 Jan 2015 23:42:00 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 73' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 73' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "72"], ["created_at", Wed, 07 Jan 2015 23:42: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", Wed, 07 Jan 2015 23:42:00 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Wed, 07 Jan 2015 23:42:00 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:42:00 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 23], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Wed, 07 Jan 2015 23:42:00 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:42:00 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:42:00 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:42:00 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::CanvasBatch Load (0.2ms)[0m SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" ORDER BY created_at ASC LIMIT 1 [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.2ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 74' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 74' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:42: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", Wed, 07 Jan 2015 23:42:00 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 75' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 75' LIMIT 1 [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "74"], ["created_at", Wed, 07 Jan 2015 23:42: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", Wed, 07 Jan 2015 23:42:00 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m 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", Wed, 07 Jan 2015 23:42:00 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:42:00 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 24], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Wed, 07 Jan 2015 23:42:00 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:42:00 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:42:01 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:42:01 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.9ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 76' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 76' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "75"], ["created_at", Wed, 07 Jan 2015 23:42: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", Wed, 07 Jan 2015 23:42:01 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 77' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 77' LIMIT 1[0m [1m[35mSQL (0.6ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:42: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", Wed, 07 Jan 2015 23:42:01 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 30], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:42:01 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:42:01 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Wed, 07 Jan 2015 23:42:01 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:42:01 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Wed, 07 Jan 2015 23:42:01 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:42:01 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m UPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["status", "Started"], ["updated_at", Wed, 07 Jan 2015 23:42:01 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Section Load (0.1ms)[0m SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "coalescing_panda_sections" ("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, 07 Jan 2015 23:42:01 UTC +00:00], ["name", "Course1"], ["updated_at", Wed, 07 Jan 2015 23:42:01 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mUPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1[0m [["percent_complete", 20.0], ["updated_at", Wed, 07 Jan 2015 23:42:01 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::User Load (0.1ms)[0m [1mSELECT "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[0m [["coalescing_panda_lti_account_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 07 Jan 2015 23:42:01 UTC +00:00], ["name", "teacher@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:42:01 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::User Load (0.1ms)[0m [1mSELECT "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[0m [["coalescing_panda_lti_account_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 07 Jan 2015 23:42:01 UTC +00:00], ["name", "student1@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:42:01 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::User Load (0.1ms)[0m [1mSELECT "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[0m [["coalescing_panda_lti_account_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 07 Jan 2015 23:42:01 UTC +00:00], ["name", "student2@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:42:01 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 40.0], ["updated_at", Wed, 07 Jan 2015 23:42:01 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Enrollment Load (0.1ms)[0m SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '1') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36mCoalescingPanda::User Load (0.1ms)[0m [1mSELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '1' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1[0m [["coalescing_panda_lti_account_id", 1]] [1m[35mCoalescingPanda::Section Load (0.1ms)[0m SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "coalescing_panda_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"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Enrollment Load (0.1ms)[0m SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '2') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36mCoalescingPanda::User Load (0.1ms)[0m [1mSELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1[0m [["coalescing_panda_lti_account_id", 1]] [1m[35mCoalescingPanda::Section Load (0.0ms)[0m SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_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"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Enrollment Load (0.1ms)[0m SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '3') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36mCoalescingPanda::User Load (0.1ms)[0m [1mSELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1[0m [["coalescing_panda_lti_account_id", 1]] [1m[35mCoalescingPanda::Section Load (0.0ms)[0m SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_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"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mUPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1[0m [["percent_complete", 60.0], ["updated_at", Wed, 07 Jan 2015 23:42:01 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::Assignment Load (0.1ms)[0m [1mSELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "grade_group_students_individually", "name", "points_possible", "published", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_assignment_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 18:04:38 UTC +00:00], ["description", "What is your name?
"], ["grade_group_students_individually", false], ["name", "Gimme your name"], ["points_possible", 100.0], ["published", true], ["submission_types", "---\n- online_text_entry\n"], ["updated_at", Tue, 18 Nov 2014 18:04:42 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::Assignment Load (0.1ms)[0m [1mSELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "grade_group_students_individually", "name", "points_possible", "published", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_assignment_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 19:10:28 UTC +00:00], ["description", "What is your Favorite Color?
"], ["grade_group_students_individually", false], ["name", "Favorite Color"], ["points_possible", 100.0], ["published", true], ["submission_types", "---\n- online_text_entry\n"], ["updated_at", Tue, 18 Nov 2014 19:10:30 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 80.0], ["updated_at", Wed, 07 Jan 2015 23:42:01 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Assignment Load (0.1ms)[0m SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? [["coalescing_panda_course_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 100.0], ["updated_at", Wed, 07 Jan 2015 23:42:01 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mUPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1[0m [["percent_complete", 120.0], ["updated_at", Wed, 07 Jan 2015 23:42:01 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 140.0], ["updated_at", Wed, 07 Jan 2015 23:42:01 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mUPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1[0m [["status", "Completed"], ["percent_complete", 100.0], ["updated_at", Wed, 07 Jan 2015 23:42:01 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (1.7ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.2ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 78' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 78' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:42: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", Wed, 07 Jan 2015 23:42:01 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 79' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 79' LIMIT 1 [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "78"], ["created_at", Wed, 07 Jan 2015 23:42: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", Wed, 07 Jan 2015 23:42:01 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m 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", Wed, 07 Jan 2015 23:42:01 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:42:01 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 26], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Wed, 07 Jan 2015 23:42:01 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:42:01 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:42:01 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:42:01 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (1.0ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 80' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 80' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "79"], ["created_at", Wed, 07 Jan 2015 23:42: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", Wed, 07 Jan 2015 23:42:01 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 81' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 81' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:42: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", Wed, 07 Jan 2015 23:42:01 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 32], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:42:01 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:42:01 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Wed, 07 Jan 2015 23:42:01 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:42:01 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Wed, 07 Jan 2015 23:42:01 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:42:01 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mCoalescingPanda::Section Load (0.1ms)[0m [1mSELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections"[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 82' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 82' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "81"], ["created_at", Wed, 07 Jan 2015 23:42: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", Wed, 07 Jan 2015 23:42:01 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 83' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 83' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:42: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", Wed, 07 Jan 2015 23:42:01 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 33], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:42:01 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:42:01 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Wed, 07 Jan 2015 23:42:01 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:42:01 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Wed, 07 Jan 2015 23:42:01 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:42:01 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::Section Load (0.0ms)[0m [1mSELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:42:01 UTC +00:00], ["name", "Course1"], ["updated_at", Wed, 07 Jan 2015 23:42:01 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "coalescing_panda_sections"[0m [1m[35m (0.8ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mCoalescingPanda::User Load (0.1ms)[0m SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 84' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 84' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:42: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", Wed, 07 Jan 2015 23:42:01 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 85' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 85' LIMIT 1 [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "84"], ["created_at", Wed, 07 Jan 2015 23:42: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", Wed, 07 Jan 2015 23:42:01 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m 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", Wed, 07 Jan 2015 23:42:01 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:42:01 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 29], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Wed, 07 Jan 2015 23:42:01 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:42:01 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:42:01 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:42:01 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::User Load (0.0ms)[0m 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]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_users" ("canvas_user_id", "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, 07 Jan 2015 23:42:01 UTC +00:00], ["name", "teacher@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:42:01 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::User Load (0.0ms)[0m 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]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_users" ("canvas_user_id", "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, 07 Jan 2015 23:42:01 UTC +00:00], ["name", "student1@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:42:01 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::User Load (0.0ms)[0m 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]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_users" ("canvas_user_id", "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, 07 Jan 2015 23:42:01 UTC +00:00], ["name", "student2@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:42:01 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "coalescing_panda_users" [1m[36m (1.0ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mCoalescingPanda::Enrollment Load (0.2ms)[0m [1mSELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments"[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 86' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 86' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "85"], ["created_at", Wed, 07 Jan 2015 23:42: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", Wed, 07 Jan 2015 23:42:01 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 87' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 87' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:42: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", Wed, 07 Jan 2015 23:42:01 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 35], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:42:01 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:42:01 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "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", Wed, 07 Jan 2015 23:42:01 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:42:01 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Wed, 07 Jan 2015 23:42:01 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:42:01 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::Section Load (0.0ms)[0m [1mSELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:42:01 UTC +00:00], ["name", "Course1"], ["updated_at", Wed, 07 Jan 2015 23:42:01 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::User Load (0.0ms)[0m [1mSELECT "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[0m [["coalescing_panda_lti_account_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 07 Jan 2015 23:42:01 UTC +00:00], ["name", "teacher@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:42:01 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::User Load (0.0ms)[0m [1mSELECT "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[0m [["coalescing_panda_lti_account_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 07 Jan 2015 23:42:01 UTC +00:00], ["name", "student1@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:42:01 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::User Load (0.0ms)[0m [1mSELECT "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[0m [["coalescing_panda_lti_account_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 07 Jan 2015 23:42:01 UTC +00:00], ["name", "student2@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:42:01 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::Enrollment Load (0.0ms)[0m [1mSELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '1') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35mCoalescingPanda::User Load (0.1ms)[0m SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '1' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] [1m[36mCoalescingPanda::Section Load (0.0ms)[0m [1mSELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["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"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::Enrollment Load (0.0ms)[0m [1mSELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '2') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35mCoalescingPanda::User Load (0.0ms)[0m SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] [1m[36mCoalescingPanda::Section Load (0.0ms)[0m [1mSELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["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"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::Enrollment Load (0.0ms)[0m [1mSELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '3') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35mCoalescingPanda::User Load (0.0ms)[0m SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] [1m[36mCoalescingPanda::Section Load (0.0ms)[0m [1mSELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["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"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "coalescing_panda_enrollments"[0m [1m[35mCoalescingPanda::Enrollment Load (0.1ms)[0m SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" ORDER BY "coalescing_panda_enrollments"."id" DESC LIMIT 1 [1m[36m (1.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mCoalescingPanda::Assignment Load (0.1ms)[0m [1mSELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments"[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 88' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 88' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "87"], ["created_at", Wed, 07 Jan 2015 23:42: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", Wed, 07 Jan 2015 23:42:01 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 89' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 89' LIMIT 1[0m [1m[35mSQL (0.8ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:42: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", Wed, 07 Jan 2015 23:42:01 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 36], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:42:01 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:42:01 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "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", Wed, 07 Jan 2015 23:42:01 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:42:01 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Wed, 07 Jan 2015 23:42:01 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:42:01 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::Assignment Load (0.0ms)[0m [1mSELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "grade_group_students_individually", "name", "points_possible", "published", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_assignment_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 18:04:38 UTC +00:00], ["description", "What is your name?
"], ["grade_group_students_individually", false], ["name", "Gimme your name"], ["points_possible", 100.0], ["published", true], ["submission_types", "---\n- online_text_entry\n"], ["updated_at", Tue, 18 Nov 2014 18:04:42 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::Assignment Load (0.0ms)[0m [1mSELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "grade_group_students_individually", "name", "points_possible", "published", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_assignment_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 19:10:28 UTC +00:00], ["description", "What is your Favorite Color?
"], ["grade_group_students_individually", false], ["name", "Favorite Color"], ["points_possible", 100.0], ["published", true], ["submission_types", "---\n- online_text_entry\n"], ["updated_at", Tue, 18 Nov 2014 19:10:30 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "coalescing_panda_assignments"[0m [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mCoalescingPanda::Submission Load (0.1ms)[0m SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 90' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 90' LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:42: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", Wed, 07 Jan 2015 23:42:01 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 91' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 91' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "90"], ["created_at", Wed, 07 Jan 2015 23:42: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", Wed, 07 Jan 2015 23:42:01 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Wed, 07 Jan 2015 23:42:01 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:42:01 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 32], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Wed, 07 Jan 2015 23:42:01 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:42:01 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:42:01 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:42:01 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::User Load (0.0ms)[0m 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]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_users" ("canvas_user_id", "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, 07 Jan 2015 23:42:01 UTC +00:00], ["name", "teacher@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:42:01 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::User Load (0.1ms)[0m 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]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "coalescing_panda_users" ("canvas_user_id", "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, 07 Jan 2015 23:42:01 UTC +00:00], ["name", "student1@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:42:01 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::User Load (0.0ms)[0m 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]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_users" ("canvas_user_id", "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, 07 Jan 2015 23:42:01 UTC +00:00], ["name", "student2@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:42:01 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Assignment Load (0.0ms)[0m SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "grade_group_students_individually", "name", "points_possible", "published", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 18:04:38 UTC +00:00], ["description", "What is your name?
"], ["grade_group_students_individually", false], ["name", "Gimme your name"], ["points_possible", 100.0], ["published", true], ["submission_types", "---\n- online_text_entry\n"], ["updated_at", Tue, 18 Nov 2014 18:04:42 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Assignment Load (0.0ms)[0m SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "grade_group_students_individually", "name", "points_possible", "published", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 19:10:28 UTC +00:00], ["description", "What is your Favorite Color?
"], ["grade_group_students_individually", false], ["name", "Favorite Color"], ["points_possible", 100.0], ["published", true], ["submission_types", "---\n- online_text_entry\n"], ["updated_at", Tue, 18 Nov 2014 19:10:30 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Submission Load (0.1ms)[0m SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '3') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36mCoalescingPanda::User Load (0.0ms)[0m [1mSELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1[0m [["coalescing_panda_lti_account_id", 1]] [1m[35mCoalescingPanda::Assignment Load (0.1ms)[0m SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "coalescing_panda_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, 07 Jan 2015 23:42:01 UTC +00:00], ["grade", "70"], ["score", 70], ["updated_at", Wed, 07 Jan 2015 23:42:01 UTC +00:00], ["workflow_state", "graded"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Submission Load (0.1ms)[0m SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '1') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36mCoalescingPanda::User Load (0.0ms)[0m [1mSELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1[0m [["coalescing_panda_lti_account_id", 1]] [1m[35mCoalescingPanda::Assignment Load (0.0ms)[0m SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_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, 07 Jan 2015 23:42:01 UTC +00:00], ["grade", "100"], ["score", 100], ["updated_at", Wed, 07 Jan 2015 23:42:01 UTC +00:00], ["workflow_state", "graded"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Submission Load (0.2ms)[0m SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '4') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36mCoalescingPanda::User Load (0.1ms)[0m [1mSELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1[0m [["coalescing_panda_lti_account_id", 1]] [1m[35mCoalescingPanda::Assignment Load (0.2ms)[0m SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "coalescing_panda_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, 07 Jan 2015 23:42:01 UTC +00:00], ["grade", "90"], ["score", 90], ["updated_at", Wed, 07 Jan 2015 23:42:01 UTC +00:00], ["workflow_state", "graded"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Submission Load (0.2ms)[0m SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '2') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36mCoalescingPanda::User Load (0.1ms)[0m [1mSELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1[0m [["coalescing_panda_lti_account_id", 1]] [1m[35mCoalescingPanda::Assignment Load (0.1ms)[0m SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "coalescing_panda_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, 07 Jan 2015 23:42:01 UTC +00:00], ["grade", "80"], ["score", 80], ["updated_at", Wed, 07 Jan 2015 23:42:01 UTC +00:00], ["workflow_state", "graded"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "coalescing_panda_submissions" [1m[36m (0.8ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 92' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 92' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:42: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", Wed, 07 Jan 2015 23:42:01 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 93' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 93' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "92"], ["created_at", Wed, 07 Jan 2015 23:42: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", Wed, 07 Jan 2015 23:42:01 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Wed, 07 Jan 2015 23:42:01 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:42:01 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 33], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Wed, 07 Jan 2015 23:42:01 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:42:01 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:42:01 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:42:01 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 94' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 94' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "93"], ["created_at", Wed, 07 Jan 2015 23:42: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", Wed, 07 Jan 2015 23:42:01 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 95' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 95' LIMIT 1[0m [1m[35mSQL (0.6ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:42: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", Wed, 07 Jan 2015 23:42:01 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 39], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:42:01 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:42:01 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "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", Wed, 07 Jan 2015 23:42:01 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:42:01 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Wed, 07 Jan 2015 23:42:01 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:42:01 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 96' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 96' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:42: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", Wed, 07 Jan 2015 23:42:01 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 97' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 97' LIMIT 1 [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "96"], ["created_at", Wed, 07 Jan 2015 23:42: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", Wed, 07 Jan 2015 23:42:01 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Wed, 07 Jan 2015 23:42:01 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:42:01 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 35], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Wed, 07 Jan 2015 23:42:01 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:42:01 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:42:01 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:42:01 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 98' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 98' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "97"], ["created_at", Wed, 07 Jan 2015 23:42: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", Wed, 07 Jan 2015 23:42:01 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 99' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 99' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:42: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", Wed, 07 Jan 2015 23:42:01 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 41], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:42:01 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:42:01 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Wed, 07 Jan 2015 23:42:01 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:42:01 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Wed, 07 Jan 2015 23:42:01 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:42:01 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.6ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 100' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 100' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:42: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", Wed, 07 Jan 2015 23:42:01 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 101' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 101' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "100"], ["created_at", Wed, 07 Jan 2015 23:42: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", Wed, 07 Jan 2015 23:42:01 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Wed, 07 Jan 2015 23:42:01 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:42:01 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 37], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Wed, 07 Jan 2015 23:42:01 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:42:01 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:42:01 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:42:01 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.6ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 102' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 102' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "101"], ["created_at", Wed, 07 Jan 2015 23:42: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", Wed, 07 Jan 2015 23:42:01 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 103' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 103' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:42: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", Wed, 07 Jan 2015 23:42:01 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 43], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:42:01 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:42:01 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Wed, 07 Jan 2015 23:42:01 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:42:01 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Wed, 07 Jan 2015 23:42:01 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:42:01 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 104' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 104' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:42: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", Wed, 07 Jan 2015 23:42:01 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 105' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 105' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "104"], ["created_at", Wed, 07 Jan 2015 23:42: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", Wed, 07 Jan 2015 23:42:01 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Wed, 07 Jan 2015 23:42:01 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:42:01 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 39], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Wed, 07 Jan 2015 23:42:01 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:42:01 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:42:01 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:42:01 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 106' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 106' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "105"], ["created_at", Wed, 07 Jan 2015 23:42: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", Wed, 07 Jan 2015 23:42:01 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 107' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 107' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:42: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", Wed, 07 Jan 2015 23:42:01 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 45], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:42:01 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:42:01 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Wed, 07 Jan 2015 23:42:01 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:42:01 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Wed, 07 Jan 2015 23:42:01 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:42:01 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.9ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 108' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 108' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:42: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", Wed, 07 Jan 2015 23:42:01 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 109' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 109' LIMIT 1 [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "108"], ["created_at", Wed, 07 Jan 2015 23:42: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", Wed, 07 Jan 2015 23:42:01 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Wed, 07 Jan 2015 23:42:01 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:42:01 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 41], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Wed, 07 Jan 2015 23:42:01 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:42:01 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:42:01 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:42:01 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.8ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 110' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 110' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "109"], ["created_at", Wed, 07 Jan 2015 23:42: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", Wed, 07 Jan 2015 23:42:01 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 111' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 111' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:42: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", Wed, 07 Jan 2015 23:42:01 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 47], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:42:01 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:42:01 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Wed, 07 Jan 2015 23:42:01 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:42:01 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_section_id", 9], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:42:01 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:42:01 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 112' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 112' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:42: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", Wed, 07 Jan 2015 23:42:01 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 113' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 113' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "112"], ["created_at", Wed, 07 Jan 2015 23:42: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", Wed, 07 Jan 2015 23:42:01 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m 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", Wed, 07 Jan 2015 23:42:01 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:42:01 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 43], ["coalescing_panda_lti_account_id", 3], ["coalescing_panda_term_id", 2], ["created_at", Wed, 07 Jan 2015 23:42:01 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:42:01 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Course Load (0.1ms)[0m SELECT "coalescing_panda_courses".* FROM "coalescing_panda_courses" WHERE "coalescing_panda_courses"."id" = ? LIMIT 1 [["id", 2]] [1m[36mSQL (0.2ms)[0m [1mUPDATE "coalescing_panda_sections" SET "coalescing_panda_course_id" = ?, "updated_at" = ? WHERE "coalescing_panda_sections"."id" = 1[0m [["coalescing_panda_course_id", 2], ["updated_at", Wed, 07 Jan 2015 23:42:01 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:42:01 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:42:01 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 15], ["coalescing_panda_lti_account_id", 3], ["created_at", Wed, 07 Jan 2015 23:42:01 UTC +00:00], ["email", "test18@test.com"], ["name", "Factory User 18"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:42:01 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::User Load (0.1ms)[0m [1mSELECT "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[0m [["coalescing_panda_lti_account_id", 3]] [1m[35mCoalescingPanda::Section Load (0.1ms)[0m 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]] [1m[36m (1.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 114' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 114' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:42: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", Wed, 07 Jan 2015 23:42:01 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 115' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 115' LIMIT 1 [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "114"], ["created_at", Wed, 07 Jan 2015 23:42: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", Wed, 07 Jan 2015 23:42:01 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m 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", Wed, 07 Jan 2015 23:42:01 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:42:01 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 44], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Wed, 07 Jan 2015 23:42:01 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:42:01 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:42:01 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:42:01 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.8ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 116' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 116' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "115"], ["created_at", Wed, 07 Jan 2015 23:42: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", Wed, 07 Jan 2015 23:42:01 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 117' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 117' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:42: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", Wed, 07 Jan 2015 23:42:01 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 50], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:42:01 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:42:01 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Wed, 07 Jan 2015 23:42:01 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:42:01 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_assignment_id", "9"], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:42:01 UTC +00:00], ["name", "test assignment"], ["submission_types", nil], ["updated_at", Wed, 07 Jan 2015 23:42:01 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:42:01 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:42:01 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 16], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 07 Jan 2015 23:42:01 UTC +00:00], ["email", "test19@test.com"], ["name", "Factory User 19"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:42:01 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::User Load (0.1ms)[0m [1mSELECT "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[0m [["coalescing_panda_lti_account_id", 1]] [1m[35mCoalescingPanda::Assignment Load (0.1ms)[0m 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]] [1m[36m (1.1ms)[0m [1mrollback transaction[0m [1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m [1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations" [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m Processing by CoalescingPanda::LtiController#lti_config as HTML Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m Processing by CoalescingPanda::LtiController#lti_config as HTML Completed 500 Internal Server Error in 1ms [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m 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) [1m[35mCoalescingPanda::CanvasApiAuth Load (0.1ms)[0m 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 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction Processing by CoalescingPanda::Oauth2Controller#redirect as HTML Parameters: {"error"=>"your face"} Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "coalescing_panda_canvas_api_auths"[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 1' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 1' LIMIT 1 [1m[36mSQL (2.7ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "1"], ["created_at", Wed, 07 Jan 2015 23:42: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", Wed, 07 Jan 2015 23:42:21 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 2' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 2' LIMIT 1[0m [1m[35mSQL (1.3ms)[0m INSERT INTO "coalescing_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, 07 Jan 2015 23:42: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", Wed, 07 Jan 2015 23:42:21 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 1], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:42:21 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:42:21 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "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", Wed, 07 Jan 2015 23:42:21 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:42:21 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (1.2ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 3' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 3' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "3"], ["created_at", Wed, 07 Jan 2015 23:42: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", Wed, 07 Jan 2015 23:42:21 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 4' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 4' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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, 07 Jan 2015 23:42:21 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, 07 Jan 2015 23:42:21 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 2], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:42:21 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:42:21 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Wed, 07 Jan 2015 23:42:21 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:42:21 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.6ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 5' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 5' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "5"], ["created_at", Wed, 07 Jan 2015 23:42:21 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, 07 Jan 2015 23:42:21 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 6' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 6' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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, 07 Jan 2015 23:42:21 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, 07 Jan 2015 23:42:21 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 3], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:42:21 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:42:21 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Wed, 07 Jan 2015 23:42:21 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:42:21 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_assignment_id", "1"], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:42:21 UTC +00:00], ["name", "test assignment"], ["submission_types", nil], ["updated_at", Wed, 07 Jan 2015 23:42:21 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_assignment_id", "1"], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:42:21 UTC +00:00], ["name", "test assignment"], ["submission_types", nil], ["updated_at", Wed, 07 Jan 2015 23:42:21 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", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m [1m[35m (0.8ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 7' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 7' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "7"], ["created_at", Wed, 07 Jan 2015 23:42:21 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, 07 Jan 2015 23:42:21 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 8' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 8' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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, 07 Jan 2015 23:42:21 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, 07 Jan 2015 23:42:21 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 4], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:42:21 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:42:21 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Wed, 07 Jan 2015 23:42:21 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:42:21 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.6ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mCoalescingPanda::CanvasApiAuth Load (0.2ms)[0m SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" ORDER BY "coalescing_panda_canvas_api_auths"."id" ASC LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_panda_canvas_api_auths" ("created_at", "updated_at", "user_id") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:42:21 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:42:21 UTC +00:00], ["user_id", "a"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::CanvasApiAuth Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1 [1m[36mCoalescingPanda::CanvasApiAuth Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1[0m [1m[35mCoalescingPanda::CanvasApiAuth Load (0.1ms)[0m SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" [1m[36mCoalescingPanda::CanvasApiAuth Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" = '1') LIMIT 1[0m [1m[35mCoalescingPanda::CanvasApiAuth Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" = '1') LIMIT 1 [1m[36m (0.6ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mCoalescingPanda::CanvasApiAuth Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1[0m [1m[35mCoalescingPanda::CanvasApiAuth Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1 [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mCoalescingPanda::CanvasApiAuth Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1[0m [1m[35mCoalescingPanda::CanvasApiAuth Exists (0.2ms)[0m SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:42:21 UTC +00:00], ["status", "Pending"], ["updated_at", Wed, 07 Jan 2015 23:42:21 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Wed, 07 Jan 2015 23:42:21 UTC +00:00], ["status", "Pending"], ["updated_at", Wed, 07 Jan 2015 23:42:21 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:42:21 UTC +00:00], ["status", "Pending"], ["updated_at", Wed, 07 Jan 2015 23:42:21 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::CanvasBatch Load (0.1ms)[0m SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" ORDER BY created_at DESC [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 9' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 9' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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, 07 Jan 2015 23:42: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", Wed, 07 Jan 2015 23:42:21 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 10' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 10' LIMIT 1 [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "10"], ["created_at", Wed, 07 Jan 2015 23:42: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", Wed, 07 Jan 2015 23:42:21 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m 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", Wed, 07 Jan 2015 23:42:21 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:42:21 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.6ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 11' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 11' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "11"], ["created_at", Wed, 07 Jan 2015 23:42: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", Wed, 07 Jan 2015 23:42:21 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 12' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 12' LIMIT 1[0m [1m[35mSQL (0.6ms)[0m INSERT INTO "coalescing_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, 07 Jan 2015 23:42: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", Wed, 07 Jan 2015 23:42:21 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 6], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:42:21 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:42:21 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.6ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 13' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 13' LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "coalescing_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, 07 Jan 2015 23:42: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", Wed, 07 Jan 2015 23:42:21 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 14' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 14' LIMIT 1 [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "14"], ["created_at", Wed, 07 Jan 2015 23:42: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", Wed, 07 Jan 2015 23:42:21 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Wed, 07 Jan 2015 23:42:21 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:42:21 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Wed, 07 Jan 2015 23:42:21 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:42:21 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 15' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 15' LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "coalescing_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, 07 Jan 2015 23:42: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", Wed, 07 Jan 2015 23:42:21 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 8], ["coalescing_panda_lti_account_id", 3], ["created_at", Wed, 07 Jan 2015 23:42:21 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:42:21 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "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", Wed, 07 Jan 2015 23:42:21 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:42:21 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 (?, ?, ?, ?, ?, ?) [1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 16' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 16' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "16"], ["created_at", Wed, 07 Jan 2015 23:42: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", Wed, 07 Jan 2015 23:42:21 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.5ms)[0m 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", Wed, 07 Jan 2015 23:42:21 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:42:21 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 17' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 17' LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "17"], ["created_at", Wed, 07 Jan 2015 23:42: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", Wed, 07 Jan 2015 23:42:21 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Wed, 07 Jan 2015 23:42:21 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:42:21 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 18' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 18' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "18"], ["created_at", Wed, 07 Jan 2015 23:42: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", Wed, 07 Jan 2015 23:42:21 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "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", Wed, 07 Jan 2015 23:42:21 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:42:21 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 (?, ?, ?, ?, ?, ?) [1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m [1m[35m (0.6ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 19' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 19' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "19"], ["created_at", Wed, 07 Jan 2015 23:42: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", Wed, 07 Jan 2015 23:42:21 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 20' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 20' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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, 07 Jan 2015 23:42: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", Wed, 07 Jan 2015 23:42:21 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 10], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:42:21 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:42:21 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.6ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 21' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 21' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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, 07 Jan 2015 23:42: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", Wed, 07 Jan 2015 23:42:21 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.8ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 07 Jan 2015 23:42:21 UTC +00:00], ["email", "test1@test.com"], ["name", "Factory User 1"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:42:21 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 22' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 22' LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "coalescing_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, 07 Jan 2015 23:42: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", Wed, 07 Jan 2015 23:42:21 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 23' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 23' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "23"], ["created_at", Wed, 07 Jan 2015 23:42: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", Wed, 07 Jan 2015 23:42:21 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Wed, 07 Jan 2015 23:42:21 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:42:21 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 7], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Wed, 07 Jan 2015 23:42:21 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:42:21 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m 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", Wed, 07 Jan 2015 23:42:21 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:42:21 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.9ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 24' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 24' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "24"], ["created_at", Wed, 07 Jan 2015 23:42:21 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, 07 Jan 2015 23:42:21 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.6ms)[0m 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, 07 Jan 2015 23:42:21 UTC +00:00], ["email", "test2@test.com"], ["name", "Factory User 2"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:42:21 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 25' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 25' LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "25"], ["created_at", Wed, 07 Jan 2015 23:42:21 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, 07 Jan 2015 23:42:21 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 26' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 26' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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, 07 Jan 2015 23:42:21 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, 07 Jan 2015 23:42:21 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 12], ["coalescing_panda_lti_account_id", 3], ["created_at", Wed, 07 Jan 2015 23:42:21 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:42:21 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "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", Wed, 07 Jan 2015 23:42:21 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:42:21 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_section_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:42:21 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:42:21 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 27' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 27' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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, 07 Jan 2015 23:42:21 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, 07 Jan 2015 23:42:21 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 07 Jan 2015 23:42:21 UTC +00:00], ["email", "test3@test.com"], ["name", "Factory User 3"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:42:21 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 28' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 28' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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, 07 Jan 2015 23:42:21 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, 07 Jan 2015 23:42:21 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 29' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 29' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "29"], ["created_at", Wed, 07 Jan 2015 23:42:21 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, 07 Jan 2015 23:42:21 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Wed, 07 Jan 2015 23:42:21 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:42:21 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 9], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Wed, 07 Jan 2015 23:42:21 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:42:21 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Wed, 07 Jan 2015 23:42:21 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:42:21 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.8ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 30' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 30' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "30"], ["created_at", Wed, 07 Jan 2015 23:42:21 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, 07 Jan 2015 23:42:21 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.6ms)[0m 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, 07 Jan 2015 23:42:21 UTC +00:00], ["email", "test4@test.com"], ["name", "Factory User 4"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:42:21 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 31' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 31' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "31"], ["created_at", Wed, 07 Jan 2015 23:42:21 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, 07 Jan 2015 23:42:21 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 32' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 32' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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, 07 Jan 2015 23:42:21 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, 07 Jan 2015 23:42:21 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 14], ["coalescing_panda_lti_account_id", 3], ["created_at", Wed, 07 Jan 2015 23:42:21 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:42:21 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Wed, 07 Jan 2015 23:42:21 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:42:21 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_section_id", 4], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:42:21 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:42:21 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m 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", Wed, 07 Jan 2015 23:42:21 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Wed, 07 Jan 2015 23:42:21 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_enrollment_id", 4], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Wed, 07 Jan 2015 23:42:21 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Wed, 07 Jan 2015 23:42:21 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 (?, ?, ?, ?, ?, ?) [1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1 [1m[36m (0.8ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 33' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 33' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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, 07 Jan 2015 23:42:21 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, 07 Jan 2015 23:42:21 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 5], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 07 Jan 2015 23:42:21 UTC +00:00], ["email", "test5@test.com"], ["name", "Factory User 5"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:42:21 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 34' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 34' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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, 07 Jan 2015 23:42:21 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, 07 Jan 2015 23:42:21 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 35' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 35' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "35"], ["created_at", Wed, 07 Jan 2015 23:42:21 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, 07 Jan 2015 23:42:21 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Wed, 07 Jan 2015 23:42:21 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:42:21 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 11], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Wed, 07 Jan 2015 23:42:21 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:42:21 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (2.1ms)[0m 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", Wed, 07 Jan 2015 23:42:21 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:42:21 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_enrollment_id", 5], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Wed, 07 Jan 2015 23:42:21 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Wed, 07 Jan 2015 23:42:21 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m 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", Wed, 07 Jan 2015 23:42:21 UTC +00:00], ["enrollment_type", "TeacherEnrollment"], ["updated_at", Wed, 07 Jan 2015 23:42:21 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (1.0ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 36' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 36' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "36"], ["created_at", Wed, 07 Jan 2015 23:42:21 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, 07 Jan 2015 23:42:21 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.6ms)[0m 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, 07 Jan 2015 23:42:21 UTC +00:00], ["email", "test6@test.com"], ["name", "Factory User 6"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:42:21 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 37' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 37' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "37"], ["created_at", Wed, 07 Jan 2015 23:42:21 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, 07 Jan 2015 23:42:21 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 38' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 38' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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, 07 Jan 2015 23:42:21 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, 07 Jan 2015 23:42:21 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 16], ["coalescing_panda_lti_account_id", 3], ["created_at", Wed, 07 Jan 2015 23:42:21 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:42:21 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Wed, 07 Jan 2015 23:42:21 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:42:21 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_section_id", 6], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:42:21 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:42:21 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.6ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mCoalescingPanda::LtiAccount Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 39' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 39' LIMIT 1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 40' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 40' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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, 07 Jan 2015 23:42:21 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, 07 Jan 2015 23:42:21 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 41' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 41' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "40"], ["created_at", Wed, 07 Jan 2015 23:42:21 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, 07 Jan 2015 23:42:21 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m 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", Wed, 07 Jan 2015 23:42:21 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:42:21 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 13], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Wed, 07 Jan 2015 23:42:21 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:42:21 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.6ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 42' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 42' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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, 07 Jan 2015 23:42:21 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, 07 Jan 2015 23:42:21 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 43' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 43' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "42"], ["created_at", Wed, 07 Jan 2015 23:42:21 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, 07 Jan 2015 23:42:21 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Wed, 07 Jan 2015 23:42:21 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:42:21 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 14], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Wed, 07 Jan 2015 23:42:21 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:42:21 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.5ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.2ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 44' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 44' LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "coalescing_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, 07 Jan 2015 23:42:21 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, 07 Jan 2015 23:42:21 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 45' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 45' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "44"], ["created_at", Wed, 07 Jan 2015 23:42:21 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, 07 Jan 2015 23:42:21 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Wed, 07 Jan 2015 23:42:21 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:42:21 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 15], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Wed, 07 Jan 2015 23:42:21 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:42:21 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m 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", Wed, 07 Jan 2015 23:42:21 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:42:21 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_section_id", "1"], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:42:21 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:42:21 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 (?, ?, ?, ?) [1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1 [1m[36m (3.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 46' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 46' LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "coalescing_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, 07 Jan 2015 23:42:22 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, 07 Jan 2015 23:42:22 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 47' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 47' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "46"], ["created_at", Wed, 07 Jan 2015 23:42:22 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, 07 Jan 2015 23:42:22 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m 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", Wed, 07 Jan 2015 23:42:22 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:42:22 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 16], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Wed, 07 Jan 2015 23:42:22 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:42:22 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.8ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 48' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 48' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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, 07 Jan 2015 23:42:22 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, 07 Jan 2015 23:42:22 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 7], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 07 Jan 2015 23:42:22 UTC +00:00], ["email", "test7@test.com"], ["name", "Factory User 7"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:42:22 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 49' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 49' LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "coalescing_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, 07 Jan 2015 23:42:22 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, 07 Jan 2015 23:42:22 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 50' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 50' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "49"], ["created_at", Wed, 07 Jan 2015 23:42:22 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, 07 Jan 2015 23:42:22 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Wed, 07 Jan 2015 23:42:22 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:42:22 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 17], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Wed, 07 Jan 2015 23:42:22 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:42:22 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_assignment_id", "3"], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:42:22 UTC +00:00], ["name", "test assignment"], ["submission_types", nil], ["updated_at", Wed, 07 Jan 2015 23:42:22 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.8ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.2ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 51' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 51' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "50"], ["created_at", Wed, 07 Jan 2015 23:42:22 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, 07 Jan 2015 23:42:22 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.5ms)[0m 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, 07 Jan 2015 23:42:22 UTC +00:00], ["email", "test8@test.com"], ["name", "Factory User 8"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:42:22 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 52' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 52' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "51"], ["created_at", Wed, 07 Jan 2015 23:42:22 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, 07 Jan 2015 23:42:22 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 53' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 53' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:42:22 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", Wed, 07 Jan 2015 23:42:22 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 22], ["coalescing_panda_lti_account_id", 3], ["created_at", Wed, 07 Jan 2015 23:42:22 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:42:22 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "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", Wed, 07 Jan 2015 23:42:22 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:42:22 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_assignment_id", "4"], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:42:22 UTC +00:00], ["name", "test assignment"], ["submission_types", nil], ["updated_at", Wed, 07 Jan 2015 23:42:22 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.8ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 54' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 54' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:42:22 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", Wed, 07 Jan 2015 23:42:22 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 9], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 07 Jan 2015 23:42:22 UTC +00:00], ["email", "test9@test.com"], ["name", "Factory User 9"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:42:22 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 55' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 55' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:42:22 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", Wed, 07 Jan 2015 23:42:22 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 56' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 56' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "55"], ["created_at", Wed, 07 Jan 2015 23:42:22 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", Wed, 07 Jan 2015 23:42:22 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Wed, 07 Jan 2015 23:42:22 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:42:22 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 19], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Wed, 07 Jan 2015 23:42:22 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:42:22 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_assignment_id", "5"], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:42:22 UTC +00:00], ["name", "test assignment"], ["submission_types", nil], ["updated_at", Wed, 07 Jan 2015 23:42:22 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 57' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 57' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "56"], ["created_at", Wed, 07 Jan 2015 23:42:22 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", Wed, 07 Jan 2015 23:42:22 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.6ms)[0m 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, 07 Jan 2015 23:42:22 UTC +00:00], ["email", "test10@test.com"], ["name", "Factory User 10"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:42:22 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 58' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 58' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "57"], ["created_at", Wed, 07 Jan 2015 23:42:22 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", Wed, 07 Jan 2015 23:42:22 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 59' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 59' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:42:22 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", Wed, 07 Jan 2015 23:42:22 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 24], ["coalescing_panda_lti_account_id", 3], ["created_at", Wed, 07 Jan 2015 23:42:22 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:42:22 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Wed, 07 Jan 2015 23:42:22 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:42:22 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_assignment_id", "6"], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:42:22 UTC +00:00], ["name", "test assignment"], ["submission_types", nil], ["updated_at", Wed, 07 Jan 2015 23:42:22 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m 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", Wed, 07 Jan 2015 23:42:22 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:42:22 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["canvas_submission_id", "1"], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Wed, 07 Jan 2015 23:42:22 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:42:22 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 (?, ?, ?, ?, ?) [1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1 [1m[36m (0.8ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 60' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 60' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:42:22 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", Wed, 07 Jan 2015 23:42:22 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 11], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 07 Jan 2015 23:42:22 UTC +00:00], ["email", "test11@test.com"], ["name", "Factory User 11"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:42:22 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 61' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 61' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:42:22 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", Wed, 07 Jan 2015 23:42:22 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 62' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 62' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "61"], ["created_at", Wed, 07 Jan 2015 23:42:22 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", Wed, 07 Jan 2015 23:42:22 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Wed, 07 Jan 2015 23:42:22 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:42:22 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 21], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Wed, 07 Jan 2015 23:42:22 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:42:22 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_assignment_id", "7"], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:42:22 UTC +00:00], ["name", "test assignment"], ["submission_types", nil], ["updated_at", Wed, 07 Jan 2015 23:42:22 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["canvas_submission_id", "1"], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Wed, 07 Jan 2015 23:42:22 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:42:22 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m 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", Wed, 07 Jan 2015 23:42:22 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:42:22 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.9ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 63' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 63' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "62"], ["created_at", Wed, 07 Jan 2015 23:42:22 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", Wed, 07 Jan 2015 23:42:22 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.7ms)[0m 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, 07 Jan 2015 23:42:22 UTC +00:00], ["email", "test12@test.com"], ["name", "Factory User 12"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:42:22 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 64' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 64' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "63"], ["created_at", Wed, 07 Jan 2015 23:42:22 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", Wed, 07 Jan 2015 23:42:22 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 65' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 65' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:42:22 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", Wed, 07 Jan 2015 23:42:22 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 26], ["coalescing_panda_lti_account_id", 3], ["created_at", Wed, 07 Jan 2015 23:42:22 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:42:22 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Wed, 07 Jan 2015 23:42:22 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:42:22 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_assignment_id", "8"], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:42:22 UTC +00:00], ["name", "test assignment"], ["submission_types", nil], ["updated_at", Wed, 07 Jan 2015 23:42:22 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.9ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.2ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 66' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 66' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:42:22 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", Wed, 07 Jan 2015 23:42:22 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.4ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 67' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 67' LIMIT 1 [1m[36mSQL (0.7ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "66"], ["created_at", Wed, 07 Jan 2015 23:42:22 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", Wed, 07 Jan 2015 23:42:22 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.5ms)[0m 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", Wed, 07 Jan 2015 23:42:22 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:42:22 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 07 Jan 2015 23:42:22 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:42:22 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 (?, ?, ?, ?) [1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1 [1m[36m (0.6ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 68' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 68' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:42:22 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", Wed, 07 Jan 2015 23:42:22 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.4ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 69' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 69' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "68"], ["created_at", Wed, 07 Jan 2015 23:42:22 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", Wed, 07 Jan 2015 23:42:22 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.6ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 70' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 70' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:42:22 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", Wed, 07 Jan 2015 23:42:22 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.7ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 07 Jan 2015 23:42:22 UTC +00:00], ["email", "test15@test.com"], ["name", "Factory User 15"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:42:22 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m 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, 07 Jan 2015 23:42:22 UTC +00:00], ["email", "test16@test.com"], ["name", "Factory User 16"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:42:22 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 (?, ?, ?, ?, ?, ?, ?) [1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m [1m[35m (0.9ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 71' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 71' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "70"], ["created_at", Wed, 07 Jan 2015 23:42:22 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", Wed, 07 Jan 2015 23:42:22 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.4ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 72' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 72' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:42:22 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", Wed, 07 Jan 2015 23:42:22 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 73' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 73' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "72"], ["created_at", Wed, 07 Jan 2015 23:42:22 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", Wed, 07 Jan 2015 23:42:22 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m 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", Wed, 07 Jan 2015 23:42:22 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:42:22 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 23], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Wed, 07 Jan 2015 23:42:22 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:42:22 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:42:22 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:42:22 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::CanvasBatch Load (0.1ms)[0m SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" ORDER BY created_at ASC LIMIT 1 [1m[36m (0.6ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 74' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 74' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:42:22 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", Wed, 07 Jan 2015 23:42:22 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 75' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 75' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "74"], ["created_at", Wed, 07 Jan 2015 23:42:22 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", Wed, 07 Jan 2015 23:42:22 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Wed, 07 Jan 2015 23:42:22 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:42:22 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 24], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Wed, 07 Jan 2015 23:42:22 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:42:22 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:42:22 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:42:22 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.8ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 76' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 76' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "75"], ["created_at", Wed, 07 Jan 2015 23:42:22 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", Wed, 07 Jan 2015 23:42:22 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 77' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 77' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:42:22 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", Wed, 07 Jan 2015 23:42:22 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 30], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:42:22 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:42:22 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Wed, 07 Jan 2015 23:42:22 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:42:22 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Wed, 07 Jan 2015 23:42:22 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:42:22 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m UPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["status", "Started"], ["updated_at", Wed, 07 Jan 2015 23:42:22 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Section Load (0.2ms)[0m SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "coalescing_panda_sections" ("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, 07 Jan 2015 23:42:22 UTC +00:00], ["name", "Course1"], ["updated_at", Wed, 07 Jan 2015 23:42:22 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mUPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1[0m [["percent_complete", 20.0], ["updated_at", Wed, 07 Jan 2015 23:42:22 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::User Load (0.1ms)[0m [1mSELECT "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[0m [["coalescing_panda_lti_account_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 07 Jan 2015 23:42:22 UTC +00:00], ["name", "teacher@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:42:22 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::User Load (0.1ms)[0m [1mSELECT "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[0m [["coalescing_panda_lti_account_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 07 Jan 2015 23:42:22 UTC +00:00], ["name", "student1@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:42:22 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::User Load (0.1ms)[0m [1mSELECT "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[0m [["coalescing_panda_lti_account_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 07 Jan 2015 23:42:22 UTC +00:00], ["name", "student2@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:42:22 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 40.0], ["updated_at", Wed, 07 Jan 2015 23:42:22 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Enrollment Load (0.1ms)[0m SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '1') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36mCoalescingPanda::User Load (0.1ms)[0m [1mSELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '1' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1[0m [["coalescing_panda_lti_account_id", 1]] [1m[35mCoalescingPanda::Section Load (0.1ms)[0m SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "coalescing_panda_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"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Enrollment Load (0.1ms)[0m SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '2') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36mCoalescingPanda::User Load (0.1ms)[0m [1mSELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1[0m [["coalescing_panda_lti_account_id", 1]] [1m[35mCoalescingPanda::Section Load (0.0ms)[0m SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_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"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Enrollment Load (0.1ms)[0m SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '3') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36mCoalescingPanda::User Load (0.1ms)[0m [1mSELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1[0m [["coalescing_panda_lti_account_id", 1]] [1m[35mCoalescingPanda::Section Load (0.0ms)[0m SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_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"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mUPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1[0m [["percent_complete", 60.0], ["updated_at", Wed, 07 Jan 2015 23:42:22 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::Assignment Load (0.1ms)[0m [1mSELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "grade_group_students_individually", "name", "points_possible", "published", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_assignment_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 18:04:38 UTC +00:00], ["description", "What is your name?
"], ["grade_group_students_individually", false], ["name", "Gimme your name"], ["points_possible", 100.0], ["published", true], ["submission_types", "---\n- online_text_entry\n"], ["updated_at", Tue, 18 Nov 2014 18:04:42 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::Assignment Load (0.1ms)[0m [1mSELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "grade_group_students_individually", "name", "points_possible", "published", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_assignment_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 19:10:28 UTC +00:00], ["description", "What is your Favorite Color?
"], ["grade_group_students_individually", false], ["name", "Favorite Color"], ["points_possible", 100.0], ["published", true], ["submission_types", "---\n- online_text_entry\n"], ["updated_at", Tue, 18 Nov 2014 19:10:30 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 80.0], ["updated_at", Wed, 07 Jan 2015 23:42:22 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Assignment Load (0.1ms)[0m SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? [["coalescing_panda_course_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 100.0], ["updated_at", Wed, 07 Jan 2015 23:42:22 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mUPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1[0m [["percent_complete", 120.0], ["updated_at", Wed, 07 Jan 2015 23:42:22 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 140.0], ["updated_at", Wed, 07 Jan 2015 23:42:22 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mUPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1[0m [["status", "Completed"], ["percent_complete", 100.0], ["updated_at", Wed, 07 Jan 2015 23:42:22 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (1.0ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.2ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 78' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 78' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:42:22 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", Wed, 07 Jan 2015 23:42:22 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 79' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 79' LIMIT 1 [1m[36mSQL (0.7ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "78"], ["created_at", Wed, 07 Jan 2015 23:42:22 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", Wed, 07 Jan 2015 23:42:22 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Wed, 07 Jan 2015 23:42:22 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:42:22 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 26], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Wed, 07 Jan 2015 23:42:22 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:42:22 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:42:22 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:42:22 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 80' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 80' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "79"], ["created_at", Wed, 07 Jan 2015 23:42:22 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", Wed, 07 Jan 2015 23:42:22 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 81' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 81' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:42:22 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", Wed, 07 Jan 2015 23:42:22 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 32], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:42:22 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:42:22 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Wed, 07 Jan 2015 23:42:22 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:42:22 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Wed, 07 Jan 2015 23:42:22 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:42:22 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mCoalescingPanda::Section Load (0.1ms)[0m [1mSELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections"[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 82' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 82' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "81"], ["created_at", Wed, 07 Jan 2015 23:42:22 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", Wed, 07 Jan 2015 23:42:22 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 83' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 83' LIMIT 1[0m [1m[35mSQL (0.6ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:42:22 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", Wed, 07 Jan 2015 23:42:22 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 33], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:42:22 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:42:22 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Wed, 07 Jan 2015 23:42:22 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:42:22 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Wed, 07 Jan 2015 23:42:22 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:42:22 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::Section Load (0.0ms)[0m [1mSELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:42:22 UTC +00:00], ["name", "Course1"], ["updated_at", Wed, 07 Jan 2015 23:42:22 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "coalescing_panda_sections"[0m [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mCoalescingPanda::User Load (0.1ms)[0m SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 84' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 84' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:42:22 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", Wed, 07 Jan 2015 23:42:22 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 85' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 85' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "84"], ["created_at", Wed, 07 Jan 2015 23:42:22 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", Wed, 07 Jan 2015 23:42:22 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Wed, 07 Jan 2015 23:42:22 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:42:22 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 29], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Wed, 07 Jan 2015 23:42:22 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:42:22 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:42:22 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:42:22 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::User Load (0.0ms)[0m 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]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_users" ("canvas_user_id", "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, 07 Jan 2015 23:42:22 UTC +00:00], ["name", "teacher@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:42:22 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::User Load (0.0ms)[0m 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]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_users" ("canvas_user_id", "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, 07 Jan 2015 23:42:22 UTC +00:00], ["name", "student1@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:42:22 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::User Load (0.0ms)[0m 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]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_users" ("canvas_user_id", "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, 07 Jan 2015 23:42:22 UTC +00:00], ["name", "student2@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:42:22 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "coalescing_panda_users" [1m[36m (0.9ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mCoalescingPanda::Enrollment Load (0.2ms)[0m [1mSELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments"[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 86' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 86' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "85"], ["created_at", Wed, 07 Jan 2015 23:42:22 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", Wed, 07 Jan 2015 23:42:22 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 87' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 87' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:42:22 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", Wed, 07 Jan 2015 23:42:22 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 35], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:42:22 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:42:22 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "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", Wed, 07 Jan 2015 23:42:22 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:42:22 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Wed, 07 Jan 2015 23:42:22 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:42:22 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::Section Load (0.1ms)[0m [1mSELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:42:22 UTC +00:00], ["name", "Course1"], ["updated_at", Wed, 07 Jan 2015 23:42:22 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::User Load (0.1ms)[0m [1mSELECT "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[0m [["coalescing_panda_lti_account_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 07 Jan 2015 23:42:22 UTC +00:00], ["name", "teacher@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:42:22 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::User Load (0.0ms)[0m [1mSELECT "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[0m [["coalescing_panda_lti_account_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 07 Jan 2015 23:42:22 UTC +00:00], ["name", "student1@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:42:22 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::User Load (0.1ms)[0m [1mSELECT "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[0m [["coalescing_panda_lti_account_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 07 Jan 2015 23:42:22 UTC +00:00], ["name", "student2@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:42:22 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::Enrollment Load (0.0ms)[0m [1mSELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '1') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35mCoalescingPanda::User Load (0.0ms)[0m SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '1' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] [1m[36mCoalescingPanda::Section Load (0.0ms)[0m [1mSELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["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"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::Enrollment Load (0.0ms)[0m [1mSELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '2') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35mCoalescingPanda::User Load (0.0ms)[0m SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] [1m[36mCoalescingPanda::Section Load (0.0ms)[0m [1mSELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["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"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::Enrollment Load (0.0ms)[0m [1mSELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '3') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35mCoalescingPanda::User Load (0.0ms)[0m SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] [1m[36mCoalescingPanda::Section Load (0.0ms)[0m [1mSELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["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"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "coalescing_panda_enrollments"[0m [1m[35mCoalescingPanda::Enrollment Load (0.1ms)[0m SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" ORDER BY "coalescing_panda_enrollments"."id" DESC LIMIT 1 [1m[36m (0.8ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mCoalescingPanda::Assignment Load (0.1ms)[0m [1mSELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments"[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 88' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 88' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "87"], ["created_at", Wed, 07 Jan 2015 23:42:22 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", Wed, 07 Jan 2015 23:42:22 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 89' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 89' LIMIT 1[0m [1m[35mSQL (0.6ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:42:22 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", Wed, 07 Jan 2015 23:42:22 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 36], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:42:22 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:42:22 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Wed, 07 Jan 2015 23:42:22 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:42:22 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Wed, 07 Jan 2015 23:42:22 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:42:22 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::Assignment Load (0.0ms)[0m [1mSELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "grade_group_students_individually", "name", "points_possible", "published", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_assignment_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 18:04:38 UTC +00:00], ["description", "What is your name?
"], ["grade_group_students_individually", false], ["name", "Gimme your name"], ["points_possible", 100.0], ["published", true], ["submission_types", "---\n- online_text_entry\n"], ["updated_at", Tue, 18 Nov 2014 18:04:42 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::Assignment Load (0.0ms)[0m [1mSELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "grade_group_students_individually", "name", "points_possible", "published", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_assignment_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 19:10:28 UTC +00:00], ["description", "What is your Favorite Color?
"], ["grade_group_students_individually", false], ["name", "Favorite Color"], ["points_possible", 100.0], ["published", true], ["submission_types", "---\n- online_text_entry\n"], ["updated_at", Tue, 18 Nov 2014 19:10:30 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "coalescing_panda_assignments"[0m [1m[35m (0.8ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mCoalescingPanda::Submission Load (0.1ms)[0m SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 90' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 90' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:42:22 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", Wed, 07 Jan 2015 23:42:22 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 91' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 91' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "90"], ["created_at", Wed, 07 Jan 2015 23:42:22 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", Wed, 07 Jan 2015 23:42:22 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Wed, 07 Jan 2015 23:42:22 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:42:22 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 32], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Wed, 07 Jan 2015 23:42:22 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:42:22 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:42:22 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:42:22 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::User Load (0.0ms)[0m 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]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "coalescing_panda_users" ("canvas_user_id", "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, 07 Jan 2015 23:42:22 UTC +00:00], ["name", "teacher@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:42:22 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::User Load (0.0ms)[0m 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]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "coalescing_panda_users" ("canvas_user_id", "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, 07 Jan 2015 23:42:22 UTC +00:00], ["name", "student1@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:42:22 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::User Load (0.0ms)[0m 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]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_users" ("canvas_user_id", "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, 07 Jan 2015 23:42:22 UTC +00:00], ["name", "student2@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:42:22 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Assignment Load (0.0ms)[0m SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "grade_group_students_individually", "name", "points_possible", "published", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 18:04:38 UTC +00:00], ["description", "What is your name?
"], ["grade_group_students_individually", false], ["name", "Gimme your name"], ["points_possible", 100.0], ["published", true], ["submission_types", "---\n- online_text_entry\n"], ["updated_at", Tue, 18 Nov 2014 18:04:42 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Assignment Load (0.0ms)[0m SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "grade_group_students_individually", "name", "points_possible", "published", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 19:10:28 UTC +00:00], ["description", "What is your Favorite Color?
"], ["grade_group_students_individually", false], ["name", "Favorite Color"], ["points_possible", 100.0], ["published", true], ["submission_types", "---\n- online_text_entry\n"], ["updated_at", Tue, 18 Nov 2014 19:10:30 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Submission Load (0.3ms)[0m SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '3') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36mCoalescingPanda::User Load (0.0ms)[0m [1mSELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1[0m [["coalescing_panda_lti_account_id", 1]] [1m[35mCoalescingPanda::Assignment Load (0.1ms)[0m SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "coalescing_panda_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, 07 Jan 2015 23:42:22 UTC +00:00], ["grade", "70"], ["score", 70], ["updated_at", Wed, 07 Jan 2015 23:42:22 UTC +00:00], ["workflow_state", "graded"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Submission Load (0.1ms)[0m SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '1') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36mCoalescingPanda::User Load (0.0ms)[0m [1mSELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1[0m [["coalescing_panda_lti_account_id", 1]] [1m[35mCoalescingPanda::Assignment Load (0.0ms)[0m SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_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, 07 Jan 2015 23:42:22 UTC +00:00], ["grade", "100"], ["score", 100], ["updated_at", Wed, 07 Jan 2015 23:42:22 UTC +00:00], ["workflow_state", "graded"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Submission Load (0.1ms)[0m SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '4') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36mCoalescingPanda::User Load (0.0ms)[0m [1mSELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1[0m [["coalescing_panda_lti_account_id", 1]] [1m[35mCoalescingPanda::Assignment Load (0.1ms)[0m SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_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, 07 Jan 2015 23:42:22 UTC +00:00], ["grade", "90"], ["score", 90], ["updated_at", Wed, 07 Jan 2015 23:42:22 UTC +00:00], ["workflow_state", "graded"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Submission Load (0.1ms)[0m SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '2') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36mCoalescingPanda::User Load (0.0ms)[0m [1mSELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1[0m [["coalescing_panda_lti_account_id", 1]] [1m[35mCoalescingPanda::Assignment Load (0.0ms)[0m SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_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, 07 Jan 2015 23:42:22 UTC +00:00], ["grade", "80"], ["score", 80], ["updated_at", Wed, 07 Jan 2015 23:42:22 UTC +00:00], ["workflow_state", "graded"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "coalescing_panda_submissions" [1m[36m (0.9ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 92' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 92' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:42:22 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", Wed, 07 Jan 2015 23:42:22 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 93' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 93' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "92"], ["created_at", Wed, 07 Jan 2015 23:42:22 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", Wed, 07 Jan 2015 23:42:22 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Wed, 07 Jan 2015 23:42:22 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:42:22 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 33], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Wed, 07 Jan 2015 23:42:22 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:42:22 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:42:22 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:42:22 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 94' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 94' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "93"], ["created_at", Wed, 07 Jan 2015 23:42:22 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", Wed, 07 Jan 2015 23:42:22 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 95' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 95' LIMIT 1[0m [1m[35mSQL (0.7ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:42:22 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", Wed, 07 Jan 2015 23:42:22 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 39], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:42:22 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:42:22 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "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", Wed, 07 Jan 2015 23:42:22 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:42:22 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Wed, 07 Jan 2015 23:42:22 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:42:22 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.9ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 96' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 96' LIMIT 1[0m [1m[35mSQL (0.6ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:42:22 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", Wed, 07 Jan 2015 23:42:22 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 97' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 97' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "96"], ["created_at", Wed, 07 Jan 2015 23:42:22 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", Wed, 07 Jan 2015 23:42:22 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Wed, 07 Jan 2015 23:42:22 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:42:22 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 35], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Wed, 07 Jan 2015 23:42:22 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:42:22 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:42:22 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:42:22 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 98' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 98' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "97"], ["created_at", Wed, 07 Jan 2015 23:42:22 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", Wed, 07 Jan 2015 23:42:22 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 99' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 99' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:42:22 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", Wed, 07 Jan 2015 23:42:22 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 41], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:42:22 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:42:22 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Wed, 07 Jan 2015 23:42:22 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:42:22 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Wed, 07 Jan 2015 23:42:22 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:42:22 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.8ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.2ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 100' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 100' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:42:22 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", Wed, 07 Jan 2015 23:42:22 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 101' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 101' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "100"], ["created_at", Wed, 07 Jan 2015 23:42:22 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", Wed, 07 Jan 2015 23:42:22 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m 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", Wed, 07 Jan 2015 23:42:22 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:42:22 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 37], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Wed, 07 Jan 2015 23:42:22 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:42:22 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:42:22 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:42:22 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (1.0ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 102' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 102' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "101"], ["created_at", Wed, 07 Jan 2015 23:42:22 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", Wed, 07 Jan 2015 23:42:22 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 103' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 103' LIMIT 1[0m [1m[35mSQL (0.6ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:42:22 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", Wed, 07 Jan 2015 23:42:22 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 43], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:42:22 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:42:22 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Wed, 07 Jan 2015 23:42:22 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:42:22 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Wed, 07 Jan 2015 23:42:22 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:42:22 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.8ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 104' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 104' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:42:22 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", Wed, 07 Jan 2015 23:42:22 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 105' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 105' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "104"], ["created_at", Wed, 07 Jan 2015 23:42:22 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", Wed, 07 Jan 2015 23:42:22 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m 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", Wed, 07 Jan 2015 23:42:22 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:42:22 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 39], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Wed, 07 Jan 2015 23:42:22 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:42:22 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:42:22 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:42:22 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.6ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 106' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 106' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "105"], ["created_at", Wed, 07 Jan 2015 23:42:22 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", Wed, 07 Jan 2015 23:42:22 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 107' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 107' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:42:22 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", Wed, 07 Jan 2015 23:42:22 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 45], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:42:22 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:42:22 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Wed, 07 Jan 2015 23:42:22 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:42:22 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Wed, 07 Jan 2015 23:42:22 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:42:22 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 108' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 108' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:42:22 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", Wed, 07 Jan 2015 23:42:22 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 109' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 109' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "108"], ["created_at", Wed, 07 Jan 2015 23:42:22 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", Wed, 07 Jan 2015 23:42:22 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Wed, 07 Jan 2015 23:42:22 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:42:22 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 41], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Wed, 07 Jan 2015 23:42:22 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:42:22 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:42:22 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:42:22 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.9ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 110' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 110' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "109"], ["created_at", Wed, 07 Jan 2015 23:42:22 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", Wed, 07 Jan 2015 23:42:22 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 111' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 111' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:42:22 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", Wed, 07 Jan 2015 23:42:22 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 47], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:42:22 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:42:22 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Wed, 07 Jan 2015 23:42:22 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:42:22 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_section_id", 9], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:42:22 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:42:22 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 112' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 112' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:42:22 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", Wed, 07 Jan 2015 23:42:22 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 113' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 113' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "112"], ["created_at", Wed, 07 Jan 2015 23:42:22 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", Wed, 07 Jan 2015 23:42:22 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Wed, 07 Jan 2015 23:42:22 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:42:22 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 43], ["coalescing_panda_lti_account_id", 3], ["coalescing_panda_term_id", 2], ["created_at", Wed, 07 Jan 2015 23:42:22 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:42:22 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Course Load (0.1ms)[0m SELECT "coalescing_panda_courses".* FROM "coalescing_panda_courses" WHERE "coalescing_panda_courses"."id" = ? LIMIT 1 [["id", 2]] [1m[36mSQL (0.2ms)[0m [1mUPDATE "coalescing_panda_sections" SET "coalescing_panda_course_id" = ?, "updated_at" = ? WHERE "coalescing_panda_sections"."id" = 1[0m [["coalescing_panda_course_id", 2], ["updated_at", Wed, 07 Jan 2015 23:42:22 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:42:22 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:42:22 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 15], ["coalescing_panda_lti_account_id", 3], ["created_at", Wed, 07 Jan 2015 23:42:22 UTC +00:00], ["email", "test18@test.com"], ["name", "Factory User 18"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:42:22 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::User Load (0.1ms)[0m [1mSELECT "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[0m [["coalescing_panda_lti_account_id", 3]] [1m[35mCoalescingPanda::Section Load (0.1ms)[0m 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]] [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 114' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 114' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:42:22 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", Wed, 07 Jan 2015 23:42:22 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 115' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 115' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "114"], ["created_at", Wed, 07 Jan 2015 23:42:22 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", Wed, 07 Jan 2015 23:42:22 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m 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", Wed, 07 Jan 2015 23:42:22 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:42:22 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 44], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Wed, 07 Jan 2015 23:42:22 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:42:22 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:42:22 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:42:22 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 116' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 116' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "115"], ["created_at", Wed, 07 Jan 2015 23:42:22 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", Wed, 07 Jan 2015 23:42:22 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 117' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 117' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:42:22 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", Wed, 07 Jan 2015 23:42:22 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 50], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:42:22 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:42:22 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "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", Wed, 07 Jan 2015 23:42:22 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:42:22 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_assignment_id", "9"], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:42:22 UTC +00:00], ["name", "test assignment"], ["submission_types", nil], ["updated_at", Wed, 07 Jan 2015 23:42:22 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:42:22 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:42:22 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 16], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 07 Jan 2015 23:42:22 UTC +00:00], ["email", "test19@test.com"], ["name", "Factory User 19"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:42:22 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::User Load (0.1ms)[0m [1mSELECT "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[0m [["coalescing_panda_lti_account_id", 1]] [1m[35mCoalescingPanda::Assignment Load (0.1ms)[0m 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]] [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m [1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations" [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m Processing by CoalescingPanda::LtiController#lti_config as HTML Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m Processing by CoalescingPanda::LtiController#lti_config as HTML Completed 500 Internal Server Error in 1ms [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m 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) [1m[35mCoalescingPanda::CanvasApiAuth Load (0.1ms)[0m 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 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction Processing by CoalescingPanda::Oauth2Controller#redirect as HTML Parameters: {"error"=>"your face"} Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "coalescing_panda_canvas_api_auths"[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (38.9ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 1' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 1' LIMIT 1 [1m[36mSQL (3.3ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "1"], ["created_at", Wed, 07 Jan 2015 23:45: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", Wed, 07 Jan 2015 23:45:43 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 2' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 2' LIMIT 1[0m [1m[35mSQL (1.3ms)[0m INSERT INTO "coalescing_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, 07 Jan 2015 23:45: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", Wed, 07 Jan 2015 23:45:43 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 1], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:45:43 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:45:43 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "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", Wed, 07 Jan 2015 23:45:43 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:45:43 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (1.2ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 3' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 3' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "3"], ["created_at", Wed, 07 Jan 2015 23:45: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", Wed, 07 Jan 2015 23:45:43 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 4' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 4' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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, 07 Jan 2015 23:45: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", Wed, 07 Jan 2015 23:45:43 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 2], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:45:43 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:45:43 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Wed, 07 Jan 2015 23:45:43 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:45:43 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.8ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 5' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 5' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "5"], ["created_at", Wed, 07 Jan 2015 23:45: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", Wed, 07 Jan 2015 23:45:43 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 6' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 6' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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, 07 Jan 2015 23:45: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", Wed, 07 Jan 2015 23:45:43 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 3], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:45:43 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:45:43 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Wed, 07 Jan 2015 23:45:43 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:45:43 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_assignment_id", "1"], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:45:43 UTC +00:00], ["name", "test assignment"], ["submission_types", nil], ["updated_at", Wed, 07 Jan 2015 23:45:43 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_assignment_id", "1"], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:45:43 UTC +00:00], ["name", "test assignment"], ["submission_types", nil], ["updated_at", Wed, 07 Jan 2015 23:45:43 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", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m [1m[35m (0.8ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 7' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 7' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "7"], ["created_at", Wed, 07 Jan 2015 23:45: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", Wed, 07 Jan 2015 23:45:43 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 8' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 8' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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, 07 Jan 2015 23:45: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", Wed, 07 Jan 2015 23:45:43 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 4], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:45:43 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:45:43 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Wed, 07 Jan 2015 23:45:43 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:45:43 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.9ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mCoalescingPanda::CanvasApiAuth Load (0.1ms)[0m SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" ORDER BY "coalescing_panda_canvas_api_auths"."id" ASC LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_panda_canvas_api_auths" ("created_at", "updated_at", "user_id") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:45:43 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:45:43 UTC +00:00], ["user_id", "a"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::CanvasApiAuth Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1 [1m[36mCoalescingPanda::CanvasApiAuth Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1[0m [1m[35mCoalescingPanda::CanvasApiAuth Load (0.1ms)[0m SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" [1m[36mCoalescingPanda::CanvasApiAuth Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" = '1') LIMIT 1[0m [1m[35mCoalescingPanda::CanvasApiAuth Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" = '1') LIMIT 1 [1m[36m (0.4ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mCoalescingPanda::CanvasApiAuth Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1[0m [1m[35mCoalescingPanda::CanvasApiAuth Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1 [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mCoalescingPanda::CanvasApiAuth Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1[0m [1m[35mCoalescingPanda::CanvasApiAuth Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1 [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:45:43 UTC +00:00], ["status", "Pending"], ["updated_at", Wed, 07 Jan 2015 23:45:43 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Wed, 07 Jan 2015 23:45:43 UTC +00:00], ["status", "Pending"], ["updated_at", Wed, 07 Jan 2015 23:45:43 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:45:43 UTC +00:00], ["status", "Pending"], ["updated_at", Wed, 07 Jan 2015 23:45:43 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::CanvasBatch Load (0.1ms)[0m SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" ORDER BY created_at DESC [1m[36m (0.6ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 9' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 9' LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "coalescing_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, 07 Jan 2015 23:45: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", Wed, 07 Jan 2015 23:45:43 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 10' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 10' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "10"], ["created_at", Wed, 07 Jan 2015 23:45: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", Wed, 07 Jan 2015 23:45:43 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Wed, 07 Jan 2015 23:45:43 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:45:43 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 11' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 11' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "11"], ["created_at", Wed, 07 Jan 2015 23:45: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", Wed, 07 Jan 2015 23:45:43 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 12' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 12' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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, 07 Jan 2015 23:45: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", Wed, 07 Jan 2015 23:45:43 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 6], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:45:43 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:45:43 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.6ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 13' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 13' LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "coalescing_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, 07 Jan 2015 23:45: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", Wed, 07 Jan 2015 23:45:43 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 14' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 14' LIMIT 1 [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "14"], ["created_at", Wed, 07 Jan 2015 23:45: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", Wed, 07 Jan 2015 23:45:43 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Wed, 07 Jan 2015 23:45:43 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:45:43 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Wed, 07 Jan 2015 23:45:43 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:45:43 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 15' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 15' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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, 07 Jan 2015 23:45: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", Wed, 07 Jan 2015 23:45:43 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 8], ["coalescing_panda_lti_account_id", 3], ["created_at", Wed, 07 Jan 2015 23:45:43 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:45:43 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "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", Wed, 07 Jan 2015 23:45:43 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:45:43 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 (?, ?, ?, ?, ?, ?) [1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m [1m[35m (0.8ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 16' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 16' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "16"], ["created_at", Wed, 07 Jan 2015 23:45: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", Wed, 07 Jan 2015 23:45:43 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.5ms)[0m 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", Wed, 07 Jan 2015 23:45:43 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:45:43 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 17' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 17' LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "17"], ["created_at", Wed, 07 Jan 2015 23:45: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", Wed, 07 Jan 2015 23:45:43 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Wed, 07 Jan 2015 23:45:43 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:45:43 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 18' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 18' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "18"], ["created_at", Wed, 07 Jan 2015 23:45: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", Wed, 07 Jan 2015 23:45:43 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "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", Wed, 07 Jan 2015 23:45:43 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:45:43 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 (?, ?, ?, ?, ?, ?) [1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 19' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 19' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "19"], ["created_at", Wed, 07 Jan 2015 23:45: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", Wed, 07 Jan 2015 23:45:43 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 20' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 20' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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, 07 Jan 2015 23:45: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", Wed, 07 Jan 2015 23:45:43 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 10], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:45:43 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:45:43 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.6ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 21' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 21' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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, 07 Jan 2015 23:45: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", Wed, 07 Jan 2015 23:45:43 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 07 Jan 2015 23:45:43 UTC +00:00], ["email", "test1@test.com"], ["name", "Factory User 1"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:45:43 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 22' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 22' LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "coalescing_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, 07 Jan 2015 23:45: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", Wed, 07 Jan 2015 23:45:43 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 23' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 23' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "23"], ["created_at", Wed, 07 Jan 2015 23:45: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", Wed, 07 Jan 2015 23:45:43 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Wed, 07 Jan 2015 23:45:43 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:45:43 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 7], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Wed, 07 Jan 2015 23:45:43 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:45:43 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m 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", Wed, 07 Jan 2015 23:45:44 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 24' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 24' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "24"], ["created_at", Wed, 07 Jan 2015 23:45: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, 07 Jan 2015 23:45:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.5ms)[0m 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, 07 Jan 2015 23:45:44 UTC +00:00], ["email", "test2@test.com"], ["name", "Factory User 2"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 25' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 25' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "25"], ["created_at", Wed, 07 Jan 2015 23:45: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, 07 Jan 2015 23:45:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 26' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 26' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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, 07 Jan 2015 23:45: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, 07 Jan 2015 23:45:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 12], ["coalescing_panda_lti_account_id", 3], ["created_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Wed, 07 Jan 2015 23:45:44 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_section_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.8ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 27' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 27' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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, 07 Jan 2015 23:45: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, 07 Jan 2015 23:45:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00], ["email", "test3@test.com"], ["name", "Factory User 3"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 28' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 28' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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, 07 Jan 2015 23:45: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, 07 Jan 2015 23:45:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 29' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 29' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "29"], ["created_at", Wed, 07 Jan 2015 23:45: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, 07 Jan 2015 23:45:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Wed, 07 Jan 2015 23:45:44 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 9], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Wed, 07 Jan 2015 23:45:44 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 30' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 30' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "30"], ["created_at", Wed, 07 Jan 2015 23:45: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, 07 Jan 2015 23:45:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.5ms)[0m 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, 07 Jan 2015 23:45:44 UTC +00:00], ["email", "test4@test.com"], ["name", "Factory User 4"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 31' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 31' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "31"], ["created_at", Wed, 07 Jan 2015 23:45: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, 07 Jan 2015 23:45:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 32' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 32' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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, 07 Jan 2015 23:45: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", Wed, 07 Jan 2015 23:45:44 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 14], ["coalescing_panda_lti_account_id", 3], ["created_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Wed, 07 Jan 2015 23:45:44 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_section_id", 4], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m 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", Wed, 07 Jan 2015 23:45:44 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_enrollment_id", 4], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Wed, 07 Jan 2015 23:45:44 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 (?, ?, ?, ?, ?, ?) [1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1 [1m[36m (0.9ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 33' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 33' LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "coalescing_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, 07 Jan 2015 23:45: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", Wed, 07 Jan 2015 23:45:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 5], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00], ["email", "test5@test.com"], ["name", "Factory User 5"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 34' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 34' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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, 07 Jan 2015 23:45: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", Wed, 07 Jan 2015 23:45:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 35' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 35' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "35"], ["created_at", Wed, 07 Jan 2015 23:45: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", Wed, 07 Jan 2015 23:45:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Wed, 07 Jan 2015 23:45:44 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 11], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m 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", Wed, 07 Jan 2015 23:45:44 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_enrollment_id", 5], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m 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", Wed, 07 Jan 2015 23:45:44 UTC +00:00], ["enrollment_type", "TeacherEnrollment"], ["updated_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.8ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 36' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 36' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "36"], ["created_at", Wed, 07 Jan 2015 23:45: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", Wed, 07 Jan 2015 23:45:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.5ms)[0m 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, 07 Jan 2015 23:45:44 UTC +00:00], ["email", "test6@test.com"], ["name", "Factory User 6"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 37' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 37' LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "37"], ["created_at", Wed, 07 Jan 2015 23:45: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", Wed, 07 Jan 2015 23:45:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 38' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 38' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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, 07 Jan 2015 23:45: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", Wed, 07 Jan 2015 23:45:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 16], ["coalescing_panda_lti_account_id", 3], ["created_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Wed, 07 Jan 2015 23:45:44 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_section_id", 6], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 39' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 39' LIMIT 1 [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 40' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 40' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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, 07 Jan 2015 23:45: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", Wed, 07 Jan 2015 23:45:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 41' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 41' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "40"], ["created_at", Wed, 07 Jan 2015 23:45: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", Wed, 07 Jan 2015 23:45:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Wed, 07 Jan 2015 23:45:44 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 13], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.6ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 42' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 42' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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, 07 Jan 2015 23:45: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", Wed, 07 Jan 2015 23:45:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 43' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 43' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "42"], ["created_at", Wed, 07 Jan 2015 23:45: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", Wed, 07 Jan 2015 23:45:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Wed, 07 Jan 2015 23:45:44 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 14], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.8ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 44' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 44' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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, 07 Jan 2015 23:45: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", Wed, 07 Jan 2015 23:45:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 45' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 45' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "44"], ["created_at", Wed, 07 Jan 2015 23:45: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", Wed, 07 Jan 2015 23:45:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m 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", Wed, 07 Jan 2015 23:45:44 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 15], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m 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", Wed, 07 Jan 2015 23:45:44 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_section_id", "1"], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:45:44 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 (?, ?, ?, ?) [1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1 [1m[36m (0.9ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 46' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 46' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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, 07 Jan 2015 23:45: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", Wed, 07 Jan 2015 23:45:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 47' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 47' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "46"], ["created_at", Wed, 07 Jan 2015 23:45: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", Wed, 07 Jan 2015 23:45:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Wed, 07 Jan 2015 23:45:44 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 16], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.6ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 48' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 48' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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, 07 Jan 2015 23:45: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", Wed, 07 Jan 2015 23:45:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 7], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00], ["email", "test7@test.com"], ["name", "Factory User 7"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 49' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 49' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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, 07 Jan 2015 23:45: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", Wed, 07 Jan 2015 23:45:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 50' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 50' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "49"], ["created_at", Wed, 07 Jan 2015 23:45: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", Wed, 07 Jan 2015 23:45:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Wed, 07 Jan 2015 23:45:44 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 17], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_assignment_id", "3"], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00], ["name", "test assignment"], ["submission_types", nil], ["updated_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 51' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 51' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "50"], ["created_at", Wed, 07 Jan 2015 23:45: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", Wed, 07 Jan 2015 23:45:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.5ms)[0m 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, 07 Jan 2015 23:45:44 UTC +00:00], ["email", "test8@test.com"], ["name", "Factory User 8"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 52' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 52' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "51"], ["created_at", Wed, 07 Jan 2015 23:45: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", Wed, 07 Jan 2015 23:45:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 53' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 53' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:45: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", Wed, 07 Jan 2015 23:45:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 22], ["coalescing_panda_lti_account_id", 3], ["created_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Wed, 07 Jan 2015 23:45:44 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_assignment_id", "4"], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00], ["name", "test assignment"], ["submission_types", nil], ["updated_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 54' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 54' LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:45: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", Wed, 07 Jan 2015 23:45:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 9], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00], ["email", "test9@test.com"], ["name", "Factory User 9"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 55' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 55' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:45: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", Wed, 07 Jan 2015 23:45:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 56' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 56' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "55"], ["created_at", Wed, 07 Jan 2015 23:45: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", Wed, 07 Jan 2015 23:45:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Wed, 07 Jan 2015 23:45:44 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 19], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_assignment_id", "5"], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00], ["name", "test assignment"], ["submission_types", nil], ["updated_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.8ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 57' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 57' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "56"], ["created_at", Wed, 07 Jan 2015 23:45: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", Wed, 07 Jan 2015 23:45:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.5ms)[0m 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, 07 Jan 2015 23:45:44 UTC +00:00], ["email", "test10@test.com"], ["name", "Factory User 10"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 58' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 58' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "57"], ["created_at", Wed, 07 Jan 2015 23:45: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", Wed, 07 Jan 2015 23:45:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 59' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 59' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:45: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", Wed, 07 Jan 2015 23:45:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 24], ["coalescing_panda_lti_account_id", 3], ["created_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Wed, 07 Jan 2015 23:45:44 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_assignment_id", "6"], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00], ["name", "test assignment"], ["submission_types", nil], ["updated_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m 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", Wed, 07 Jan 2015 23:45:44 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["canvas_submission_id", "1"], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:45:44 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 (?, ?, ?, ?, ?) [1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1 [1m[36m (1.0ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.2ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 60' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 60' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:45: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", Wed, 07 Jan 2015 23:45:44 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.9ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 11], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00], ["email", "test11@test.com"], ["name", "Factory User 11"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 61' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 61' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:45: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", Wed, 07 Jan 2015 23:45:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 62' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 62' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "61"], ["created_at", Wed, 07 Jan 2015 23:45: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", Wed, 07 Jan 2015 23:45:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Wed, 07 Jan 2015 23:45:44 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 21], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_assignment_id", "7"], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00], ["name", "test assignment"], ["submission_types", nil], ["updated_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["canvas_submission_id", "1"], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Wed, 07 Jan 2015 23:45:44 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (1.0ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 63' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 63' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "62"], ["created_at", Wed, 07 Jan 2015 23:45: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", Wed, 07 Jan 2015 23:45:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.5ms)[0m 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, 07 Jan 2015 23:45:44 UTC +00:00], ["email", "test12@test.com"], ["name", "Factory User 12"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 64' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 64' LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "63"], ["created_at", Wed, 07 Jan 2015 23:45: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", Wed, 07 Jan 2015 23:45:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 65' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 65' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:45: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", Wed, 07 Jan 2015 23:45:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 26], ["coalescing_panda_lti_account_id", 3], ["created_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Wed, 07 Jan 2015 23:45:44 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_assignment_id", "8"], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00], ["name", "test assignment"], ["submission_types", nil], ["updated_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.8ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 66' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 66' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:45: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", Wed, 07 Jan 2015 23:45:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.4ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 67' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 67' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "66"], ["created_at", Wed, 07 Jan 2015 23:45: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", Wed, 07 Jan 2015 23:45:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.5ms)[0m 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", Wed, 07 Jan 2015 23:45:44 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:45: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 (?, ?, ?, ?) [1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1 [1m[36m (0.6ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 68' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 68' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:45: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", Wed, 07 Jan 2015 23:45:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.4ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 69' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 69' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "68"], ["created_at", Wed, 07 Jan 2015 23:45: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", Wed, 07 Jan 2015 23:45:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.6ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.2ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 70' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 70' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:45: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", Wed, 07 Jan 2015 23:45:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.8ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00], ["email", "test15@test.com"], ["name", "Factory User 15"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m 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, 07 Jan 2015 23:45:44 UTC +00:00], ["email", "test16@test.com"], ["name", "Factory User 16"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:45:44 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 (?, ?, ?, ?, ?, ?, ?) [1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m [1m[35m (0.8ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 71' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 71' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "70"], ["created_at", Wed, 07 Jan 2015 23:45: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", Wed, 07 Jan 2015 23:45:44 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.4ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 72' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 72' LIMIT 1[0m [1m[35mSQL (0.6ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:45: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", Wed, 07 Jan 2015 23:45:44 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 73' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 73' LIMIT 1 [1m[36mSQL (0.7ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "72"], ["created_at", Wed, 07 Jan 2015 23:45: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", Wed, 07 Jan 2015 23:45:44 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m 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", Wed, 07 Jan 2015 23:45:44 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 23], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::CanvasBatch Load (0.2ms)[0m SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" ORDER BY created_at ASC LIMIT 1 [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.2ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 74' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 74' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:45: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", Wed, 07 Jan 2015 23:45:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 75' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 75' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "74"], ["created_at", Wed, 07 Jan 2015 23:45: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", Wed, 07 Jan 2015 23:45:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Wed, 07 Jan 2015 23:45:44 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 24], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.8ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 76' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 76' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "75"], ["created_at", Wed, 07 Jan 2015 23:45: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", Wed, 07 Jan 2015 23:45:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 77' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 77' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:45: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", Wed, 07 Jan 2015 23:45:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 30], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "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", Wed, 07 Jan 2015 23:45:44 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m UPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["status", "Started"], ["updated_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Section Load (0.1ms)[0m SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "coalescing_panda_sections" ("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, 07 Jan 2015 23:45:44 UTC +00:00], ["name", "Course1"], ["updated_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mUPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1[0m [["percent_complete", 20.0], ["updated_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::User Load (0.2ms)[0m [1mSELECT "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[0m [["coalescing_panda_lti_account_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00], ["name", "teacher@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::User Load (0.1ms)[0m [1mSELECT "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[0m [["coalescing_panda_lti_account_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00], ["name", "student1@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::User Load (0.1ms)[0m [1mSELECT "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[0m [["coalescing_panda_lti_account_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00], ["name", "student2@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 40.0], ["updated_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Enrollment Load (0.2ms)[0m SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '1') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36mCoalescingPanda::User Load (0.1ms)[0m [1mSELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '1' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1[0m [["coalescing_panda_lti_account_id", 1]] [1m[35mCoalescingPanda::Section Load (0.1ms)[0m SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "coalescing_panda_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"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Enrollment Load (0.1ms)[0m SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '2') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36mCoalescingPanda::User Load (0.1ms)[0m [1mSELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1[0m [["coalescing_panda_lti_account_id", 1]] [1m[35mCoalescingPanda::Section Load (0.0ms)[0m SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_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"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Enrollment Load (0.1ms)[0m SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '3') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36mCoalescingPanda::User Load (0.1ms)[0m [1mSELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1[0m [["coalescing_panda_lti_account_id", 1]] [1m[35mCoalescingPanda::Section Load (0.0ms)[0m SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_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"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mUPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1[0m [["percent_complete", 60.0], ["updated_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::Assignment Load (0.1ms)[0m [1mSELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "grade_group_students_individually", "name", "points_possible", "published", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_assignment_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 18:04:38 UTC +00:00], ["description", "What is your name?
"], ["grade_group_students_individually", false], ["name", "Gimme your name"], ["points_possible", 100.0], ["published", true], ["submission_types", "---\n- online_text_entry\n"], ["updated_at", Tue, 18 Nov 2014 18:04:42 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::Assignment Load (0.1ms)[0m [1mSELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "grade_group_students_individually", "name", "points_possible", "published", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_assignment_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 19:10:28 UTC +00:00], ["description", "What is your Favorite Color?
"], ["grade_group_students_individually", false], ["name", "Favorite Color"], ["points_possible", 100.0], ["published", true], ["submission_types", "---\n- online_text_entry\n"], ["updated_at", Tue, 18 Nov 2014 19:10:30 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 80.0], ["updated_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Assignment Load (0.2ms)[0m SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? [["coalescing_panda_course_id", 1]] [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 100.0], ["updated_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mUPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1[0m [["percent_complete", 120.0], ["updated_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 140.0], ["updated_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mUPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1[0m [["status", "Completed"], ["percent_complete", 100.0], ["updated_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (1.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 78' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 78' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:45: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", Wed, 07 Jan 2015 23:45:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 79' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 79' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "78"], ["created_at", Wed, 07 Jan 2015 23:45: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", Wed, 07 Jan 2015 23:45:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Wed, 07 Jan 2015 23:45:44 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 26], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 80' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 80' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "79"], ["created_at", Wed, 07 Jan 2015 23:45: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", Wed, 07 Jan 2015 23:45:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 81' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 81' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:45: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", Wed, 07 Jan 2015 23:45:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 32], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Wed, 07 Jan 2015 23:45:44 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.8ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mCoalescingPanda::Section Load (0.1ms)[0m [1mSELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections"[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 82' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 82' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "81"], ["created_at", Wed, 07 Jan 2015 23:45: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", Wed, 07 Jan 2015 23:45:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 83' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 83' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:45: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", Wed, 07 Jan 2015 23:45:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 33], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Wed, 07 Jan 2015 23:45:44 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::Section Load (0.0ms)[0m [1mSELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00], ["name", "Course1"], ["updated_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "coalescing_panda_sections"[0m [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mCoalescingPanda::User Load (0.2ms)[0m SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 84' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 84' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:45: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", Wed, 07 Jan 2015 23:45:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 85' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 85' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "84"], ["created_at", Wed, 07 Jan 2015 23:45: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", Wed, 07 Jan 2015 23:45:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Wed, 07 Jan 2015 23:45:44 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 29], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::User Load (0.0ms)[0m 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]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_users" ("canvas_user_id", "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, 07 Jan 2015 23:45:44 UTC +00:00], ["name", "teacher@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::User Load (0.0ms)[0m 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]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_users" ("canvas_user_id", "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, 07 Jan 2015 23:45:44 UTC +00:00], ["name", "student1@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::User Load (0.0ms)[0m 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]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_users" ("canvas_user_id", "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, 07 Jan 2015 23:45:44 UTC +00:00], ["name", "student2@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "coalescing_panda_users" [1m[36m (0.8ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mCoalescingPanda::Enrollment Load (0.1ms)[0m [1mSELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments"[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 86' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 86' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "85"], ["created_at", Wed, 07 Jan 2015 23:45: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", Wed, 07 Jan 2015 23:45:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 87' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 87' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:45: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", Wed, 07 Jan 2015 23:45:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 35], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "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", Wed, 07 Jan 2015 23:45:44 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::Section Load (0.0ms)[0m [1mSELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00], ["name", "Course1"], ["updated_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::User Load (0.0ms)[0m [1mSELECT "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[0m [["coalescing_panda_lti_account_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00], ["name", "teacher@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::User Load (0.0ms)[0m [1mSELECT "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[0m [["coalescing_panda_lti_account_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00], ["name", "student1@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::User Load (0.0ms)[0m [1mSELECT "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[0m [["coalescing_panda_lti_account_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00], ["name", "student2@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::Enrollment Load (0.0ms)[0m [1mSELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '1') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35mCoalescingPanda::User Load (0.0ms)[0m SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '1' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] [1m[36mCoalescingPanda::Section Load (0.0ms)[0m [1mSELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["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"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::Enrollment Load (0.0ms)[0m [1mSELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '2') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35mCoalescingPanda::User Load (0.0ms)[0m SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] [1m[36mCoalescingPanda::Section Load (0.0ms)[0m [1mSELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["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"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::Enrollment Load (0.0ms)[0m [1mSELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '3') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35mCoalescingPanda::User Load (0.1ms)[0m SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] [1m[36mCoalescingPanda::Section Load (0.0ms)[0m [1mSELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["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"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "coalescing_panda_enrollments"[0m [1m[35mCoalescingPanda::Enrollment Load (0.1ms)[0m SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" ORDER BY "coalescing_panda_enrollments"."id" DESC LIMIT 1 [1m[36m (0.8ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mCoalescingPanda::Assignment Load (0.1ms)[0m [1mSELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments"[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 88' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 88' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "87"], ["created_at", Wed, 07 Jan 2015 23:45: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", Wed, 07 Jan 2015 23:45:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 89' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 89' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:45: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", Wed, 07 Jan 2015 23:45:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 36], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Wed, 07 Jan 2015 23:45:44 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::Assignment Load (0.0ms)[0m [1mSELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "grade_group_students_individually", "name", "points_possible", "published", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_assignment_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 18:04:38 UTC +00:00], ["description", "What is your name?
"], ["grade_group_students_individually", false], ["name", "Gimme your name"], ["points_possible", 100.0], ["published", true], ["submission_types", "---\n- online_text_entry\n"], ["updated_at", Tue, 18 Nov 2014 18:04:42 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::Assignment Load (0.0ms)[0m [1mSELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "grade_group_students_individually", "name", "points_possible", "published", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_assignment_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 19:10:28 UTC +00:00], ["description", "What is your Favorite Color?
"], ["grade_group_students_individually", false], ["name", "Favorite Color"], ["points_possible", 100.0], ["published", true], ["submission_types", "---\n- online_text_entry\n"], ["updated_at", Tue, 18 Nov 2014 19:10:30 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "coalescing_panda_assignments"[0m [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mCoalescingPanda::Submission Load (0.1ms)[0m SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 90' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 90' LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:45: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", Wed, 07 Jan 2015 23:45:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 91' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 91' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "90"], ["created_at", Wed, 07 Jan 2015 23:45: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", Wed, 07 Jan 2015 23:45:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Wed, 07 Jan 2015 23:45:44 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 32], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::User Load (0.0ms)[0m 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]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_users" ("canvas_user_id", "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, 07 Jan 2015 23:45:44 UTC +00:00], ["name", "teacher@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::User Load (0.0ms)[0m 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]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "coalescing_panda_users" ("canvas_user_id", "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, 07 Jan 2015 23:45:44 UTC +00:00], ["name", "student1@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::User Load (0.0ms)[0m 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]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_users" ("canvas_user_id", "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, 07 Jan 2015 23:45:44 UTC +00:00], ["name", "student2@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Assignment Load (0.1ms)[0m SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "grade_group_students_individually", "name", "points_possible", "published", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 18:04:38 UTC +00:00], ["description", "What is your name?
"], ["grade_group_students_individually", false], ["name", "Gimme your name"], ["points_possible", 100.0], ["published", true], ["submission_types", "---\n- online_text_entry\n"], ["updated_at", Tue, 18 Nov 2014 18:04:42 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Assignment Load (0.0ms)[0m SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "grade_group_students_individually", "name", "points_possible", "published", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 19:10:28 UTC +00:00], ["description", "What is your Favorite Color?
"], ["grade_group_students_individually", false], ["name", "Favorite Color"], ["points_possible", 100.0], ["published", true], ["submission_types", "---\n- online_text_entry\n"], ["updated_at", Tue, 18 Nov 2014 19:10:30 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Submission Load (0.2ms)[0m SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '3') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36mCoalescingPanda::User Load (0.0ms)[0m [1mSELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1[0m [["coalescing_panda_lti_account_id", 1]] [1m[35mCoalescingPanda::Assignment Load (0.2ms)[0m SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "coalescing_panda_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, 07 Jan 2015 23:45:44 UTC +00:00], ["grade", "70"], ["score", 70], ["updated_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00], ["workflow_state", "graded"]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Submission Load (0.2ms)[0m SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '1') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36mCoalescingPanda::User Load (0.0ms)[0m [1mSELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1[0m [["coalescing_panda_lti_account_id", 1]] [1m[35mCoalescingPanda::Assignment Load (0.1ms)[0m SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "coalescing_panda_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, 07 Jan 2015 23:45:44 UTC +00:00], ["grade", "100"], ["score", 100], ["updated_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00], ["workflow_state", "graded"]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Submission Load (0.2ms)[0m SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '4') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36mCoalescingPanda::User Load (0.0ms)[0m [1mSELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1[0m [["coalescing_panda_lti_account_id", 1]] [1m[35mCoalescingPanda::Assignment Load (0.1ms)[0m SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_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, 07 Jan 2015 23:45:44 UTC +00:00], ["grade", "90"], ["score", 90], ["updated_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00], ["workflow_state", "graded"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Submission Load (0.1ms)[0m SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '2') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36mCoalescingPanda::User Load (0.0ms)[0m [1mSELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1[0m [["coalescing_panda_lti_account_id", 1]] [1m[35mCoalescingPanda::Assignment Load (0.0ms)[0m SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_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, 07 Jan 2015 23:45:44 UTC +00:00], ["grade", "80"], ["score", 80], ["updated_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00], ["workflow_state", "graded"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "coalescing_panda_submissions" [1m[36m (1.0ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 92' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 92' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:45: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", Wed, 07 Jan 2015 23:45:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 93' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 93' LIMIT 1 [1m[36mSQL (0.7ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "92"], ["created_at", Wed, 07 Jan 2015 23:45: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", Wed, 07 Jan 2015 23:45:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Wed, 07 Jan 2015 23:45:44 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 33], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (1.0ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 94' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 94' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "93"], ["created_at", Wed, 07 Jan 2015 23:45: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", Wed, 07 Jan 2015 23:45:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 95' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 95' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:45: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", Wed, 07 Jan 2015 23:45:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 39], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "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", Wed, 07 Jan 2015 23:45:44 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (1.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 96' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 96' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:45: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", Wed, 07 Jan 2015 23:45:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 97' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 97' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "96"], ["created_at", Wed, 07 Jan 2015 23:45: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", Wed, 07 Jan 2015 23:45:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Wed, 07 Jan 2015 23:45:44 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 35], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (1.0ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 98' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 98' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "97"], ["created_at", Wed, 07 Jan 2015 23:45: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", Wed, 07 Jan 2015 23:45:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 99' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 99' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:45: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", Wed, 07 Jan 2015 23:45:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 41], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Wed, 07 Jan 2015 23:45:44 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 100' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 100' LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:45: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", Wed, 07 Jan 2015 23:45:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 101' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 101' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "100"], ["created_at", Wed, 07 Jan 2015 23:45:44 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", Wed, 07 Jan 2015 23:45:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Wed, 07 Jan 2015 23:45:44 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 37], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 102' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 102' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "101"], ["created_at", Wed, 07 Jan 2015 23:45:44 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", Wed, 07 Jan 2015 23:45:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 103' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 103' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:45:44 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", Wed, 07 Jan 2015 23:45:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 43], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Wed, 07 Jan 2015 23:45:44 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 104' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 104' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:45:44 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", Wed, 07 Jan 2015 23:45:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 105' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 105' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "104"], ["created_at", Wed, 07 Jan 2015 23:45:44 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", Wed, 07 Jan 2015 23:45:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m 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", Wed, 07 Jan 2015 23:45:44 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 39], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 106' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 106' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "105"], ["created_at", Wed, 07 Jan 2015 23:45:44 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", Wed, 07 Jan 2015 23:45:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 107' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 107' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:45:44 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", Wed, 07 Jan 2015 23:45:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 45], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Wed, 07 Jan 2015 23:45:44 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.9ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 108' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 108' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:45:44 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", Wed, 07 Jan 2015 23:45:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 109' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 109' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "108"], ["created_at", Wed, 07 Jan 2015 23:45:44 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", Wed, 07 Jan 2015 23:45:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Wed, 07 Jan 2015 23:45:44 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 41], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 110' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 110' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "109"], ["created_at", Wed, 07 Jan 2015 23:45:44 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", Wed, 07 Jan 2015 23:45:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 111' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 111' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:45:44 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", Wed, 07 Jan 2015 23:45:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 47], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Wed, 07 Jan 2015 23:45:44 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_section_id", 9], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 112' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 112' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:45:44 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", Wed, 07 Jan 2015 23:45:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 113' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 113' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "112"], ["created_at", Wed, 07 Jan 2015 23:45:44 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", Wed, 07 Jan 2015 23:45:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Wed, 07 Jan 2015 23:45:44 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 43], ["coalescing_panda_lti_account_id", 3], ["coalescing_panda_term_id", 2], ["created_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Course Load (0.1ms)[0m SELECT "coalescing_panda_courses".* FROM "coalescing_panda_courses" WHERE "coalescing_panda_courses"."id" = ? LIMIT 1 [["id", 2]] [1m[36mSQL (0.1ms)[0m [1mUPDATE "coalescing_panda_sections" SET "coalescing_panda_course_id" = ?, "updated_at" = ? WHERE "coalescing_panda_sections"."id" = 1[0m [["coalescing_panda_course_id", 2], ["updated_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 15], ["coalescing_panda_lti_account_id", 3], ["created_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00], ["email", "test18@test.com"], ["name", "Factory User 18"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::User Load (0.1ms)[0m [1mSELECT "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[0m [["coalescing_panda_lti_account_id", 3]] [1m[35mCoalescingPanda::Section Load (0.1ms)[0m 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]] [1m[36m (0.8ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 114' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 114' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:45:44 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", Wed, 07 Jan 2015 23:45:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 115' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 115' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "114"], ["created_at", Wed, 07 Jan 2015 23:45:44 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", Wed, 07 Jan 2015 23:45:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m 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", Wed, 07 Jan 2015 23:45:44 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 44], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.8ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 116' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 116' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "115"], ["created_at", Wed, 07 Jan 2015 23:45:44 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", Wed, 07 Jan 2015 23:45:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 117' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 117' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:45:44 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", Wed, 07 Jan 2015 23:45:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 50], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Wed, 07 Jan 2015 23:45:44 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_assignment_id", "9"], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00], ["name", "test assignment"], ["submission_types", nil], ["updated_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 16], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00], ["email", "test19@test.com"], ["name", "Factory User 19"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:45:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::User Load (0.1ms)[0m [1mSELECT "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[0m [["coalescing_panda_lti_account_id", 1]] [1m[35mCoalescingPanda::Assignment Load (0.1ms)[0m 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]] [1m[36m (1.0ms)[0m [1mrollback transaction[0m [1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m [1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations" [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m Processing by CoalescingPanda::LtiController#lti_config as HTML Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m Processing by CoalescingPanda::LtiController#lti_config as HTML Completed 500 Internal Server Error in 1ms [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m Processing by CoalescingPanda::Oauth2Controller#redirect as HTML Parameters: {"user_id"=>"1", "api_domain"=>"foo.com", "code"=>"bar"} Completed 200 OK in 5ms (Views: 4.8ms | ActiveRecord: 0.0ms) [1m[35mCoalescingPanda::CanvasApiAuth Load (0.1ms)[0m 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 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction Processing by CoalescingPanda::Oauth2Controller#redirect as HTML Parameters: {"error"=>"your face"} Completed 200 OK in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "coalescing_panda_canvas_api_auths"[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 1' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 1' LIMIT 1 [1m[36mSQL (2.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "1"], ["created_at", Wed, 07 Jan 2015 23: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, 07 Jan 2015 23:48:25 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 2' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 2' LIMIT 1[0m [1m[35mSQL (1.3ms)[0m INSERT INTO "coalescing_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, 07 Jan 2015 23: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, 07 Jan 2015 23:48:25 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 1], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:48:25 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:48:25 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "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", Wed, 07 Jan 2015 23:48:25 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:48:25 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (1.5ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 3' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 3' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "3"], ["created_at", Wed, 07 Jan 2015 23: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, 07 Jan 2015 23:48:25 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 4' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 4' LIMIT 1[0m [1m[35mSQL (0.6ms)[0m INSERT INTO "coalescing_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, 07 Jan 2015 23: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, 07 Jan 2015 23:48:25 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 2], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:48:25 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:48:25 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Wed, 07 Jan 2015 23:48:25 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:48:25 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 5' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 5' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "5"], ["created_at", Wed, 07 Jan 2015 23: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, 07 Jan 2015 23:48:25 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 6' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 6' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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, 07 Jan 2015 23: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, 07 Jan 2015 23:48:25 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 3], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:48:25 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:48:25 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Wed, 07 Jan 2015 23:48:25 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:48:25 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_assignment_id", "1"], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:48:25 UTC +00:00], ["name", "test assignment"], ["submission_types", nil], ["updated_at", Wed, 07 Jan 2015 23:48:25 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_assignment_id", "1"], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:48:25 UTC +00:00], ["name", "test assignment"], ["submission_types", nil], ["updated_at", Wed, 07 Jan 2015 23:48:25 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", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m [1m[35m (1.0ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 7' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 7' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "7"], ["created_at", Wed, 07 Jan 2015 23: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, 07 Jan 2015 23:48:25 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 8' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 8' LIMIT 1[0m [1m[35mSQL (0.6ms)[0m INSERT INTO "coalescing_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, 07 Jan 2015 23: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, 07 Jan 2015 23:48:25 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 4], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:48:25 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:48:25 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Wed, 07 Jan 2015 23:48:25 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:48:25 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.9ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mCoalescingPanda::CanvasApiAuth Load (0.2ms)[0m SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" ORDER BY "coalescing_panda_canvas_api_auths"."id" ASC LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_panda_canvas_api_auths" ("created_at", "updated_at", "user_id") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:48:25 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:48:25 UTC +00:00], ["user_id", "a"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::CanvasApiAuth Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1 [1m[36mCoalescingPanda::CanvasApiAuth Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1[0m [1m[35mCoalescingPanda::CanvasApiAuth Load (0.1ms)[0m SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" [1m[36mCoalescingPanda::CanvasApiAuth Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" = '1') LIMIT 1[0m [1m[35mCoalescingPanda::CanvasApiAuth Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" = '1') LIMIT 1 [1m[36m (0.5ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mCoalescingPanda::CanvasApiAuth Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1[0m [1m[35mCoalescingPanda::CanvasApiAuth Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1 [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mCoalescingPanda::CanvasApiAuth Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1[0m [1m[35mCoalescingPanda::CanvasApiAuth Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1 [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:48:25 UTC +00:00], ["status", "Pending"], ["updated_at", Wed, 07 Jan 2015 23:48:25 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Wed, 07 Jan 2015 23:48:25 UTC +00:00], ["status", "Pending"], ["updated_at", Wed, 07 Jan 2015 23:48:25 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:48:25 UTC +00:00], ["status", "Pending"], ["updated_at", Wed, 07 Jan 2015 23:48:25 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::CanvasBatch Load (0.1ms)[0m SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" ORDER BY created_at DESC [1m[36m (0.8ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.3ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 9' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 9' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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, 07 Jan 2015 23: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, 07 Jan 2015 23:48:25 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 10' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 10' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "10"], ["created_at", Wed, 07 Jan 2015 23: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, 07 Jan 2015 23:48:25 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Wed, 07 Jan 2015 23:48:25 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:48:25 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.6ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 11' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 11' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "11"], ["created_at", Wed, 07 Jan 2015 23: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, 07 Jan 2015 23:48:25 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 12' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 12' LIMIT 1[0m [1m[35mSQL (0.6ms)[0m INSERT INTO "coalescing_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, 07 Jan 2015 23: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, 07 Jan 2015 23:48:25 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 6], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:48:25 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:48:25 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.8ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.2ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 13' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 13' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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, 07 Jan 2015 23: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, 07 Jan 2015 23:48:25 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 14' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 14' LIMIT 1 [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "14"], ["created_at", Wed, 07 Jan 2015 23: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, 07 Jan 2015 23:48:25 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Wed, 07 Jan 2015 23:48:25 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:48:25 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Wed, 07 Jan 2015 23:48:25 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:48:25 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 15' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 15' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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, 07 Jan 2015 23: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, 07 Jan 2015 23:48:25 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 8], ["coalescing_panda_lti_account_id", 3], ["created_at", Wed, 07 Jan 2015 23:48:25 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:48:25 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "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", Wed, 07 Jan 2015 23:48:25 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:48:25 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 (?, ?, ?, ?, ?, ?) [1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m [1m[35m (0.9ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 16' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 16' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "16"], ["created_at", Wed, 07 Jan 2015 23: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, 07 Jan 2015 23:48:25 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.6ms)[0m 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", Wed, 07 Jan 2015 23:48:25 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:48:25 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 17' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 17' LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "17"], ["created_at", Wed, 07 Jan 2015 23: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, 07 Jan 2015 23:48:25 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "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", Wed, 07 Jan 2015 23:48:25 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:48:25 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 18' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 18' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "18"], ["created_at", Wed, 07 Jan 2015 23: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, 07 Jan 2015 23:48:25 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "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", Wed, 07 Jan 2015 23:48:25 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:48:25 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 (?, ?, ?, ?, ?, ?) [1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 19' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 19' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "19"], ["created_at", Wed, 07 Jan 2015 23: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, 07 Jan 2015 23:48:25 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 20' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 20' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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, 07 Jan 2015 23: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, 07 Jan 2015 23:48:25 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 10], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:48:25 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:48:25 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.6ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 21' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 21' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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, 07 Jan 2015 23: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, 07 Jan 2015 23:48:25 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (1.0ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 07 Jan 2015 23:48:25 UTC +00:00], ["email", "test1@test.com"], ["name", "Factory User 1"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:48:25 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 22' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 22' LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "coalescing_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, 07 Jan 2015 23: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, 07 Jan 2015 23:48:25 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 23' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 23' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "23"], ["created_at", Wed, 07 Jan 2015 23: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, 07 Jan 2015 23:48:25 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m 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", Wed, 07 Jan 2015 23:48:25 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:48:25 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 7], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Wed, 07 Jan 2015 23:48:25 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:48:25 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m 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", Wed, 07 Jan 2015 23:48:25 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:48:25 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (1.0ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 24' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 24' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "24"], ["created_at", Wed, 07 Jan 2015 23: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, 07 Jan 2015 23:48:25 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.6ms)[0m 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, 07 Jan 2015 23:48:25 UTC +00:00], ["email", "test2@test.com"], ["name", "Factory User 2"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:48:25 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 25' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 25' LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "25"], ["created_at", Wed, 07 Jan 2015 23: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, 07 Jan 2015 23:48:25 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 26' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 26' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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, 07 Jan 2015 23: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, 07 Jan 2015 23:48:25 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 12], ["coalescing_panda_lti_account_id", 3], ["created_at", Wed, 07 Jan 2015 23:48:25 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:48:25 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Wed, 07 Jan 2015 23:48:25 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:48:25 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_section_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:48:25 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:48:25 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.9ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 27' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 27' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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, 07 Jan 2015 23: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, 07 Jan 2015 23:48:25 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 07 Jan 2015 23:48:25 UTC +00:00], ["email", "test3@test.com"], ["name", "Factory User 3"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:48:25 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 28' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 28' LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "coalescing_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, 07 Jan 2015 23: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, 07 Jan 2015 23:48:25 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 29' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 29' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "29"], ["created_at", Wed, 07 Jan 2015 23: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, 07 Jan 2015 23:48:25 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Wed, 07 Jan 2015 23:48:25 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:48:25 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 9], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Wed, 07 Jan 2015 23:48:25 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:48:25 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Wed, 07 Jan 2015 23:48:25 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:48:25 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.8ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 30' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 30' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "30"], ["created_at", Wed, 07 Jan 2015 23: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, 07 Jan 2015 23:48:25 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.5ms)[0m 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, 07 Jan 2015 23:48:25 UTC +00:00], ["email", "test4@test.com"], ["name", "Factory User 4"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:48:25 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 31' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 31' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "31"], ["created_at", Wed, 07 Jan 2015 23: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, 07 Jan 2015 23:48:25 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 32' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 32' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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, 07 Jan 2015 23: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, 07 Jan 2015 23:48:25 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 14], ["coalescing_panda_lti_account_id", 3], ["created_at", Wed, 07 Jan 2015 23:48:25 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:48:25 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Wed, 07 Jan 2015 23:48:25 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:48:25 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_section_id", 4], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:48:25 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:48:25 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m 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", Wed, 07 Jan 2015 23:48:25 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Wed, 07 Jan 2015 23:48:25 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_enrollment_id", 4], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Wed, 07 Jan 2015 23:48:25 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Wed, 07 Jan 2015 23:48:25 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 (?, ?, ?, ?, ?, ?) [1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1 [1m[36m (1.0ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 33' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 33' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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, 07 Jan 2015 23: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, 07 Jan 2015 23:48:25 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 5], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 07 Jan 2015 23:48:25 UTC +00:00], ["email", "test5@test.com"], ["name", "Factory User 5"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:48:25 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 34' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 34' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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, 07 Jan 2015 23: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, 07 Jan 2015 23:48:25 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 35' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 35' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "35"], ["created_at", Wed, 07 Jan 2015 23: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, 07 Jan 2015 23:48:25 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Wed, 07 Jan 2015 23:48:26 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 11], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Wed, 07 Jan 2015 23:48:26 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_enrollment_id", 5], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m 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", Wed, 07 Jan 2015 23:48:26 UTC +00:00], ["enrollment_type", "TeacherEnrollment"], ["updated_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.9ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 36' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 36' LIMIT 1 [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "36"], ["created_at", Wed, 07 Jan 2015 23:48:26 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, 07 Jan 2015 23:48:26 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.6ms)[0m 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, 07 Jan 2015 23:48:26 UTC +00:00], ["email", "test6@test.com"], ["name", "Factory User 6"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 37' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 37' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "37"], ["created_at", Wed, 07 Jan 2015 23:48:26 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, 07 Jan 2015 23:48:26 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 38' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 38' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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, 07 Jan 2015 23:48:26 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, 07 Jan 2015 23:48:26 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 16], ["coalescing_panda_lti_account_id", 3], ["created_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Wed, 07 Jan 2015 23:48:26 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_section_id", 6], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.8ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 39' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 39' LIMIT 1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 40' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 40' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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, 07 Jan 2015 23:48:26 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, 07 Jan 2015 23:48:26 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 41' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 41' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "40"], ["created_at", Wed, 07 Jan 2015 23:48:26 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, 07 Jan 2015 23:48:26 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Wed, 07 Jan 2015 23:48:26 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 13], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.6ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.2ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 42' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 42' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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, 07 Jan 2015 23:48:26 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, 07 Jan 2015 23:48:26 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 43' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 43' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "42"], ["created_at", Wed, 07 Jan 2015 23:48:26 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, 07 Jan 2015 23:48:26 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Wed, 07 Jan 2015 23:48:26 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 14], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 44' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 44' LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "coalescing_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, 07 Jan 2015 23:48:26 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, 07 Jan 2015 23:48:26 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 45' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 45' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "44"], ["created_at", Wed, 07 Jan 2015 23:48:26 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, 07 Jan 2015 23:48:26 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Wed, 07 Jan 2015 23:48:26 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 15], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m 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", Wed, 07 Jan 2015 23:48:26 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_section_id", "1"], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:48:26 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 (?, ?, ?, ?) [1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1 [1m[36m (0.6ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 46' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 46' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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, 07 Jan 2015 23:48:26 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, 07 Jan 2015 23:48:26 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 47' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 47' LIMIT 1 [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "46"], ["created_at", Wed, 07 Jan 2015 23:48:26 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, 07 Jan 2015 23:48:26 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Wed, 07 Jan 2015 23:48:26 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 16], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.5ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 48' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 48' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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, 07 Jan 2015 23:48:26 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, 07 Jan 2015 23:48:26 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 7], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00], ["email", "test7@test.com"], ["name", "Factory User 7"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 49' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 49' LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "coalescing_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, 07 Jan 2015 23:48:26 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, 07 Jan 2015 23:48:26 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 50' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 50' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "49"], ["created_at", Wed, 07 Jan 2015 23:48:26 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, 07 Jan 2015 23:48:26 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m 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", Wed, 07 Jan 2015 23:48:26 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 17], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_assignment_id", "3"], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00], ["name", "test assignment"], ["submission_types", nil], ["updated_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.8ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 51' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 51' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "50"], ["created_at", Wed, 07 Jan 2015 23:48:26 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, 07 Jan 2015 23:48:26 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.5ms)[0m 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, 07 Jan 2015 23:48:26 UTC +00:00], ["email", "test8@test.com"], ["name", "Factory User 8"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 52' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 52' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "51"], ["created_at", Wed, 07 Jan 2015 23:48:26 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, 07 Jan 2015 23:48:26 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 53' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 53' LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:48:26 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", Wed, 07 Jan 2015 23:48:26 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 22], ["coalescing_panda_lti_account_id", 3], ["created_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "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", Wed, 07 Jan 2015 23:48:26 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_assignment_id", "4"], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00], ["name", "test assignment"], ["submission_types", nil], ["updated_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.2ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 54' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 54' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:48:26 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", Wed, 07 Jan 2015 23:48:26 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 9], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00], ["email", "test9@test.com"], ["name", "Factory User 9"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 55' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 55' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:48:26 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", Wed, 07 Jan 2015 23:48:26 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 56' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 56' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "55"], ["created_at", Wed, 07 Jan 2015 23:48:26 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", Wed, 07 Jan 2015 23:48:26 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m 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", Wed, 07 Jan 2015 23:48:26 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 19], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_assignment_id", "5"], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00], ["name", "test assignment"], ["submission_types", nil], ["updated_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 57' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 57' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "56"], ["created_at", Wed, 07 Jan 2015 23:48:26 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", Wed, 07 Jan 2015 23:48:26 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.6ms)[0m 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, 07 Jan 2015 23:48:26 UTC +00:00], ["email", "test10@test.com"], ["name", "Factory User 10"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 58' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 58' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "57"], ["created_at", Wed, 07 Jan 2015 23:48:26 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", Wed, 07 Jan 2015 23:48:26 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 59' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 59' LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:48:26 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", Wed, 07 Jan 2015 23:48:26 UTC +00:00]] [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 24], ["coalescing_panda_lti_account_id", 3], ["created_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Wed, 07 Jan 2015 23:48:26 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_assignment_id", "6"], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00], ["name", "test assignment"], ["submission_types", nil], ["updated_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m 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", Wed, 07 Jan 2015 23:48:26 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["canvas_submission_id", "1"], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:48:26 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 (?, ?, ?, ?, ?) [1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1 [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 60' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 60' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:48:26 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", Wed, 07 Jan 2015 23:48:26 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 11], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00], ["email", "test11@test.com"], ["name", "Factory User 11"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 61' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 61' LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:48:26 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", Wed, 07 Jan 2015 23:48:26 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 62' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 62' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "61"], ["created_at", Wed, 07 Jan 2015 23:48:26 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", Wed, 07 Jan 2015 23:48:26 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Wed, 07 Jan 2015 23:48:26 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 21], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_assignment_id", "7"], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00], ["name", "test assignment"], ["submission_types", nil], ["updated_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["canvas_submission_id", "1"], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m 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", Wed, 07 Jan 2015 23:48:26 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.8ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 63' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 63' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "62"], ["created_at", Wed, 07 Jan 2015 23:48:26 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", Wed, 07 Jan 2015 23:48:26 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.5ms)[0m 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, 07 Jan 2015 23:48:26 UTC +00:00], ["email", "test12@test.com"], ["name", "Factory User 12"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 64' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 64' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "63"], ["created_at", Wed, 07 Jan 2015 23:48:26 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", Wed, 07 Jan 2015 23:48:26 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 65' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 65' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:48:26 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", Wed, 07 Jan 2015 23:48:26 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 26], ["coalescing_panda_lti_account_id", 3], ["created_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Wed, 07 Jan 2015 23:48:26 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_assignment_id", "8"], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00], ["name", "test assignment"], ["submission_types", nil], ["updated_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 66' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 66' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:48:26 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", Wed, 07 Jan 2015 23:48:26 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.3ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 67' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 67' LIMIT 1 [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "66"], ["created_at", Wed, 07 Jan 2015 23:48:26 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", Wed, 07 Jan 2015 23:48:26 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.6ms)[0m 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", Wed, 07 Jan 2015 23:48:26 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:48:26 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 (?, ?, ?, ?) [1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1 [1m[36m (0.6ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 68' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 68' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:48:26 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", Wed, 07 Jan 2015 23:48:26 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.3ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 69' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 69' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "68"], ["created_at", Wed, 07 Jan 2015 23:48:26 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", Wed, 07 Jan 2015 23:48:26 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.3ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 70' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 70' LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:48:26 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", Wed, 07 Jan 2015 23:48:26 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.7ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00], ["email", "test15@test.com"], ["name", "Factory User 15"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m 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, 07 Jan 2015 23:48:26 UTC +00:00], ["email", "test16@test.com"], ["name", "Factory User 16"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:48:26 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 (?, ?, ?, ?, ?, ?, ?) [1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m [1m[35m (0.5ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 71' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 71' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "70"], ["created_at", Wed, 07 Jan 2015 23:48:26 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", Wed, 07 Jan 2015 23:48:26 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.3ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 72' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 72' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:48:26 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", Wed, 07 Jan 2015 23:48:26 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 73' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 73' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "72"], ["created_at", Wed, 07 Jan 2015 23:48:26 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", Wed, 07 Jan 2015 23:48:26 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Wed, 07 Jan 2015 23:48:26 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 23], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::CanvasBatch Load (0.1ms)[0m SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" ORDER BY created_at ASC LIMIT 1 [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 74' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 74' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:48:26 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", Wed, 07 Jan 2015 23:48:26 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 75' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 75' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "74"], ["created_at", Wed, 07 Jan 2015 23:48:26 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", Wed, 07 Jan 2015 23:48:26 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Wed, 07 Jan 2015 23:48:26 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 24], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 76' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 76' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "75"], ["created_at", Wed, 07 Jan 2015 23:48:26 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", Wed, 07 Jan 2015 23:48:26 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 77' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 77' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:48:26 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", Wed, 07 Jan 2015 23:48:26 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 30], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "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", Wed, 07 Jan 2015 23:48:26 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m UPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["status", "Started"], ["updated_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Section Load (0.1ms)[0m SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "coalescing_panda_sections" ("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, 07 Jan 2015 23:48:26 UTC +00:00], ["name", "Course1"], ["updated_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mUPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1[0m [["percent_complete", 20.0], ["updated_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::User Load (0.1ms)[0m [1mSELECT "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[0m [["coalescing_panda_lti_account_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00], ["name", "teacher@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::User Load (0.1ms)[0m [1mSELECT "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[0m [["coalescing_panda_lti_account_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00], ["name", "student1@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::User Load (0.1ms)[0m [1mSELECT "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[0m [["coalescing_panda_lti_account_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00], ["name", "student2@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 40.0], ["updated_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Enrollment Load (0.1ms)[0m SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '1') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36mCoalescingPanda::User Load (0.1ms)[0m [1mSELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '1' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1[0m [["coalescing_panda_lti_account_id", 1]] [1m[35mCoalescingPanda::Section Load (0.1ms)[0m SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "coalescing_panda_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"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Enrollment Load (0.1ms)[0m SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '2') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36mCoalescingPanda::User Load (0.1ms)[0m [1mSELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1[0m [["coalescing_panda_lti_account_id", 1]] [1m[35mCoalescingPanda::Section Load (0.0ms)[0m SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_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"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Enrollment Load (0.1ms)[0m SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '3') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36mCoalescingPanda::User Load (0.1ms)[0m [1mSELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1[0m [["coalescing_panda_lti_account_id", 1]] [1m[35mCoalescingPanda::Section Load (0.0ms)[0m SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_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"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mUPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1[0m [["percent_complete", 60.0], ["updated_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::Assignment Load (0.2ms)[0m [1mSELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "grade_group_students_individually", "name", "points_possible", "published", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_assignment_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 18:04:38 UTC +00:00], ["description", "What is your name?
"], ["grade_group_students_individually", false], ["name", "Gimme your name"], ["points_possible", 100.0], ["published", true], ["submission_types", "---\n- online_text_entry\n"], ["updated_at", Tue, 18 Nov 2014 18:04:42 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::Assignment Load (0.1ms)[0m [1mSELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "grade_group_students_individually", "name", "points_possible", "published", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_assignment_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 19:10:28 UTC +00:00], ["description", "What is your Favorite Color?
"], ["grade_group_students_individually", false], ["name", "Favorite Color"], ["points_possible", 100.0], ["published", true], ["submission_types", "---\n- online_text_entry\n"], ["updated_at", Tue, 18 Nov 2014 19:10:30 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 80.0], ["updated_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Assignment Load (0.1ms)[0m SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? [["coalescing_panda_course_id", 1]] [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 100.0], ["updated_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mUPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1[0m [["percent_complete", 120.0], ["updated_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 140.0], ["updated_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mUPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1[0m [["status", "Completed"], ["percent_complete", 100.0], ["updated_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (1.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.2ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 78' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 78' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:48:26 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", Wed, 07 Jan 2015 23:48:26 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 79' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 79' LIMIT 1 [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "78"], ["created_at", Wed, 07 Jan 2015 23:48:26 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", Wed, 07 Jan 2015 23:48:26 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Wed, 07 Jan 2015 23:48:26 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 26], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.9ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 80' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 80' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "79"], ["created_at", Wed, 07 Jan 2015 23:48:26 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", Wed, 07 Jan 2015 23:48:26 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 81' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 81' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:48:26 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", Wed, 07 Jan 2015 23:48:26 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 32], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Wed, 07 Jan 2015 23:48:26 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mCoalescingPanda::Section Load (0.1ms)[0m [1mSELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections"[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 82' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 82' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "81"], ["created_at", Wed, 07 Jan 2015 23:48:26 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", Wed, 07 Jan 2015 23:48:26 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 83' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 83' LIMIT 1[0m [1m[35mSQL (0.6ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:48:26 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", Wed, 07 Jan 2015 23:48:26 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 33], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Wed, 07 Jan 2015 23:48:26 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::Section Load (0.1ms)[0m [1mSELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00], ["name", "Course1"], ["updated_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "coalescing_panda_sections"[0m [1m[35m (0.8ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mCoalescingPanda::User Load (0.1ms)[0m SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 84' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 84' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:48:26 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", Wed, 07 Jan 2015 23:48:26 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 85' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 85' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "84"], ["created_at", Wed, 07 Jan 2015 23:48:26 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", Wed, 07 Jan 2015 23:48:26 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Wed, 07 Jan 2015 23:48:26 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 29], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::User Load (0.0ms)[0m 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]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_users" ("canvas_user_id", "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, 07 Jan 2015 23:48:26 UTC +00:00], ["name", "teacher@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::User Load (0.0ms)[0m 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]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_users" ("canvas_user_id", "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, 07 Jan 2015 23:48:26 UTC +00:00], ["name", "student1@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::User Load (0.0ms)[0m 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]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_users" ("canvas_user_id", "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, 07 Jan 2015 23:48:26 UTC +00:00], ["name", "student2@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "coalescing_panda_users" [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mCoalescingPanda::Enrollment Load (0.1ms)[0m [1mSELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments"[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 86' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 86' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "85"], ["created_at", Wed, 07 Jan 2015 23:48:26 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", Wed, 07 Jan 2015 23:48:26 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 87' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 87' LIMIT 1[0m [1m[35mSQL (0.7ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:48:26 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", Wed, 07 Jan 2015 23:48:26 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 35], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Wed, 07 Jan 2015 23:48:26 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::Section Load (0.0ms)[0m [1mSELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00], ["name", "Course1"], ["updated_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::User Load (0.0ms)[0m [1mSELECT "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[0m [["coalescing_panda_lti_account_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00], ["name", "teacher@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::User Load (0.1ms)[0m [1mSELECT "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[0m [["coalescing_panda_lti_account_id", 1]] [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00], ["name", "student1@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::User Load (0.0ms)[0m [1mSELECT "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[0m [["coalescing_panda_lti_account_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00], ["name", "student2@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::Enrollment Load (0.0ms)[0m [1mSELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '1') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35mCoalescingPanda::User Load (0.0ms)[0m SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '1' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] [1m[36mCoalescingPanda::Section Load (0.0ms)[0m [1mSELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["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"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::Enrollment Load (0.0ms)[0m [1mSELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '2') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35mCoalescingPanda::User Load (0.0ms)[0m SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] [1m[36mCoalescingPanda::Section Load (0.0ms)[0m [1mSELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["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"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::Enrollment Load (0.0ms)[0m [1mSELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '3') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35mCoalescingPanda::User Load (0.0ms)[0m SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] [1m[36mCoalescingPanda::Section Load (0.0ms)[0m [1mSELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["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"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "coalescing_panda_enrollments"[0m [1m[35mCoalescingPanda::Enrollment Load (0.1ms)[0m SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" ORDER BY "coalescing_panda_enrollments"."id" DESC LIMIT 1 [1m[36m (1.0ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mCoalescingPanda::Assignment Load (0.1ms)[0m [1mSELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments"[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 88' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 88' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "87"], ["created_at", Wed, 07 Jan 2015 23:48:26 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", Wed, 07 Jan 2015 23:48:26 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 89' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 89' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:48:26 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", Wed, 07 Jan 2015 23:48:26 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 36], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "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", Wed, 07 Jan 2015 23:48:26 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::Assignment Load (0.0ms)[0m [1mSELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "grade_group_students_individually", "name", "points_possible", "published", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_assignment_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 18:04:38 UTC +00:00], ["description", "What is your name?
"], ["grade_group_students_individually", false], ["name", "Gimme your name"], ["points_possible", 100.0], ["published", true], ["submission_types", "---\n- online_text_entry\n"], ["updated_at", Tue, 18 Nov 2014 18:04:42 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::Assignment Load (0.0ms)[0m [1mSELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "grade_group_students_individually", "name", "points_possible", "published", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_assignment_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 19:10:28 UTC +00:00], ["description", "What is your Favorite Color?
"], ["grade_group_students_individually", false], ["name", "Favorite Color"], ["points_possible", 100.0], ["published", true], ["submission_types", "---\n- online_text_entry\n"], ["updated_at", Tue, 18 Nov 2014 19:10:30 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "coalescing_panda_assignments"[0m [1m[35m (0.8ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mCoalescingPanda::Submission Load (0.1ms)[0m SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 90' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 90' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:48:26 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", Wed, 07 Jan 2015 23:48:26 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 91' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 91' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "90"], ["created_at", Wed, 07 Jan 2015 23:48:26 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", Wed, 07 Jan 2015 23:48:26 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m 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", Wed, 07 Jan 2015 23:48:26 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 32], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::User Load (0.0ms)[0m 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]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_users" ("canvas_user_id", "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, 07 Jan 2015 23:48:26 UTC +00:00], ["name", "teacher@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::User Load (0.0ms)[0m 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]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "coalescing_panda_users" ("canvas_user_id", "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, 07 Jan 2015 23:48:26 UTC +00:00], ["name", "student1@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::User Load (0.0ms)[0m 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]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_users" ("canvas_user_id", "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, 07 Jan 2015 23:48:26 UTC +00:00], ["name", "student2@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Assignment Load (0.0ms)[0m SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "grade_group_students_individually", "name", "points_possible", "published", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 18:04:38 UTC +00:00], ["description", "What is your name?
"], ["grade_group_students_individually", false], ["name", "Gimme your name"], ["points_possible", 100.0], ["published", true], ["submission_types", "---\n- online_text_entry\n"], ["updated_at", Tue, 18 Nov 2014 18:04:42 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Assignment Load (0.0ms)[0m SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "grade_group_students_individually", "name", "points_possible", "published", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 19:10:28 UTC +00:00], ["description", "What is your Favorite Color?
"], ["grade_group_students_individually", false], ["name", "Favorite Color"], ["points_possible", 100.0], ["published", true], ["submission_types", "---\n- online_text_entry\n"], ["updated_at", Tue, 18 Nov 2014 19:10:30 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Submission Load (0.1ms)[0m SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '3') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36mCoalescingPanda::User Load (0.0ms)[0m [1mSELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1[0m [["coalescing_panda_lti_account_id", 1]] [1m[35mCoalescingPanda::Assignment Load (0.1ms)[0m SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "coalescing_panda_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, 07 Jan 2015 23:48:26 UTC +00:00], ["grade", "70"], ["score", 70], ["updated_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00], ["workflow_state", "graded"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Submission Load (0.1ms)[0m SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '1') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36mCoalescingPanda::User Load (0.0ms)[0m [1mSELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1[0m [["coalescing_panda_lti_account_id", 1]] [1m[35mCoalescingPanda::Assignment Load (0.0ms)[0m SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_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, 07 Jan 2015 23:48:26 UTC +00:00], ["grade", "100"], ["score", 100], ["updated_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00], ["workflow_state", "graded"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Submission Load (0.1ms)[0m SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '4') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36mCoalescingPanda::User Load (0.0ms)[0m [1mSELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1[0m [["coalescing_panda_lti_account_id", 1]] [1m[35mCoalescingPanda::Assignment Load (0.1ms)[0m SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_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, 07 Jan 2015 23:48:26 UTC +00:00], ["grade", "90"], ["score", 90], ["updated_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00], ["workflow_state", "graded"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Submission Load (0.1ms)[0m SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '2') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36mCoalescingPanda::User Load (0.0ms)[0m [1mSELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1[0m [["coalescing_panda_lti_account_id", 1]] [1m[35mCoalescingPanda::Assignment Load (0.0ms)[0m SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_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, 07 Jan 2015 23:48:26 UTC +00:00], ["grade", "80"], ["score", 80], ["updated_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00], ["workflow_state", "graded"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "coalescing_panda_submissions" [1m[36m (1.0ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 92' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 92' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:48:26 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", Wed, 07 Jan 2015 23:48:26 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 93' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 93' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "92"], ["created_at", Wed, 07 Jan 2015 23:48:26 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", Wed, 07 Jan 2015 23:48:26 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Wed, 07 Jan 2015 23:48:26 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 33], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.8ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 94' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 94' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "93"], ["created_at", Wed, 07 Jan 2015 23:48:26 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", Wed, 07 Jan 2015 23:48:26 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 95' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 95' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:48:26 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", Wed, 07 Jan 2015 23:48:26 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 39], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "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", Wed, 07 Jan 2015 23:48:26 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 96' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 96' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:48:26 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", Wed, 07 Jan 2015 23:48:26 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 97' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 97' LIMIT 1 [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "96"], ["created_at", Wed, 07 Jan 2015 23:48:26 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", Wed, 07 Jan 2015 23:48:26 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Wed, 07 Jan 2015 23:48:26 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 35], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 98' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 98' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "97"], ["created_at", Wed, 07 Jan 2015 23:48:26 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", Wed, 07 Jan 2015 23:48:26 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 99' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 99' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:48:26 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", Wed, 07 Jan 2015 23:48:26 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 41], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "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", Wed, 07 Jan 2015 23:48:26 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.9ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 100' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 100' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:48:26 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", Wed, 07 Jan 2015 23:48:26 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 101' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 101' LIMIT 1 [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "100"], ["created_at", Wed, 07 Jan 2015 23:48:26 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", Wed, 07 Jan 2015 23:48:26 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m 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", Wed, 07 Jan 2015 23:48:26 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 37], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 102' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 102' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "101"], ["created_at", Wed, 07 Jan 2015 23:48:26 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", Wed, 07 Jan 2015 23:48:26 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 103' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 103' LIMIT 1[0m [1m[35mSQL (0.6ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:48:26 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", Wed, 07 Jan 2015 23:48:26 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 43], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Wed, 07 Jan 2015 23:48:26 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.9ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 104' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 104' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:48:26 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", Wed, 07 Jan 2015 23:48:26 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 105' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 105' LIMIT 1 [1m[36mSQL (0.8ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "104"], ["created_at", Wed, 07 Jan 2015 23:48:26 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", Wed, 07 Jan 2015 23:48:26 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Wed, 07 Jan 2015 23:48:26 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 39], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 106' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 106' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "105"], ["created_at", Wed, 07 Jan 2015 23:48:26 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", Wed, 07 Jan 2015 23:48:26 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 107' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 107' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:48:26 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", Wed, 07 Jan 2015 23:48:26 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 45], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Wed, 07 Jan 2015 23:48:26 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 108' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 108' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:48:26 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", Wed, 07 Jan 2015 23:48:26 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 109' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 109' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "108"], ["created_at", Wed, 07 Jan 2015 23:48:26 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", Wed, 07 Jan 2015 23:48:26 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Wed, 07 Jan 2015 23:48:26 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 41], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (1.0ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 110' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 110' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "109"], ["created_at", Wed, 07 Jan 2015 23:48:26 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", Wed, 07 Jan 2015 23:48:26 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 111' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 111' LIMIT 1[0m [1m[35mSQL (0.6ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:48:26 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", Wed, 07 Jan 2015 23:48:26 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 47], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Wed, 07 Jan 2015 23:48:26 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_section_id", 9], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 112' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 112' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:48:26 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", Wed, 07 Jan 2015 23:48:26 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 113' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 113' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "112"], ["created_at", Wed, 07 Jan 2015 23:48:26 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", Wed, 07 Jan 2015 23:48:26 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Wed, 07 Jan 2015 23:48:26 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 43], ["coalescing_panda_lti_account_id", 3], ["coalescing_panda_term_id", 2], ["created_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Course Load (0.2ms)[0m SELECT "coalescing_panda_courses".* FROM "coalescing_panda_courses" WHERE "coalescing_panda_courses"."id" = ? LIMIT 1 [["id", 2]] [1m[36mSQL (0.2ms)[0m [1mUPDATE "coalescing_panda_sections" SET "coalescing_panda_course_id" = ?, "updated_at" = ? WHERE "coalescing_panda_sections"."id" = 1[0m [["coalescing_panda_course_id", 2], ["updated_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 15], ["coalescing_panda_lti_account_id", 3], ["created_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00], ["email", "test18@test.com"], ["name", "Factory User 18"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::User Load (0.1ms)[0m [1mSELECT "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[0m [["coalescing_panda_lti_account_id", 3]] [1m[35mCoalescingPanda::Section Load (0.1ms)[0m 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]] [1m[36m (1.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 114' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 114' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:48:26 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", Wed, 07 Jan 2015 23:48:26 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 115' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 115' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "114"], ["created_at", Wed, 07 Jan 2015 23:48:26 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", Wed, 07 Jan 2015 23:48:26 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Wed, 07 Jan 2015 23:48:26 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 44], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 116' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 116' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "115"], ["created_at", Wed, 07 Jan 2015 23:48:26 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", Wed, 07 Jan 2015 23:48:26 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 117' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 117' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:48:26 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", Wed, 07 Jan 2015 23:48:26 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 50], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "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", Wed, 07 Jan 2015 23:48:26 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_assignment_id", "9"], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00], ["name", "test assignment"], ["submission_types", nil], ["updated_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 16], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00], ["email", "test19@test.com"], ["name", "Factory User 19"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:48:26 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::User Load (0.1ms)[0m [1mSELECT "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[0m [["coalescing_panda_lti_account_id", 1]] [1m[35mCoalescingPanda::Assignment Load (0.1ms)[0m 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]] [1m[36m (0.8ms)[0m [1mrollback transaction[0m [1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m [1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations" [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m Processing by CoalescingPanda::LtiController#lti_config as HTML Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m Processing by CoalescingPanda::LtiController#lti_config as HTML Completed 500 Internal Server Error in 1ms [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m Processing by CoalescingPanda::Oauth2Controller#redirect as HTML Parameters: {"user_id"=>"1", "api_domain"=>"foo.com", "code"=>"bar"} Completed 200 OK in 5ms (Views: 5.0ms | ActiveRecord: 0.0ms) [1m[35mCoalescingPanda::CanvasApiAuth Load (0.1ms)[0m 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 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction Processing by CoalescingPanda::Oauth2Controller#redirect as HTML Parameters: {"error"=>"your face"} Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "coalescing_panda_canvas_api_auths"[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 1' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 1' LIMIT 1 [1m[36mSQL (2.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "1"], ["created_at", Wed, 07 Jan 2015 23:48: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", Wed, 07 Jan 2015 23:48:43 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 2' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 2' LIMIT 1[0m [1m[35mSQL (1.4ms)[0m INSERT INTO "coalescing_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, 07 Jan 2015 23:48: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", Wed, 07 Jan 2015 23:48:43 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 1], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:48:43 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:48:43 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "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", Wed, 07 Jan 2015 23:48:43 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:48:43 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (1.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 3' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 3' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "3"], ["created_at", Wed, 07 Jan 2015 23:48: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", Wed, 07 Jan 2015 23:48:43 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 4' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 4' LIMIT 1[0m [1m[35mSQL (0.7ms)[0m INSERT INTO "coalescing_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, 07 Jan 2015 23:48: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", Wed, 07 Jan 2015 23:48:43 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 2], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:48:43 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:48:43 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Wed, 07 Jan 2015 23:48:43 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:48:43 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.6ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 5' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 5' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "5"], ["created_at", Wed, 07 Jan 2015 23:48: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", Wed, 07 Jan 2015 23:48:43 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 6' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 6' LIMIT 1[0m [1m[35mSQL (0.6ms)[0m INSERT INTO "coalescing_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, 07 Jan 2015 23:48: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", Wed, 07 Jan 2015 23:48:43 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 3], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:48:43 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:48:43 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Wed, 07 Jan 2015 23:48:43 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:48:43 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_assignment_id", "1"], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:48:43 UTC +00:00], ["name", "test assignment"], ["submission_types", nil], ["updated_at", Wed, 07 Jan 2015 23:48:43 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_assignment_id", "1"], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:48:43 UTC +00:00], ["name", "test assignment"], ["submission_types", nil], ["updated_at", Wed, 07 Jan 2015 23:48:43 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", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m [1m[35m (0.6ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 7' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 7' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "7"], ["created_at", Wed, 07 Jan 2015 23:48: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", Wed, 07 Jan 2015 23:48:43 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 8' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 8' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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, 07 Jan 2015 23:48: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", Wed, 07 Jan 2015 23:48:43 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 4], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:48:43 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:48:43 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Wed, 07 Jan 2015 23:48:43 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:48:43 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.6ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mCoalescingPanda::CanvasApiAuth Load (0.2ms)[0m SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" ORDER BY "coalescing_panda_canvas_api_auths"."id" ASC LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_panda_canvas_api_auths" ("created_at", "updated_at", "user_id") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:48:43 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:48:43 UTC +00:00], ["user_id", "a"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::CanvasApiAuth Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1 [1m[36mCoalescingPanda::CanvasApiAuth Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1[0m [1m[35mCoalescingPanda::CanvasApiAuth Load (0.1ms)[0m SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" [1m[36mCoalescingPanda::CanvasApiAuth Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" = '1') LIMIT 1[0m [1m[35mCoalescingPanda::CanvasApiAuth Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" = '1') LIMIT 1 [1m[36m (0.3ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mCoalescingPanda::CanvasApiAuth Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1[0m [1m[35mCoalescingPanda::CanvasApiAuth Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1 [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mCoalescingPanda::CanvasApiAuth Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1[0m [1m[35mCoalescingPanda::CanvasApiAuth Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:48:43 UTC +00:00], ["status", "Pending"], ["updated_at", Wed, 07 Jan 2015 23:48:43 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Wed, 07 Jan 2015 23:48:43 UTC +00:00], ["status", "Pending"], ["updated_at", Wed, 07 Jan 2015 23:48:43 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:48:43 UTC +00:00], ["status", "Pending"], ["updated_at", Wed, 07 Jan 2015 23:48:43 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::CanvasBatch Load (0.1ms)[0m SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" ORDER BY created_at DESC [1m[36m (0.6ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 9' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 9' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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, 07 Jan 2015 23:48: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", Wed, 07 Jan 2015 23:48:43 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 10' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 10' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "10"], ["created_at", Wed, 07 Jan 2015 23:48: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", Wed, 07 Jan 2015 23:48:43 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Wed, 07 Jan 2015 23:48:43 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:48:43 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.6ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 11' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 11' LIMIT 1 [1m[36mSQL (1.0ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "11"], ["created_at", Wed, 07 Jan 2015 23:48: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", Wed, 07 Jan 2015 23:48:43 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 12' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 12' LIMIT 1[0m [1m[35mSQL (0.6ms)[0m INSERT INTO "coalescing_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, 07 Jan 2015 23:48: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", Wed, 07 Jan 2015 23:48:43 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 6], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:48:43 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:48:43 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.6ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 13' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 13' LIMIT 1[0m [1m[35mSQL (0.6ms)[0m INSERT INTO "coalescing_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, 07 Jan 2015 23:48: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", Wed, 07 Jan 2015 23:48:43 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 14' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 14' LIMIT 1 [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "14"], ["created_at", Wed, 07 Jan 2015 23:48: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", Wed, 07 Jan 2015 23:48:43 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m 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", Wed, 07 Jan 2015 23:48:43 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:48:43 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Wed, 07 Jan 2015 23:48:43 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:48:43 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 15' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 15' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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, 07 Jan 2015 23:48: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", Wed, 07 Jan 2015 23:48:43 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 8], ["coalescing_panda_lti_account_id", 3], ["created_at", Wed, 07 Jan 2015 23:48:43 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:48:43 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "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", Wed, 07 Jan 2015 23:48:43 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:48:43 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 (?, ?, ?, ?, ?, ?) [1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 16' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 16' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "16"], ["created_at", Wed, 07 Jan 2015 23:48: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", Wed, 07 Jan 2015 23:48:43 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.6ms)[0m 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", Wed, 07 Jan 2015 23:48:43 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:48:43 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 17' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 17' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "17"], ["created_at", Wed, 07 Jan 2015 23:48: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", Wed, 07 Jan 2015 23:48:43 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Wed, 07 Jan 2015 23:48:43 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:48:43 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 18' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 18' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "18"], ["created_at", Wed, 07 Jan 2015 23:48: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", Wed, 07 Jan 2015 23:48:43 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "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", Wed, 07 Jan 2015 23:48:43 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:48:43 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 (?, ?, ?, ?, ?, ?) [1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m [1m[35m (0.9ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 19' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 19' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "19"], ["created_at", Wed, 07 Jan 2015 23:48: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", Wed, 07 Jan 2015 23:48:43 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 20' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 20' LIMIT 1[0m [1m[35mSQL (0.6ms)[0m INSERT INTO "coalescing_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, 07 Jan 2015 23:48: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", Wed, 07 Jan 2015 23:48:43 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 10], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:48:43 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:48:43 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 21' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 21' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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, 07 Jan 2015 23:48: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", Wed, 07 Jan 2015 23:48:43 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 07 Jan 2015 23:48:43 UTC +00:00], ["email", "test1@test.com"], ["name", "Factory User 1"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:48:43 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 22' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 22' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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, 07 Jan 2015 23:48: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", Wed, 07 Jan 2015 23:48:43 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 23' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 23' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "23"], ["created_at", Wed, 07 Jan 2015 23:48: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", Wed, 07 Jan 2015 23:48:43 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Wed, 07 Jan 2015 23:48:43 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:48:43 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 7], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Wed, 07 Jan 2015 23:48:43 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:48:43 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m 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", Wed, 07 Jan 2015 23:48:43 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:48:43 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (1.2ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 24' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 24' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "24"], ["created_at", Wed, 07 Jan 2015 23:48:43 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, 07 Jan 2015 23:48:43 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.8ms)[0m 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, 07 Jan 2015 23:48:43 UTC +00:00], ["email", "test2@test.com"], ["name", "Factory User 2"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:48:43 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 25' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 25' LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "25"], ["created_at", Wed, 07 Jan 2015 23:48:43 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, 07 Jan 2015 23:48:43 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 26' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 26' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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, 07 Jan 2015 23:48:43 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, 07 Jan 2015 23:48:43 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 12], ["coalescing_panda_lti_account_id", 3], ["created_at", Wed, 07 Jan 2015 23:48:43 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:48:43 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Wed, 07 Jan 2015 23:48:43 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:48:43 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_section_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:48:43 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:48:43 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (1.0ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 27' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 27' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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, 07 Jan 2015 23:48:43 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, 07 Jan 2015 23:48:43 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 07 Jan 2015 23:48:43 UTC +00:00], ["email", "test3@test.com"], ["name", "Factory User 3"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:48:43 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 28' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 28' LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "coalescing_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, 07 Jan 2015 23:48:43 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, 07 Jan 2015 23:48:43 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 29' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 29' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "29"], ["created_at", Wed, 07 Jan 2015 23:48:43 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, 07 Jan 2015 23:48:43 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Wed, 07 Jan 2015 23:48:43 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:48:43 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 9], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Wed, 07 Jan 2015 23:48:43 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:48:43 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Wed, 07 Jan 2015 23:48:43 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:48:43 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.8ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 30' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 30' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "30"], ["created_at", Wed, 07 Jan 2015 23:48:43 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, 07 Jan 2015 23:48:43 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.5ms)[0m 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, 07 Jan 2015 23:48:43 UTC +00:00], ["email", "test4@test.com"], ["name", "Factory User 4"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:48:43 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 31' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 31' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "31"], ["created_at", Wed, 07 Jan 2015 23:48:43 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, 07 Jan 2015 23:48:43 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 32' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 32' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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, 07 Jan 2015 23:48:43 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, 07 Jan 2015 23:48:43 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 14], ["coalescing_panda_lti_account_id", 3], ["created_at", Wed, 07 Jan 2015 23:48:43 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:48:43 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Wed, 07 Jan 2015 23:48:43 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:48:43 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_section_id", 4], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:48:43 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:48:43 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m 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", Wed, 07 Jan 2015 23:48:43 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Wed, 07 Jan 2015 23:48:43 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_enrollment_id", 4], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Wed, 07 Jan 2015 23:48:43 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Wed, 07 Jan 2015 23:48:43 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 (?, ?, ?, ?, ?, ?) [1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1 [1m[36m (0.9ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 33' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 33' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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, 07 Jan 2015 23:48:43 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, 07 Jan 2015 23:48:43 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 5], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 07 Jan 2015 23:48:43 UTC +00:00], ["email", "test5@test.com"], ["name", "Factory User 5"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:48:43 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 34' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 34' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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, 07 Jan 2015 23:48:43 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, 07 Jan 2015 23:48:43 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 35' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 35' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "35"], ["created_at", Wed, 07 Jan 2015 23:48:43 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, 07 Jan 2015 23:48:43 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Wed, 07 Jan 2015 23:48:43 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:48:43 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 11], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Wed, 07 Jan 2015 23:48:43 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:48:43 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Wed, 07 Jan 2015 23:48:43 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:48:43 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_enrollment_id", 5], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Wed, 07 Jan 2015 23:48:43 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Wed, 07 Jan 2015 23:48:43 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Wed, 07 Jan 2015 23:48:43 UTC +00:00], ["enrollment_type", "TeacherEnrollment"], ["updated_at", Wed, 07 Jan 2015 23:48:43 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.8ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 36' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 36' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "36"], ["created_at", Wed, 07 Jan 2015 23:48:43 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, 07 Jan 2015 23:48:43 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.6ms)[0m 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, 07 Jan 2015 23:48:43 UTC +00:00], ["email", "test6@test.com"], ["name", "Factory User 6"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:48:43 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 37' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 37' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "37"], ["created_at", Wed, 07 Jan 2015 23:48:43 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, 07 Jan 2015 23:48:43 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 38' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 38' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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, 07 Jan 2015 23:48:43 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, 07 Jan 2015 23:48:43 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 16], ["coalescing_panda_lti_account_id", 3], ["created_at", Wed, 07 Jan 2015 23:48:43 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:48:43 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Wed, 07 Jan 2015 23:48:43 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:48:43 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_section_id", 6], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:48:43 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:48:43 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.9ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 39' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 39' LIMIT 1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 40' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 40' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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, 07 Jan 2015 23:48:43 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, 07 Jan 2015 23:48:43 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 41' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 41' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "40"], ["created_at", Wed, 07 Jan 2015 23:48:43 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, 07 Jan 2015 23:48:43 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Wed, 07 Jan 2015 23:48:43 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:48:43 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 13], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Wed, 07 Jan 2015 23:48:43 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:48:43 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.2ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 42' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 42' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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, 07 Jan 2015 23:48:43 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, 07 Jan 2015 23:48:43 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 43' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 43' LIMIT 1 [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "42"], ["created_at", Wed, 07 Jan 2015 23:48:43 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, 07 Jan 2015 23:48:43 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Wed, 07 Jan 2015 23:48:43 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:48:43 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 14], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Wed, 07 Jan 2015 23:48:43 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:48:43 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.6ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 44' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 44' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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, 07 Jan 2015 23:48:43 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, 07 Jan 2015 23:48:43 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 45' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 45' LIMIT 1 [1m[36mSQL (0.7ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "44"], ["created_at", Wed, 07 Jan 2015 23:48:43 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, 07 Jan 2015 23:48:43 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Wed, 07 Jan 2015 23:48:43 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:48:43 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 15], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Wed, 07 Jan 2015 23:48:43 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:48:43 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m 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", Wed, 07 Jan 2015 23:48:43 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:48:43 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_section_id", "1"], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:48:43 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:48:43 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 (?, ?, ?, ?) [1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1 [1m[36m (0.8ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 46' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 46' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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, 07 Jan 2015 23:48:43 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, 07 Jan 2015 23:48:43 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 47' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 47' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "46"], ["created_at", Wed, 07 Jan 2015 23:48:43 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, 07 Jan 2015 23:48:43 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Wed, 07 Jan 2015 23:48:43 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:48:43 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 16], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Wed, 07 Jan 2015 23:48:43 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:48:43 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.9ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 48' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 48' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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, 07 Jan 2015 23:48:43 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, 07 Jan 2015 23:48:43 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 7], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 07 Jan 2015 23:48:43 UTC +00:00], ["email", "test7@test.com"], ["name", "Factory User 7"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:48:43 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 49' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 49' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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, 07 Jan 2015 23:48:43 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, 07 Jan 2015 23:48:43 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 50' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 50' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "49"], ["created_at", Wed, 07 Jan 2015 23:48:43 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, 07 Jan 2015 23:48:43 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Wed, 07 Jan 2015 23:48:43 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:48:43 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 17], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Wed, 07 Jan 2015 23:48:43 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:48:43 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_assignment_id", "3"], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:48:43 UTC +00:00], ["name", "test assignment"], ["submission_types", nil], ["updated_at", Wed, 07 Jan 2015 23:48:43 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.8ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.2ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 51' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 51' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "50"], ["created_at", Wed, 07 Jan 2015 23:48:43 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, 07 Jan 2015 23:48:43 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.5ms)[0m 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, 07 Jan 2015 23:48:43 UTC +00:00], ["email", "test8@test.com"], ["name", "Factory User 8"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:48:43 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 52' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 52' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "51"], ["created_at", Wed, 07 Jan 2015 23:48:43 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, 07 Jan 2015 23:48:43 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 53' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 53' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:48:43 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", Wed, 07 Jan 2015 23:48:43 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 22], ["coalescing_panda_lti_account_id", 3], ["created_at", Wed, 07 Jan 2015 23:48:43 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:48:43 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Wed, 07 Jan 2015 23:48:43 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:48:43 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_assignment_id", "4"], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:48:43 UTC +00:00], ["name", "test assignment"], ["submission_types", nil], ["updated_at", Wed, 07 Jan 2015 23:48:43 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 54' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 54' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:48:43 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", Wed, 07 Jan 2015 23:48:43 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 9], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 07 Jan 2015 23:48:43 UTC +00:00], ["email", "test9@test.com"], ["name", "Factory User 9"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:48:43 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 55' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 55' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:48:43 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", Wed, 07 Jan 2015 23:48:43 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 56' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 56' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "55"], ["created_at", Wed, 07 Jan 2015 23:48:43 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", Wed, 07 Jan 2015 23:48:43 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Wed, 07 Jan 2015 23:48:43 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:48:43 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 19], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Wed, 07 Jan 2015 23:48:43 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:48:43 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_assignment_id", "5"], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:48:43 UTC +00:00], ["name", "test assignment"], ["submission_types", nil], ["updated_at", Wed, 07 Jan 2015 23:48:43 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.9ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 57' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 57' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "56"], ["created_at", Wed, 07 Jan 2015 23:48:43 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", Wed, 07 Jan 2015 23:48:43 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.6ms)[0m 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, 07 Jan 2015 23:48:43 UTC +00:00], ["email", "test10@test.com"], ["name", "Factory User 10"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:48:43 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 58' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 58' LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "57"], ["created_at", Wed, 07 Jan 2015 23:48:43 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", Wed, 07 Jan 2015 23:48:43 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 59' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 59' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:48:43 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", Wed, 07 Jan 2015 23:48:43 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 24], ["coalescing_panda_lti_account_id", 3], ["created_at", Wed, 07 Jan 2015 23:48:43 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:48:43 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "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", Wed, 07 Jan 2015 23:48:43 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:48:43 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_assignment_id", "6"], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:48:43 UTC +00:00], ["name", "test assignment"], ["submission_types", nil], ["updated_at", Wed, 07 Jan 2015 23:48:43 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m 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", Wed, 07 Jan 2015 23:48:43 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:48:43 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["canvas_submission_id", "1"], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Wed, 07 Jan 2015 23:48:43 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:48:43 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 (?, ?, ?, ?, ?) [1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1 [1m[36m (0.8ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 60' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 60' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:48:43 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", Wed, 07 Jan 2015 23:48:43 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 11], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 07 Jan 2015 23:48:43 UTC +00:00], ["email", "test11@test.com"], ["name", "Factory User 11"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:48:43 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 61' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 61' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:48:43 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", Wed, 07 Jan 2015 23:48:43 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 62' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 62' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "61"], ["created_at", Wed, 07 Jan 2015 23:48:43 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", Wed, 07 Jan 2015 23:48:43 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Wed, 07 Jan 2015 23:48:43 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:48:43 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 21], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Wed, 07 Jan 2015 23:48:43 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:48:43 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_assignment_id", "7"], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:48:43 UTC +00:00], ["name", "test assignment"], ["submission_types", nil], ["updated_at", Wed, 07 Jan 2015 23:48:43 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["canvas_submission_id", "1"], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Wed, 07 Jan 2015 23:48:43 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:48:43 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Wed, 07 Jan 2015 23:48:43 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:48:43 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.9ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 63' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 63' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "62"], ["created_at", Wed, 07 Jan 2015 23:48:43 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", Wed, 07 Jan 2015 23:48:43 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.5ms)[0m 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, 07 Jan 2015 23:48:43 UTC +00:00], ["email", "test12@test.com"], ["name", "Factory User 12"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:48:43 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 64' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 64' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "63"], ["created_at", Wed, 07 Jan 2015 23:48:43 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", Wed, 07 Jan 2015 23:48:43 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 65' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 65' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:48:43 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", Wed, 07 Jan 2015 23:48:43 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 26], ["coalescing_panda_lti_account_id", 3], ["created_at", Wed, 07 Jan 2015 23:48:43 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:48:43 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "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", Wed, 07 Jan 2015 23:48:43 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:48:43 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_assignment_id", "8"], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:48:43 UTC +00:00], ["name", "test assignment"], ["submission_types", nil], ["updated_at", Wed, 07 Jan 2015 23:48:43 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (1.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 66' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 66' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:48:43 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", Wed, 07 Jan 2015 23:48:43 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.5ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 67' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 67' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "66"], ["created_at", Wed, 07 Jan 2015 23:48:43 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", Wed, 07 Jan 2015 23:48:43 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.5ms)[0m 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", Wed, 07 Jan 2015 23:48:43 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:48:43 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 07 Jan 2015 23:48:43 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:48:43 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 (?, ?, ?, ?) [1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1 [1m[36m (0.6ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 68' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 68' LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:48:43 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", Wed, 07 Jan 2015 23:48:43 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.4ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 69' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 69' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "68"], ["created_at", Wed, 07 Jan 2015 23:48:43 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", Wed, 07 Jan 2015 23:48:43 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.4ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 70' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 70' LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:48:43 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", Wed, 07 Jan 2015 23:48:43 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 07 Jan 2015 23:48:43 UTC +00:00], ["email", "test15@test.com"], ["name", "Factory User 15"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:48:43 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m 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, 07 Jan 2015 23:48:43 UTC +00:00], ["email", "test16@test.com"], ["name", "Factory User 16"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:48:43 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 (?, ?, ?, ?, ?, ?, ?) [1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m [1m[35m (0.8ms)[0m rollback transaction [1m[36m (0.2ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 71' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 71' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "70"], ["created_at", Wed, 07 Jan 2015 23:48:43 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", Wed, 07 Jan 2015 23:48:43 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.4ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 72' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 72' LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:48:43 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", Wed, 07 Jan 2015 23:48:43 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 73' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 73' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "72"], ["created_at", Wed, 07 Jan 2015 23:48:43 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", Wed, 07 Jan 2015 23:48:43 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Wed, 07 Jan 2015 23:48:43 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:48:43 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 23], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Wed, 07 Jan 2015 23:48:43 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:48:43 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:48:43 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:48:43 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::CanvasBatch Load (0.1ms)[0m SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" ORDER BY created_at ASC LIMIT 1 [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 74' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 74' LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:48:43 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", Wed, 07 Jan 2015 23:48:43 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 75' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 75' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "74"], ["created_at", Wed, 07 Jan 2015 23:48: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", Wed, 07 Jan 2015 23:48:43 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Wed, 07 Jan 2015 23:48:43 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:48:43 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 24], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Wed, 07 Jan 2015 23:48:43 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:48:43 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:48:43 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:48:43 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.8ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 76' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 76' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "75"], ["created_at", Wed, 07 Jan 2015 23:48: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", Wed, 07 Jan 2015 23:48:43 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 77' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 77' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:48: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", Wed, 07 Jan 2015 23:48:43 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 30], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:48:43 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:48:43 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Wed, 07 Jan 2015 23:48:43 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:48:43 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Wed, 07 Jan 2015 23:48:43 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:48:43 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m UPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["status", "Started"], ["updated_at", Wed, 07 Jan 2015 23:48:43 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Section Load (0.1ms)[0m SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "coalescing_panda_sections" ("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, 07 Jan 2015 23:48:43 UTC +00:00], ["name", "Course1"], ["updated_at", Wed, 07 Jan 2015 23:48:43 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mUPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1[0m [["percent_complete", 20.0], ["updated_at", Wed, 07 Jan 2015 23:48:43 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::User Load (0.1ms)[0m [1mSELECT "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[0m [["coalescing_panda_lti_account_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 07 Jan 2015 23:48:43 UTC +00:00], ["name", "teacher@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:48:43 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::User Load (0.1ms)[0m [1mSELECT "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[0m [["coalescing_panda_lti_account_id", 1]] [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 07 Jan 2015 23:48:43 UTC +00:00], ["name", "student1@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:48:43 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::User Load (0.1ms)[0m [1mSELECT "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[0m [["coalescing_panda_lti_account_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 07 Jan 2015 23:48:43 UTC +00:00], ["name", "student2@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:48:43 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 40.0], ["updated_at", Wed, 07 Jan 2015 23:48:43 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Enrollment Load (0.1ms)[0m SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '1') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36mCoalescingPanda::User Load (0.1ms)[0m [1mSELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '1' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1[0m [["coalescing_panda_lti_account_id", 1]] [1m[35mCoalescingPanda::Section Load (0.1ms)[0m SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "coalescing_panda_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"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Enrollment Load (0.1ms)[0m SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '2') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36mCoalescingPanda::User Load (0.1ms)[0m [1mSELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1[0m [["coalescing_panda_lti_account_id", 1]] [1m[35mCoalescingPanda::Section Load (0.0ms)[0m SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_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"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Enrollment Load (0.1ms)[0m SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '3') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36mCoalescingPanda::User Load (0.1ms)[0m [1mSELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1[0m [["coalescing_panda_lti_account_id", 1]] [1m[35mCoalescingPanda::Section Load (0.0ms)[0m SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_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"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mUPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1[0m [["percent_complete", 60.0], ["updated_at", Wed, 07 Jan 2015 23:48:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::Assignment Load (0.1ms)[0m [1mSELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "grade_group_students_individually", "name", "points_possible", "published", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_assignment_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 18:04:38 UTC +00:00], ["description", "What is your name?
"], ["grade_group_students_individually", false], ["name", "Gimme your name"], ["points_possible", 100.0], ["published", true], ["submission_types", "---\n- online_text_entry\n"], ["updated_at", Tue, 18 Nov 2014 18:04:42 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::Assignment Load (0.1ms)[0m [1mSELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "grade_group_students_individually", "name", "points_possible", "published", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_assignment_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 19:10:28 UTC +00:00], ["description", "What is your Favorite Color?
"], ["grade_group_students_individually", false], ["name", "Favorite Color"], ["points_possible", 100.0], ["published", true], ["submission_types", "---\n- online_text_entry\n"], ["updated_at", Tue, 18 Nov 2014 19:10:30 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 80.0], ["updated_at", Wed, 07 Jan 2015 23:48:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Assignment Load (0.1ms)[0m SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? [["coalescing_panda_course_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 100.0], ["updated_at", Wed, 07 Jan 2015 23:48:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mUPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1[0m [["percent_complete", 120.0], ["updated_at", Wed, 07 Jan 2015 23:48:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 140.0], ["updated_at", Wed, 07 Jan 2015 23:48:44 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mUPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1[0m [["status", "Completed"], ["percent_complete", 100.0], ["updated_at", Wed, 07 Jan 2015 23:48:44 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (1.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 78' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 78' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:48: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", Wed, 07 Jan 2015 23:48:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 79' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 79' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "78"], ["created_at", Wed, 07 Jan 2015 23:48: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", Wed, 07 Jan 2015 23:48:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m 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", Wed, 07 Jan 2015 23:48:44 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:48:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 26], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Wed, 07 Jan 2015 23:48:44 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:48:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:48:44 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:48:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.8ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 80' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 80' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "79"], ["created_at", Wed, 07 Jan 2015 23:48: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", Wed, 07 Jan 2015 23:48:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 81' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 81' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:48: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", Wed, 07 Jan 2015 23:48:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 32], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:48:44 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:48:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Wed, 07 Jan 2015 23:48:44 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:48:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Wed, 07 Jan 2015 23:48:44 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:48:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.8ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mCoalescingPanda::Section Load (0.1ms)[0m [1mSELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections"[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 82' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 82' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "81"], ["created_at", Wed, 07 Jan 2015 23:48: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", Wed, 07 Jan 2015 23:48:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 83' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 83' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:48: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", Wed, 07 Jan 2015 23:48:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 33], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:48:44 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:48:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "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", Wed, 07 Jan 2015 23:48:44 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:48:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Wed, 07 Jan 2015 23:48:44 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:48:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::Section Load (0.0ms)[0m [1mSELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:48:44 UTC +00:00], ["name", "Course1"], ["updated_at", Wed, 07 Jan 2015 23:48:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "coalescing_panda_sections"[0m [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mCoalescingPanda::User Load (0.1ms)[0m SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.2ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 84' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 84' LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:48: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", Wed, 07 Jan 2015 23:48:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 85' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 85' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "84"], ["created_at", Wed, 07 Jan 2015 23:48: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", Wed, 07 Jan 2015 23:48:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Wed, 07 Jan 2015 23:48:44 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:48:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 29], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Wed, 07 Jan 2015 23:48:44 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:48:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:48:44 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:48:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::User Load (0.0ms)[0m 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]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_users" ("canvas_user_id", "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, 07 Jan 2015 23:48:44 UTC +00:00], ["name", "teacher@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:48:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::User Load (0.0ms)[0m 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]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_users" ("canvas_user_id", "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, 07 Jan 2015 23:48:44 UTC +00:00], ["name", "student1@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:48:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::User Load (0.0ms)[0m 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]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_users" ("canvas_user_id", "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, 07 Jan 2015 23:48:44 UTC +00:00], ["name", "student2@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:48:44 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "coalescing_panda_users" [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mCoalescingPanda::Enrollment Load (0.1ms)[0m [1mSELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments"[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 86' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 86' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "85"], ["created_at", Wed, 07 Jan 2015 23:48: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", Wed, 07 Jan 2015 23:48:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 87' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 87' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:48: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", Wed, 07 Jan 2015 23:48:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 35], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:48:44 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:48:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Wed, 07 Jan 2015 23:48:44 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:48:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Wed, 07 Jan 2015 23:48:44 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:48:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::Section Load (0.0ms)[0m [1mSELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:48:44 UTC +00:00], ["name", "Course1"], ["updated_at", Wed, 07 Jan 2015 23:48:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::User Load (0.0ms)[0m [1mSELECT "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[0m [["coalescing_panda_lti_account_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 07 Jan 2015 23:48:44 UTC +00:00], ["name", "teacher@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:48:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::User Load (47.1ms)[0m [1mSELECT "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[0m [["coalescing_panda_lti_account_id", 1]] [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 07 Jan 2015 23:48:44 UTC +00:00], ["name", "student1@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:48:44 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::User Load (0.0ms)[0m [1mSELECT "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[0m [["coalescing_panda_lti_account_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 07 Jan 2015 23:48:44 UTC +00:00], ["name", "student2@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:48:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::Enrollment Load (0.0ms)[0m [1mSELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '1') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35mCoalescingPanda::User Load (0.0ms)[0m SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '1' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] [1m[36mCoalescingPanda::Section Load (0.0ms)[0m [1mSELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["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"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::Enrollment Load (0.0ms)[0m [1mSELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '2') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35mCoalescingPanda::User Load (0.0ms)[0m SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] [1m[36mCoalescingPanda::Section Load (0.0ms)[0m [1mSELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["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"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::Enrollment Load (0.0ms)[0m [1mSELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '3') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35mCoalescingPanda::User Load (0.0ms)[0m SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] [1m[36mCoalescingPanda::Section Load (0.0ms)[0m [1mSELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["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"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "coalescing_panda_enrollments"[0m [1m[35mCoalescingPanda::Enrollment Load (0.1ms)[0m SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" ORDER BY "coalescing_panda_enrollments"."id" DESC LIMIT 1 [1m[36m (0.8ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mCoalescingPanda::Assignment Load (0.1ms)[0m [1mSELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments"[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 88' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 88' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "87"], ["created_at", Wed, 07 Jan 2015 23:48: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", Wed, 07 Jan 2015 23:48:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 89' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 89' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:48: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", Wed, 07 Jan 2015 23:48:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 36], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:48:44 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:48:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Wed, 07 Jan 2015 23:48:44 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:48:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Wed, 07 Jan 2015 23:48:44 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:48:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::Assignment Load (0.0ms)[0m [1mSELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "grade_group_students_individually", "name", "points_possible", "published", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_assignment_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 18:04:38 UTC +00:00], ["description", "What is your name?
"], ["grade_group_students_individually", false], ["name", "Gimme your name"], ["points_possible", 100.0], ["published", true], ["submission_types", "---\n- online_text_entry\n"], ["updated_at", Tue, 18 Nov 2014 18:04:42 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::Assignment Load (0.0ms)[0m [1mSELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "grade_group_students_individually", "name", "points_possible", "published", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_assignment_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 19:10:28 UTC +00:00], ["description", "What is your Favorite Color?
"], ["grade_group_students_individually", false], ["name", "Favorite Color"], ["points_possible", 100.0], ["published", true], ["submission_types", "---\n- online_text_entry\n"], ["updated_at", Tue, 18 Nov 2014 19:10:30 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "coalescing_panda_assignments"[0m [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mCoalescingPanda::Submission Load (0.1ms)[0m SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 90' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 90' LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:48: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", Wed, 07 Jan 2015 23:48:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 91' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 91' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "90"], ["created_at", Wed, 07 Jan 2015 23:48: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", Wed, 07 Jan 2015 23:48:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Wed, 07 Jan 2015 23:48:44 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:48:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 32], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Wed, 07 Jan 2015 23:48:44 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:48:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:48:44 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:48:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::User Load (0.0ms)[0m 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]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_users" ("canvas_user_id", "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, 07 Jan 2015 23:48:44 UTC +00:00], ["name", "teacher@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:48:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::User Load (0.0ms)[0m 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]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_users" ("canvas_user_id", "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, 07 Jan 2015 23:48:44 UTC +00:00], ["name", "student1@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:48:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::User Load (0.0ms)[0m 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]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_users" ("canvas_user_id", "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, 07 Jan 2015 23:48:44 UTC +00:00], ["name", "student2@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:48:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Assignment Load (0.0ms)[0m SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "grade_group_students_individually", "name", "points_possible", "published", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 18:04:38 UTC +00:00], ["description", "What is your name?
"], ["grade_group_students_individually", false], ["name", "Gimme your name"], ["points_possible", 100.0], ["published", true], ["submission_types", "---\n- online_text_entry\n"], ["updated_at", Tue, 18 Nov 2014 18:04:42 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Assignment Load (0.0ms)[0m SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "grade_group_students_individually", "name", "points_possible", "published", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 19:10:28 UTC +00:00], ["description", "What is your Favorite Color?
"], ["grade_group_students_individually", false], ["name", "Favorite Color"], ["points_possible", 100.0], ["published", true], ["submission_types", "---\n- online_text_entry\n"], ["updated_at", Tue, 18 Nov 2014 19:10:30 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Submission Load (0.2ms)[0m SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '3') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36mCoalescingPanda::User Load (0.0ms)[0m [1mSELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1[0m [["coalescing_panda_lti_account_id", 1]] [1m[35mCoalescingPanda::Assignment Load (0.3ms)[0m SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "coalescing_panda_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, 07 Jan 2015 23:48:44 UTC +00:00], ["grade", "70"], ["score", 70], ["updated_at", Wed, 07 Jan 2015 23:48:44 UTC +00:00], ["workflow_state", "graded"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Submission Load (0.1ms)[0m SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '1') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36mCoalescingPanda::User Load (0.0ms)[0m [1mSELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1[0m [["coalescing_panda_lti_account_id", 1]] [1m[35mCoalescingPanda::Assignment Load (0.0ms)[0m SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_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, 07 Jan 2015 23:48:44 UTC +00:00], ["grade", "100"], ["score", 100], ["updated_at", Wed, 07 Jan 2015 23:48:44 UTC +00:00], ["workflow_state", "graded"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Submission Load (0.1ms)[0m SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '4') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36mCoalescingPanda::User Load (0.0ms)[0m [1mSELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1[0m [["coalescing_panda_lti_account_id", 1]] [1m[35mCoalescingPanda::Assignment Load (0.1ms)[0m SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_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, 07 Jan 2015 23:48:44 UTC +00:00], ["grade", "90"], ["score", 90], ["updated_at", Wed, 07 Jan 2015 23:48:44 UTC +00:00], ["workflow_state", "graded"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Submission Load (0.1ms)[0m SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '2') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36mCoalescingPanda::User Load (0.0ms)[0m [1mSELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1[0m [["coalescing_panda_lti_account_id", 1]] [1m[35mCoalescingPanda::Assignment Load (0.0ms)[0m SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_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, 07 Jan 2015 23:48:44 UTC +00:00], ["grade", "80"], ["score", 80], ["updated_at", Wed, 07 Jan 2015 23:48:44 UTC +00:00], ["workflow_state", "graded"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "coalescing_panda_submissions" [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 92' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 92' LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:48: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", Wed, 07 Jan 2015 23:48:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 93' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 93' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "92"], ["created_at", Wed, 07 Jan 2015 23:48: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", Wed, 07 Jan 2015 23:48:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Wed, 07 Jan 2015 23:48:44 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:48:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 33], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Wed, 07 Jan 2015 23:48:44 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:48:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:48:44 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:48:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.6ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 94' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 94' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "93"], ["created_at", Wed, 07 Jan 2015 23:48: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", Wed, 07 Jan 2015 23:48:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 95' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 95' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:48: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", Wed, 07 Jan 2015 23:48:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 39], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:48:44 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:48:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Wed, 07 Jan 2015 23:48:44 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:48:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Wed, 07 Jan 2015 23:48:44 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:48:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.6ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 96' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 96' LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:48: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", Wed, 07 Jan 2015 23:48:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 97' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 97' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "96"], ["created_at", Wed, 07 Jan 2015 23:48: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", Wed, 07 Jan 2015 23:48:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Wed, 07 Jan 2015 23:48:44 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:48:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 35], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Wed, 07 Jan 2015 23:48:44 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:48:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:48:44 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:48:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.6ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 98' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 98' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "97"], ["created_at", Wed, 07 Jan 2015 23:48: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", Wed, 07 Jan 2015 23:48:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 99' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 99' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:48: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", Wed, 07 Jan 2015 23:48:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 41], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:48:44 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:48:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Wed, 07 Jan 2015 23:48:44 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:48:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Wed, 07 Jan 2015 23:48:44 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:48:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.6ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.2ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 100' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 100' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:48: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", Wed, 07 Jan 2015 23:48:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 101' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 101' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "100"], ["created_at", Wed, 07 Jan 2015 23:48:44 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", Wed, 07 Jan 2015 23:48:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Wed, 07 Jan 2015 23:48:44 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:48:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 37], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Wed, 07 Jan 2015 23:48:44 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:48:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:48:44 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:48:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.6ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 102' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 102' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "101"], ["created_at", Wed, 07 Jan 2015 23:48:44 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", Wed, 07 Jan 2015 23:48:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 103' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 103' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:48:44 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", Wed, 07 Jan 2015 23:48:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 43], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:48:44 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:48:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Wed, 07 Jan 2015 23:48:44 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:48:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Wed, 07 Jan 2015 23:48:44 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:48:44 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 104' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 104' LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:48:44 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", Wed, 07 Jan 2015 23:48:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 105' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 105' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "104"], ["created_at", Wed, 07 Jan 2015 23:48:44 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", Wed, 07 Jan 2015 23:48:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Wed, 07 Jan 2015 23:48:44 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:48:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 39], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Wed, 07 Jan 2015 23:48:44 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:48:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:48:44 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:48:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 106' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 106' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "105"], ["created_at", Wed, 07 Jan 2015 23:48:44 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", Wed, 07 Jan 2015 23:48:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 107' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 107' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:48:44 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", Wed, 07 Jan 2015 23:48:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 45], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:48:44 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:48:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "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", Wed, 07 Jan 2015 23:48:44 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:48:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Wed, 07 Jan 2015 23:48:44 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:48:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.8ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 108' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 108' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:48:44 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", Wed, 07 Jan 2015 23:48:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 109' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 109' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "108"], ["created_at", Wed, 07 Jan 2015 23:48:44 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", Wed, 07 Jan 2015 23:48:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Wed, 07 Jan 2015 23:48:44 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:48:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 41], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Wed, 07 Jan 2015 23:48:44 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:48:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:48:44 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:48:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.8ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 110' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 110' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "109"], ["created_at", Wed, 07 Jan 2015 23:48:44 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", Wed, 07 Jan 2015 23:48:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 111' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 111' LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:48:44 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", Wed, 07 Jan 2015 23:48:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 47], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:48:44 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:48:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Wed, 07 Jan 2015 23:48:44 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:48:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_section_id", 9], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:48:44 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:48:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 112' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 112' LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:48:44 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", Wed, 07 Jan 2015 23:48:44 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 113' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 113' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "112"], ["created_at", Wed, 07 Jan 2015 23:48:44 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", Wed, 07 Jan 2015 23:48:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m 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", Wed, 07 Jan 2015 23:48:44 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:48:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 43], ["coalescing_panda_lti_account_id", 3], ["coalescing_panda_term_id", 2], ["created_at", Wed, 07 Jan 2015 23:48:44 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:48:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Course Load (0.4ms)[0m SELECT "coalescing_panda_courses".* FROM "coalescing_panda_courses" WHERE "coalescing_panda_courses"."id" = ? LIMIT 1 [["id", 2]] [1m[36mSQL (0.3ms)[0m [1mUPDATE "coalescing_panda_sections" SET "coalescing_panda_course_id" = ?, "updated_at" = ? WHERE "coalescing_panda_sections"."id" = 1[0m [["coalescing_panda_course_id", 2], ["updated_at", Wed, 07 Jan 2015 23:48:44 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:48:44 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:48:44 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 15], ["coalescing_panda_lti_account_id", 3], ["created_at", Wed, 07 Jan 2015 23:48:44 UTC +00:00], ["email", "test18@test.com"], ["name", "Factory User 18"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:48:44 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::User Load (0.2ms)[0m [1mSELECT "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[0m [["coalescing_panda_lti_account_id", 3]] [1m[35mCoalescingPanda::Section Load (0.2ms)[0m 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]] [1m[36m (1.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 114' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 114' LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:48:44 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", Wed, 07 Jan 2015 23:48:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 115' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 115' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "114"], ["created_at", Wed, 07 Jan 2015 23:48:44 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", Wed, 07 Jan 2015 23:48:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Wed, 07 Jan 2015 23:48:44 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:48:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 44], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Wed, 07 Jan 2015 23:48:44 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:48:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:48:44 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:48:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.5ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 116' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 116' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "115"], ["created_at", Wed, 07 Jan 2015 23:48:44 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", Wed, 07 Jan 2015 23:48:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 117' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 117' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:48:44 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", Wed, 07 Jan 2015 23:48:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 50], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:48:44 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:48:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Wed, 07 Jan 2015 23:48:44 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:48:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_assignment_id", "9"], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:48:44 UTC +00:00], ["name", "test assignment"], ["submission_types", nil], ["updated_at", Wed, 07 Jan 2015 23:48:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:48:44 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:48:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 16], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 07 Jan 2015 23:48:44 UTC +00:00], ["email", "test19@test.com"], ["name", "Factory User 19"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:48:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::User Load (0.1ms)[0m [1mSELECT "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[0m [["coalescing_panda_lti_account_id", 1]] [1m[35mCoalescingPanda::Assignment Load (0.1ms)[0m 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]] [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m [1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations" [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m Processing by CoalescingPanda::LtiController#lti_config as HTML Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m Processing by CoalescingPanda::LtiController#lti_config as HTML Completed 500 Internal Server Error in 1ms [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m Processing by CoalescingPanda::Oauth2Controller#redirect as HTML Parameters: {"user_id"=>"1", "api_domain"=>"foo.com", "code"=>"bar"} Completed 200 OK in 5ms (Views: 5.2ms | ActiveRecord: 0.0ms) [1m[35mCoalescingPanda::CanvasApiAuth Load (0.1ms)[0m 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 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction Processing by CoalescingPanda::Oauth2Controller#redirect as HTML Parameters: {"error"=>"your face"} Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "coalescing_panda_canvas_api_auths"[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 1' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 1' LIMIT 1 [1m[36mSQL (2.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "1"], ["created_at", Wed, 07 Jan 2015 23:50: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", Wed, 07 Jan 2015 23:50:57 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 2' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 2' LIMIT 1[0m [1m[35mSQL (1.3ms)[0m INSERT INTO "coalescing_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, 07 Jan 2015 23:50:57 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, 07 Jan 2015 23:50:57 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 1], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:50:57 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:50:57 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "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", Wed, 07 Jan 2015 23:50:57 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:50:57 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (1.5ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 3' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 3' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "3"], ["created_at", Wed, 07 Jan 2015 23:50:57 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, 07 Jan 2015 23:50:57 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 4' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 4' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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, 07 Jan 2015 23:50:57 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, 07 Jan 2015 23:50:57 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 2], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:50:57 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:50:57 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Wed, 07 Jan 2015 23:50:57 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:50:57 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 5' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 5' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "5"], ["created_at", Wed, 07 Jan 2015 23:50:57 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, 07 Jan 2015 23:50:57 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 6' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 6' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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, 07 Jan 2015 23:50:57 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, 07 Jan 2015 23:50:57 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 3], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:50:57 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:50:57 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Wed, 07 Jan 2015 23:50:57 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:50:57 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_assignment_id", "1"], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:50:57 UTC +00:00], ["name", "test assignment"], ["submission_types", nil], ["updated_at", Wed, 07 Jan 2015 23:50:57 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_assignment_id", "1"], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:50:57 UTC +00:00], ["name", "test assignment"], ["submission_types", nil], ["updated_at", Wed, 07 Jan 2015 23:50:57 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", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m [1m[35m (1.0ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 7' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 7' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "7"], ["created_at", Wed, 07 Jan 2015 23:50:57 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, 07 Jan 2015 23:50:57 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 8' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 8' LIMIT 1[0m [1m[35mSQL (0.6ms)[0m INSERT INTO "coalescing_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, 07 Jan 2015 23:50: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", Wed, 07 Jan 2015 23:50:57 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 4], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:50:57 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:50:57 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "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", Wed, 07 Jan 2015 23:50:57 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:50:57 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.8ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mCoalescingPanda::CanvasApiAuth Load (0.2ms)[0m SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" ORDER BY "coalescing_panda_canvas_api_auths"."id" ASC LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_panda_canvas_api_auths" ("created_at", "updated_at", "user_id") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:50:57 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:50:57 UTC +00:00], ["user_id", "a"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::CanvasApiAuth Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1 [1m[36mCoalescingPanda::CanvasApiAuth Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1[0m [1m[35mCoalescingPanda::CanvasApiAuth Load (0.0ms)[0m SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" [1m[36mCoalescingPanda::CanvasApiAuth Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" = '1') LIMIT 1[0m [1m[35mCoalescingPanda::CanvasApiAuth Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" = '1') LIMIT 1 [1m[36m (0.4ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mCoalescingPanda::CanvasApiAuth Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1[0m [1m[35mCoalescingPanda::CanvasApiAuth Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mCoalescingPanda::CanvasApiAuth Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1[0m [1m[35mCoalescingPanda::CanvasApiAuth Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1 [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.6ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:50:57 UTC +00:00], ["status", "Pending"], ["updated_at", Wed, 07 Jan 2015 23:50:57 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Wed, 07 Jan 2015 23:50:57 UTC +00:00], ["status", "Pending"], ["updated_at", Wed, 07 Jan 2015 23:50:57 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:50:57 UTC +00:00], ["status", "Pending"], ["updated_at", Wed, 07 Jan 2015 23:50:57 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::CanvasBatch Load (0.1ms)[0m SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" ORDER BY created_at DESC [1m[36m (0.8ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.2ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 9' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 9' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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, 07 Jan 2015 23:50:57 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, 07 Jan 2015 23:50:57 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 10' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 10' LIMIT 1 [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "10"], ["created_at", Wed, 07 Jan 2015 23:50:57 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, 07 Jan 2015 23:50:57 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Wed, 07 Jan 2015 23:50:57 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:50:57 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.8ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 11' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 11' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "11"], ["created_at", Wed, 07 Jan 2015 23:50:57 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, 07 Jan 2015 23:50:57 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 12' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 12' LIMIT 1[0m [1m[35mSQL (0.6ms)[0m INSERT INTO "coalescing_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, 07 Jan 2015 23:50:57 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, 07 Jan 2015 23:50:57 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 6], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:50:57 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:50:57 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.6ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.2ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 13' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 13' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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, 07 Jan 2015 23:50:57 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, 07 Jan 2015 23:50:57 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 14' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 14' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "14"], ["created_at", Wed, 07 Jan 2015 23:50:57 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, 07 Jan 2015 23:50:57 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Wed, 07 Jan 2015 23:50:57 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:50:57 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Wed, 07 Jan 2015 23:50:57 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:50:57 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 15' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 15' LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "coalescing_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, 07 Jan 2015 23:50:57 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, 07 Jan 2015 23:50:57 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 8], ["coalescing_panda_lti_account_id", 3], ["created_at", Wed, 07 Jan 2015 23:50:57 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:50:57 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "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", Wed, 07 Jan 2015 23:50:57 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:50:57 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 (?, ?, ?, ?, ?, ?) [1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m [1m[35m (0.8ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 16' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 16' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "16"], ["created_at", Wed, 07 Jan 2015 23:50:57 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, 07 Jan 2015 23:50:57 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.6ms)[0m 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", Wed, 07 Jan 2015 23:50:57 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:50:57 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 17' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 17' LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "17"], ["created_at", Wed, 07 Jan 2015 23:50:57 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, 07 Jan 2015 23:50:57 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Wed, 07 Jan 2015 23:50:57 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:50:57 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 18' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 18' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "18"], ["created_at", Wed, 07 Jan 2015 23:50:57 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, 07 Jan 2015 23:50:57 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "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", Wed, 07 Jan 2015 23:50:57 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:50:57 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 (?, ?, ?, ?, ?, ?) [1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m [1m[35m (0.6ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 19' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 19' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "19"], ["created_at", Wed, 07 Jan 2015 23:50:57 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, 07 Jan 2015 23:50:57 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 20' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 20' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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, 07 Jan 2015 23:50:57 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, 07 Jan 2015 23:50:57 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 10], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:50:57 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:50:57 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.5ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 21' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 21' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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, 07 Jan 2015 23:50:57 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, 07 Jan 2015 23:50:57 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 07 Jan 2015 23:50:57 UTC +00:00], ["email", "test1@test.com"], ["name", "Factory User 1"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:50:57 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 22' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 22' LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "coalescing_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, 07 Jan 2015 23:50:57 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, 07 Jan 2015 23:50:57 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 23' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 23' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "23"], ["created_at", Wed, 07 Jan 2015 23:50:57 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, 07 Jan 2015 23:50:57 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Wed, 07 Jan 2015 23:50:57 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:50:57 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 7], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Wed, 07 Jan 2015 23:50:57 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:50:57 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m 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", Wed, 07 Jan 2015 23:50:57 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:50:57 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (1.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 24' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 24' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "24"], ["created_at", Wed, 07 Jan 2015 23:50:57 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, 07 Jan 2015 23:50:57 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.6ms)[0m 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, 07 Jan 2015 23:50:57 UTC +00:00], ["email", "test2@test.com"], ["name", "Factory User 2"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:50:57 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 25' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 25' LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "25"], ["created_at", Wed, 07 Jan 2015 23:50:57 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, 07 Jan 2015 23:50:57 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 26' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 26' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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, 07 Jan 2015 23:50:57 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, 07 Jan 2015 23:50:57 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 12], ["coalescing_panda_lti_account_id", 3], ["created_at", Wed, 07 Jan 2015 23:50:57 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:50:57 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Wed, 07 Jan 2015 23:50:57 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:50:57 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_section_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:50:57 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:50:57 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.8ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 27' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 27' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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, 07 Jan 2015 23:50:57 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, 07 Jan 2015 23:50:57 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 07 Jan 2015 23:50:57 UTC +00:00], ["email", "test3@test.com"], ["name", "Factory User 3"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:50:57 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 28' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 28' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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, 07 Jan 2015 23:50:57 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, 07 Jan 2015 23:50:57 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 29' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 29' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "29"], ["created_at", Wed, 07 Jan 2015 23:50:57 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, 07 Jan 2015 23:50:57 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Wed, 07 Jan 2015 23:50:57 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:50:57 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 9], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Wed, 07 Jan 2015 23:50:57 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:50:57 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Wed, 07 Jan 2015 23:50:57 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:50:57 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.9ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 30' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 30' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "30"], ["created_at", Wed, 07 Jan 2015 23:50:57 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, 07 Jan 2015 23:50:57 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.5ms)[0m 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, 07 Jan 2015 23:50:57 UTC +00:00], ["email", "test4@test.com"], ["name", "Factory User 4"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:50:57 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 31' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 31' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "31"], ["created_at", Wed, 07 Jan 2015 23:50:57 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, 07 Jan 2015 23:50:57 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 32' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 32' LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "coalescing_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, 07 Jan 2015 23:50:57 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, 07 Jan 2015 23:50:57 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 14], ["coalescing_panda_lti_account_id", 3], ["created_at", Wed, 07 Jan 2015 23:50:57 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:50:57 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "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", Wed, 07 Jan 2015 23:50:57 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:50:57 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_section_id", 4], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:50:57 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:50:57 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m 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", Wed, 07 Jan 2015 23:50:57 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Wed, 07 Jan 2015 23:50:57 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_enrollment_id", 4], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Wed, 07 Jan 2015 23:50:57 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Wed, 07 Jan 2015 23:50:57 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 (?, ?, ?, ?, ?, ?) [1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1 [1m[36m (1.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 33' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 33' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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, 07 Jan 2015 23:50:57 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, 07 Jan 2015 23:50:57 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 5], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 07 Jan 2015 23:50:57 UTC +00:00], ["email", "test5@test.com"], ["name", "Factory User 5"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:50:57 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 34' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 34' LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "coalescing_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, 07 Jan 2015 23:50:57 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, 07 Jan 2015 23:50:57 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 35' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 35' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "35"], ["created_at", Wed, 07 Jan 2015 23:50:57 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, 07 Jan 2015 23:50:57 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Wed, 07 Jan 2015 23:50:57 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:50:57 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 11], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Wed, 07 Jan 2015 23:50:57 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:50:57 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Wed, 07 Jan 2015 23:50:57 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:50:57 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_enrollment_id", 5], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Wed, 07 Jan 2015 23:50:57 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Wed, 07 Jan 2015 23:50:57 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m 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", Wed, 07 Jan 2015 23:50:57 UTC +00:00], ["enrollment_type", "TeacherEnrollment"], ["updated_at", Wed, 07 Jan 2015 23:50:57 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.8ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 36' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 36' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "36"], ["created_at", Wed, 07 Jan 2015 23:50:57 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, 07 Jan 2015 23:50:57 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.5ms)[0m 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, 07 Jan 2015 23:50:57 UTC +00:00], ["email", "test6@test.com"], ["name", "Factory User 6"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:50:57 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 37' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 37' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "37"], ["created_at", Wed, 07 Jan 2015 23:50:57 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, 07 Jan 2015 23:50:57 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 38' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 38' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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, 07 Jan 2015 23:50:57 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, 07 Jan 2015 23:50:57 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 16], ["coalescing_panda_lti_account_id", 3], ["created_at", Wed, 07 Jan 2015 23:50:57 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:50:57 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "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", Wed, 07 Jan 2015 23:50:57 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:50:57 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_section_id", 6], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:50:57 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:50:57 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (1.0ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 39' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 39' LIMIT 1 [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 40' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 40' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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, 07 Jan 2015 23:50:57 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, 07 Jan 2015 23:50:57 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 41' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 41' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "40"], ["created_at", Wed, 07 Jan 2015 23:50:57 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, 07 Jan 2015 23:50:57 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m 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", Wed, 07 Jan 2015 23:50:57 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:50:57 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 13], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Wed, 07 Jan 2015 23:50:57 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:50:57 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.9ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 42' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 42' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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, 07 Jan 2015 23:50:57 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, 07 Jan 2015 23:50:57 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 43' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 43' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "42"], ["created_at", Wed, 07 Jan 2015 23:50:57 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, 07 Jan 2015 23:50:57 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Wed, 07 Jan 2015 23:50:57 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:50:57 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 14], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Wed, 07 Jan 2015 23:50:57 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:50:57 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.8ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 44' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 44' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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, 07 Jan 2015 23:50:57 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, 07 Jan 2015 23:50:57 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 45' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 45' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "44"], ["created_at", Wed, 07 Jan 2015 23:50:57 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, 07 Jan 2015 23:50:57 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Wed, 07 Jan 2015 23:50:57 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:50:57 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 15], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Wed, 07 Jan 2015 23:50:57 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:50:57 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m 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", Wed, 07 Jan 2015 23:50:57 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:50:57 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_section_id", "1"], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:50:57 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:50:57 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 (?, ?, ?, ?) [1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1 [1m[36m (0.9ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.3ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 46' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 46' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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, 07 Jan 2015 23:50:57 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, 07 Jan 2015 23:50:57 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 47' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 47' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "46"], ["created_at", Wed, 07 Jan 2015 23:50:57 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, 07 Jan 2015 23:50:57 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m 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", Wed, 07 Jan 2015 23:50:57 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:50:57 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 16], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Wed, 07 Jan 2015 23:50:57 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:50:57 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.9ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 48' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 48' LIMIT 1[0m [1m[35mSQL (0.6ms)[0m INSERT INTO "coalescing_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, 07 Jan 2015 23:50:57 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, 07 Jan 2015 23:50:57 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 7], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 07 Jan 2015 23:50:57 UTC +00:00], ["email", "test7@test.com"], ["name", "Factory User 7"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:50:57 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 49' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 49' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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, 07 Jan 2015 23:50:57 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, 07 Jan 2015 23:50:57 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 50' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 50' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "49"], ["created_at", Wed, 07 Jan 2015 23:50:57 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, 07 Jan 2015 23:50:57 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m 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", Wed, 07 Jan 2015 23:50:57 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:50:57 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 17], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Wed, 07 Jan 2015 23:50:57 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:50:57 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_assignment_id", "3"], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:50:57 UTC +00:00], ["name", "test assignment"], ["submission_types", nil], ["updated_at", Wed, 07 Jan 2015 23:50:57 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 51' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 51' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "50"], ["created_at", Wed, 07 Jan 2015 23:50:57 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, 07 Jan 2015 23:50:57 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.5ms)[0m 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, 07 Jan 2015 23:50:57 UTC +00:00], ["email", "test8@test.com"], ["name", "Factory User 8"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:50:57 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 52' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 52' LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "51"], ["created_at", Wed, 07 Jan 2015 23:50:57 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, 07 Jan 2015 23:50:57 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 53' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 53' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:50:57 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", Wed, 07 Jan 2015 23:50:57 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 22], ["coalescing_panda_lti_account_id", 3], ["created_at", Wed, 07 Jan 2015 23:50:57 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:50:57 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Wed, 07 Jan 2015 23:50:57 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:50:57 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_assignment_id", "4"], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:50:57 UTC +00:00], ["name", "test assignment"], ["submission_types", nil], ["updated_at", Wed, 07 Jan 2015 23:50:57 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (1.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 54' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 54' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:50:57 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", Wed, 07 Jan 2015 23:50:57 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 9], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 07 Jan 2015 23:50:57 UTC +00:00], ["email", "test9@test.com"], ["name", "Factory User 9"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:50:57 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 55' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 55' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:50:57 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", Wed, 07 Jan 2015 23:50:57 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 56' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 56' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "55"], ["created_at", Wed, 07 Jan 2015 23:50:57 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", Wed, 07 Jan 2015 23:50:57 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Wed, 07 Jan 2015 23:50:57 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:50:57 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 19], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Wed, 07 Jan 2015 23:50:57 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:50:57 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_assignment_id", "5"], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:50:57 UTC +00:00], ["name", "test assignment"], ["submission_types", nil], ["updated_at", Wed, 07 Jan 2015 23:50:57 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.8ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 57' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 57' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "56"], ["created_at", Wed, 07 Jan 2015 23:50:57 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", Wed, 07 Jan 2015 23:50:57 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.5ms)[0m 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, 07 Jan 2015 23:50:57 UTC +00:00], ["email", "test10@test.com"], ["name", "Factory User 10"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:50:57 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 58' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 58' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "57"], ["created_at", Wed, 07 Jan 2015 23:50:57 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", Wed, 07 Jan 2015 23:50:57 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 59' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 59' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:50:57 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", Wed, 07 Jan 2015 23:50:57 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 24], ["coalescing_panda_lti_account_id", 3], ["created_at", Wed, 07 Jan 2015 23:50:57 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:50:57 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "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", Wed, 07 Jan 2015 23:50:57 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:50:57 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_assignment_id", "6"], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:50:57 UTC +00:00], ["name", "test assignment"], ["submission_types", nil], ["updated_at", Wed, 07 Jan 2015 23:50:57 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.4ms)[0m 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", Wed, 07 Jan 2015 23:50:57 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:50:57 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["canvas_submission_id", "1"], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Wed, 07 Jan 2015 23:50:57 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:50:57 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 (?, ?, ?, ?, ?) [1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1 [1m[36m (0.9ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 60' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 60' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:50:57 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", Wed, 07 Jan 2015 23:50:57 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 11], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 07 Jan 2015 23:50:57 UTC +00:00], ["email", "test11@test.com"], ["name", "Factory User 11"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:50:57 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 61' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 61' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:50:57 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", Wed, 07 Jan 2015 23:50:57 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 62' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 62' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "61"], ["created_at", Wed, 07 Jan 2015 23:50:57 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", Wed, 07 Jan 2015 23:50:57 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Wed, 07 Jan 2015 23:50:57 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:50:57 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 21], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Wed, 07 Jan 2015 23:50:57 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:50:57 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_assignment_id", "7"], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:50:57 UTC +00:00], ["name", "test assignment"], ["submission_types", nil], ["updated_at", Wed, 07 Jan 2015 23:50:57 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["canvas_submission_id", "1"], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Wed, 07 Jan 2015 23:50:57 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:50:57 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Wed, 07 Jan 2015 23:50:57 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:50:57 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.9ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 63' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 63' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "62"], ["created_at", Wed, 07 Jan 2015 23:50:57 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", Wed, 07 Jan 2015 23:50:57 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.5ms)[0m 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, 07 Jan 2015 23:50:57 UTC +00:00], ["email", "test12@test.com"], ["name", "Factory User 12"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:50:57 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 64' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 64' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "63"], ["created_at", Wed, 07 Jan 2015 23:50:57 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", Wed, 07 Jan 2015 23:50:57 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 65' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 65' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:50:57 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", Wed, 07 Jan 2015 23:50:57 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 26], ["coalescing_panda_lti_account_id", 3], ["created_at", Wed, 07 Jan 2015 23:50:57 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:50:57 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Wed, 07 Jan 2015 23:50:57 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:50:57 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_assignment_id", "8"], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:50:57 UTC +00:00], ["name", "test assignment"], ["submission_types", nil], ["updated_at", Wed, 07 Jan 2015 23:50:57 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 66' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 66' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:50:57 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", Wed, 07 Jan 2015 23:50:57 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.3ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 67' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 67' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "66"], ["created_at", Wed, 07 Jan 2015 23:50:57 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", Wed, 07 Jan 2015 23:50:57 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (1.2ms)[0m 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", Wed, 07 Jan 2015 23:50:57 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:50:57 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 07 Jan 2015 23:50:57 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:50:57 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 (?, ?, ?, ?) [1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1 [1m[36m (0.6ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 68' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 68' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:50:58 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", Wed, 07 Jan 2015 23:50:58 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.5ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 69' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 69' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "68"], ["created_at", Wed, 07 Jan 2015 23:50:58 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", Wed, 07 Jan 2015 23:50:58 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.4ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 70' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 70' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:50:58 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", Wed, 07 Jan 2015 23:50:58 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.9ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 07 Jan 2015 23:50:58 UTC +00:00], ["email", "test15@test.com"], ["name", "Factory User 15"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:50:58 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m 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, 07 Jan 2015 23:50:58 UTC +00:00], ["email", "test16@test.com"], ["name", "Factory User 16"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:50:58 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 (?, ?, ?, ?, ?, ?, ?) [1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m [1m[35m (0.6ms)[0m rollback transaction [1m[36m (0.2ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 71' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 71' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "70"], ["created_at", Wed, 07 Jan 2015 23:50:58 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", Wed, 07 Jan 2015 23:50:58 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.4ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 72' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 72' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:50:58 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", Wed, 07 Jan 2015 23:50:58 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 73' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 73' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "72"], ["created_at", Wed, 07 Jan 2015 23:50:58 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", Wed, 07 Jan 2015 23:50:58 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Wed, 07 Jan 2015 23:50:58 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:50:58 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 23], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Wed, 07 Jan 2015 23:50:58 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:50:58 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:50:58 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:50:58 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 74' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 74' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "73"], ["created_at", Wed, 07 Jan 2015 23:50:58 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", Wed, 07 Jan 2015 23:50:58 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 75' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 75' LIMIT 1[0m [1m[35mSQL (0.6ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:50:58 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", Wed, 07 Jan 2015 23:50:58 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 29], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:50:58 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:50:58 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Wed, 07 Jan 2015 23:50:58 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:50:58 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Wed, 07 Jan 2015 23:50:58 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:50:58 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (1.0ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 76' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 76' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:50:58 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", Wed, 07 Jan 2015 23:50:58 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 77' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 77' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "76"], ["created_at", Wed, 07 Jan 2015 23:50:58 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", Wed, 07 Jan 2015 23:50:58 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Wed, 07 Jan 2015 23:50:58 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:50:58 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 25], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Wed, 07 Jan 2015 23:50:58 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:50:58 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:50:58 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:50:58 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.3ms)[0m [1mUPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1[0m [["status", "Started"], ["updated_at", Wed, 07 Jan 2015 23:50:58 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::Section Load (0.1ms)[0m [1mSELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:50:58 UTC +00:00], ["name", "Course1"], ["updated_at", Wed, 07 Jan 2015 23:50:58 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 20.0], ["updated_at", Wed, 07 Jan 2015 23:50:58 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::User Load (0.1ms)[0m 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]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "coalescing_panda_users" ("canvas_user_id", "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, 07 Jan 2015 23:50:58 UTC +00:00], ["name", "teacher@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:50:58 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::User Load (0.1ms)[0m 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]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_users" ("canvas_user_id", "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, 07 Jan 2015 23:50:58 UTC +00:00], ["name", "student1@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:50:58 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::User Load (0.1ms)[0m 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]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_users" ("canvas_user_id", "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, 07 Jan 2015 23:50:58 UTC +00:00], ["name", "student2@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:50:58 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mUPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1[0m [["percent_complete", 40.0], ["updated_at", Wed, 07 Jan 2015 23:50:58 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::Enrollment Load (0.1ms)[0m [1mSELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '1') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35mCoalescingPanda::User Load (0.1ms)[0m SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '1' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] [1m[36mCoalescingPanda::Section Load (0.1ms)[0m [1mSELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["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"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::Enrollment Load (0.1ms)[0m [1mSELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '2') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35mCoalescingPanda::User Load (0.1ms)[0m SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] [1m[36mCoalescingPanda::Section Load (0.0ms)[0m [1mSELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["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"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::Enrollment Load (0.1ms)[0m [1mSELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '3') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35mCoalescingPanda::User Load (0.1ms)[0m SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] [1m[36mCoalescingPanda::Section Load (0.0ms)[0m [1mSELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["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"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 60.0], ["updated_at", Wed, 07 Jan 2015 23:50:58 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Assignment Load (0.1ms)[0m SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "grade_group_students_individually", "name", "points_possible", "published", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 18:04:38 UTC +00:00], ["description", "What is your name?
"], ["grade_group_students_individually", false], ["name", "Gimme your name"], ["points_possible", 100.0], ["published", true], ["submission_types", "---\n- online_text_entry\n"], ["updated_at", Tue, 18 Nov 2014 18:04:42 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Assignment Load (0.1ms)[0m SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "grade_group_students_individually", "name", "points_possible", "published", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 19:10:28 UTC +00:00], ["description", "What is your Favorite Color?
"], ["grade_group_students_individually", false], ["name", "Favorite Color"], ["points_possible", 100.0], ["published", true], ["submission_types", "---\n- online_text_entry\n"], ["updated_at", Tue, 18 Nov 2014 19:10:30 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mUPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1[0m [["percent_complete", 80.0], ["updated_at", Wed, 07 Jan 2015 23:50:58 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::Assignment Load (0.1ms)[0m [1mSELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ?[0m [["coalescing_panda_course_id", 1]] [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mUPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1[0m [["percent_complete", 100.0], ["updated_at", Wed, 07 Jan 2015 23:50:58 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 120.0], ["updated_at", Wed, 07 Jan 2015 23:50:58 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mUPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1[0m [["percent_complete", 140.0], ["updated_at", Wed, 07 Jan 2015 23:50:58 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Wed, 07 Jan 2015 23:50:58 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (1.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 78' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 78' LIMIT 1 [1m[36mSQL (1.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "77"], ["created_at", Wed, 07 Jan 2015 23:50:58 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", Wed, 07 Jan 2015 23:50:58 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 79' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 79' LIMIT 1[0m [1m[35mSQL (0.6ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:50:58 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", Wed, 07 Jan 2015 23:50:58 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 31], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:50:58 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:50:58 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Wed, 07 Jan 2015 23:50:58 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:50:58 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Wed, 07 Jan 2015 23:50:58 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:50:58 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 80' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 80' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:50:58 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", Wed, 07 Jan 2015 23:50:58 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 81' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 81' LIMIT 1 [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "80"], ["created_at", Wed, 07 Jan 2015 23:50:58 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", Wed, 07 Jan 2015 23:50:58 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Wed, 07 Jan 2015 23:50:58 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:50:58 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 27], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Wed, 07 Jan 2015 23:50:58 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:50:58 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:50:58 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:50:58 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.9ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mCoalescingPanda::Section Load (0.2ms)[0m SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 82' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 82' LIMIT 1[0m [1m[35mSQL (0.6ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:50:58 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", Wed, 07 Jan 2015 23:50:58 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 83' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 83' LIMIT 1 [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "82"], ["created_at", Wed, 07 Jan 2015 23:50:58 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", Wed, 07 Jan 2015 23:50:58 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m 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", Wed, 07 Jan 2015 23:50:58 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:50:58 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 28], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Wed, 07 Jan 2015 23:50:58 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:50:58 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:50:58 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:50:58 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Section Load (0.0ms)[0m SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_sections" ("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, 07 Jan 2015 23:50:58 UTC +00:00], ["name", "Course1"], ["updated_at", Wed, 07 Jan 2015 23:50:58 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "coalescing_panda_sections" [1m[36m (1.0ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mCoalescingPanda::User Load (0.2ms)[0m [1mSELECT "coalescing_panda_users".* FROM "coalescing_panda_users"[0m [1m[35m (0.2ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 84' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 84' LIMIT 1 [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "83"], ["created_at", Wed, 07 Jan 2015 23:50:58 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", Wed, 07 Jan 2015 23:50:58 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 85' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 85' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:50:58 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", Wed, 07 Jan 2015 23:50:58 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 34], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:50:58 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:50:58 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Wed, 07 Jan 2015 23:50:58 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:50:58 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Wed, 07 Jan 2015 23:50:58 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:50:58 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::User Load (0.0ms)[0m [1mSELECT "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[0m [["coalescing_panda_lti_account_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 07 Jan 2015 23:50:58 UTC +00:00], ["name", "teacher@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:50:58 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::User Load (0.0ms)[0m [1mSELECT "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[0m [["coalescing_panda_lti_account_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 07 Jan 2015 23:50:58 UTC +00:00], ["name", "student1@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:50:58 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::User Load (0.0ms)[0m [1mSELECT "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[0m [["coalescing_panda_lti_account_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 07 Jan 2015 23:50:58 UTC +00:00], ["name", "student2@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:50:58 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "coalescing_panda_users"[0m [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mCoalescingPanda::Enrollment Load (0.1ms)[0m SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 86' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 86' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:50:58 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", Wed, 07 Jan 2015 23:50:58 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 87' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 87' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "86"], ["created_at", Wed, 07 Jan 2015 23:50:58 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", Wed, 07 Jan 2015 23:50:58 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m 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", Wed, 07 Jan 2015 23:50:58 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:50:58 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 30], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Wed, 07 Jan 2015 23:50:58 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:50:58 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:50:58 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:50:58 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Section Load (0.0ms)[0m SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_sections" ("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, 07 Jan 2015 23:50:58 UTC +00:00], ["name", "Course1"], ["updated_at", Wed, 07 Jan 2015 23:50:58 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::User Load (0.0ms)[0m 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]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_users" ("canvas_user_id", "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, 07 Jan 2015 23:50:58 UTC +00:00], ["name", "teacher@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:50:58 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::User Load (0.1ms)[0m 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]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "coalescing_panda_users" ("canvas_user_id", "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, 07 Jan 2015 23:50:58 UTC +00:00], ["name", "student1@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:50:58 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::User Load (0.0ms)[0m 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]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "coalescing_panda_users" ("canvas_user_id", "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, 07 Jan 2015 23:50:58 UTC +00:00], ["name", "student2@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:50:58 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Enrollment Load (0.0ms)[0m SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '1') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36mCoalescingPanda::User Load (0.0ms)[0m [1mSELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '1' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1[0m [["coalescing_panda_lti_account_id", 1]] [1m[35mCoalescingPanda::Section Load (0.0ms)[0m SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_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"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Enrollment Load (0.0ms)[0m SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '2') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36mCoalescingPanda::User Load (0.0ms)[0m [1mSELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1[0m [["coalescing_panda_lti_account_id", 1]] [1m[35mCoalescingPanda::Section Load (0.0ms)[0m SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_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"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Enrollment Load (0.0ms)[0m SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '3') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36mCoalescingPanda::User Load (0.0ms)[0m [1mSELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1[0m [["coalescing_panda_lti_account_id", 1]] [1m[35mCoalescingPanda::Section Load (0.0ms)[0m SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_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"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "coalescing_panda_enrollments" [1m[36mCoalescingPanda::Enrollment Load (0.1ms)[0m [1mSELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" ORDER BY "coalescing_panda_enrollments"."id" DESC LIMIT 1[0m [1m[35m (1.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mCoalescingPanda::Assignment Load (0.2ms)[0m SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 88' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 88' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:50:58 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", Wed, 07 Jan 2015 23:50:58 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 89' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 89' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "88"], ["created_at", Wed, 07 Jan 2015 23:50:58 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", Wed, 07 Jan 2015 23:50:58 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Wed, 07 Jan 2015 23:50:58 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:50:58 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 31], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Wed, 07 Jan 2015 23:50:58 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:50:58 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:50:58 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:50:58 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Assignment Load (0.0ms)[0m SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "grade_group_students_individually", "name", "points_possible", "published", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 18:04:38 UTC +00:00], ["description", "What is your name?
"], ["grade_group_students_individually", false], ["name", "Gimme your name"], ["points_possible", 100.0], ["published", true], ["submission_types", "---\n- online_text_entry\n"], ["updated_at", Tue, 18 Nov 2014 18:04:42 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Assignment Load (0.0ms)[0m SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "grade_group_students_individually", "name", "points_possible", "published", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 19:10:28 UTC +00:00], ["description", "What is your Favorite Color?
"], ["grade_group_students_individually", false], ["name", "Favorite Color"], ["points_possible", 100.0], ["published", true], ["submission_types", "---\n- online_text_entry\n"], ["updated_at", Tue, 18 Nov 2014 19:10:30 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "coalescing_panda_assignments" [1m[36m (0.8ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mCoalescingPanda::Submission Load (0.1ms)[0m [1mSELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions"[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 90' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 90' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "89"], ["created_at", Wed, 07 Jan 2015 23:50:58 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", Wed, 07 Jan 2015 23:50:58 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 91' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 91' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:50:58 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", Wed, 07 Jan 2015 23:50:58 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 37], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:50:58 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:50:58 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Wed, 07 Jan 2015 23:50:58 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:50:58 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Wed, 07 Jan 2015 23:50:58 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:50:58 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::User Load (0.0ms)[0m [1mSELECT "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[0m [["coalescing_panda_lti_account_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 07 Jan 2015 23:50:58 UTC +00:00], ["name", "teacher@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:50:58 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::User Load (0.0ms)[0m [1mSELECT "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[0m [["coalescing_panda_lti_account_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 07 Jan 2015 23:50:58 UTC +00:00], ["name", "student1@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:50:58 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::User Load (0.0ms)[0m [1mSELECT "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[0m [["coalescing_panda_lti_account_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 07 Jan 2015 23:50:58 UTC +00:00], ["name", "student2@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:50:58 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::Assignment Load (0.0ms)[0m [1mSELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "grade_group_students_individually", "name", "points_possible", "published", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_assignment_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 18:04:38 UTC +00:00], ["description", "What is your name?
"], ["grade_group_students_individually", false], ["name", "Gimme your name"], ["points_possible", 100.0], ["published", true], ["submission_types", "---\n- online_text_entry\n"], ["updated_at", Tue, 18 Nov 2014 18:04:42 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::Assignment Load (0.0ms)[0m [1mSELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "grade_group_students_individually", "name", "points_possible", "published", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_assignment_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 19:10:28 UTC +00:00], ["description", "What is your Favorite Color?
"], ["grade_group_students_individually", false], ["name", "Favorite Color"], ["points_possible", 100.0], ["published", true], ["submission_types", "---\n- online_text_entry\n"], ["updated_at", Tue, 18 Nov 2014 19:10:30 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::Submission Load (0.1ms)[0m [1mSELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '3') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35mCoalescingPanda::User Load (0.0ms)[0m SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] [1m[36mCoalescingPanda::Assignment Load (0.1ms)[0m [1mSELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_submission_id", 3], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 3], ["created_at", Wed, 07 Jan 2015 23:50:58 UTC +00:00], ["grade", "70"], ["score", 70], ["updated_at", Wed, 07 Jan 2015 23:50:58 UTC +00:00], ["workflow_state", "graded"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::Submission Load (0.1ms)[0m [1mSELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '1') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35mCoalescingPanda::User Load (0.0ms)[0m SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] [1m[36mCoalescingPanda::Assignment Load (0.0ms)[0m [1mSELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_submission_id", 1], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 2], ["created_at", Wed, 07 Jan 2015 23:50:58 UTC +00:00], ["grade", "100"], ["score", 100], ["updated_at", Wed, 07 Jan 2015 23:50:58 UTC +00:00], ["workflow_state", "graded"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::Submission Load (0.1ms)[0m [1mSELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '4') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35mCoalescingPanda::User Load (0.1ms)[0m SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] [1m[36mCoalescingPanda::Assignment Load (0.1ms)[0m [1mSELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_submission_id", 4], ["coalescing_panda_assignment_id", 2], ["coalescing_panda_user_id", 3], ["created_at", Wed, 07 Jan 2015 23:50:58 UTC +00:00], ["grade", "90"], ["score", 90], ["updated_at", Wed, 07 Jan 2015 23:50:58 UTC +00:00], ["workflow_state", "graded"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::Submission Load (0.1ms)[0m [1mSELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '2') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35mCoalescingPanda::User Load (0.0ms)[0m SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] [1m[36mCoalescingPanda::Assignment Load (0.0ms)[0m [1mSELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_submission_id", 2], ["coalescing_panda_assignment_id", 2], ["coalescing_panda_user_id", 2], ["created_at", Wed, 07 Jan 2015 23:50:58 UTC +00:00], ["grade", "80"], ["score", 80], ["updated_at", Wed, 07 Jan 2015 23:50:58 UTC +00:00], ["workflow_state", "graded"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "coalescing_panda_submissions"[0m [1m[35m (0.8ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 92' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 92' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "91"], ["created_at", Wed, 07 Jan 2015 23:50:58 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", Wed, 07 Jan 2015 23:50:58 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 93' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 93' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:50:58 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", Wed, 07 Jan 2015 23:50:58 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 38], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:50:58 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:50:58 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Wed, 07 Jan 2015 23:50:58 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:50:58 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Wed, 07 Jan 2015 23:50:58 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:50:58 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.8ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 94' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 94' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:50:58 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", Wed, 07 Jan 2015 23:50:58 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 95' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 95' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "94"], ["created_at", Wed, 07 Jan 2015 23:50:58 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", Wed, 07 Jan 2015 23:50:58 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m 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", Wed, 07 Jan 2015 23:50:58 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:50:58 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 34], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Wed, 07 Jan 2015 23:50:58 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:50:58 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:50:58 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:50:58 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.9ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 96' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 96' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "95"], ["created_at", Wed, 07 Jan 2015 23:50:58 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", Wed, 07 Jan 2015 23:50:58 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 97' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 97' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:50:58 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", Wed, 07 Jan 2015 23:50:58 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 40], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:50:58 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:50:58 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Wed, 07 Jan 2015 23:50:58 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:50:58 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Wed, 07 Jan 2015 23:50:58 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:50:58 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 98' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 98' LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:50:58 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", Wed, 07 Jan 2015 23:50:58 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 99' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 99' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "98"], ["created_at", Wed, 07 Jan 2015 23:50:58 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", Wed, 07 Jan 2015 23:50:58 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Wed, 07 Jan 2015 23:50:58 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:50:58 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 36], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Wed, 07 Jan 2015 23:50:58 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:50:58 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:50:58 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:50:58 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.9ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 100' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 100' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "99"], ["created_at", Wed, 07 Jan 2015 23:50:58 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", Wed, 07 Jan 2015 23:50:58 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 101' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 101' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:50:58 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", Wed, 07 Jan 2015 23:50:58 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 42], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:50:58 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:50:58 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "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", Wed, 07 Jan 2015 23:50:58 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:50:58 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Wed, 07 Jan 2015 23:50:58 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:50:58 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 102' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 102' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:50:58 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", Wed, 07 Jan 2015 23:50:58 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 103' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 103' LIMIT 1 [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "102"], ["created_at", Wed, 07 Jan 2015 23:50:58 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", Wed, 07 Jan 2015 23:50:58 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Wed, 07 Jan 2015 23:50:58 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:50:58 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 38], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Wed, 07 Jan 2015 23:50:58 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:50:58 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:50:58 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:50:58 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 104' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 104' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "103"], ["created_at", Wed, 07 Jan 2015 23:50:58 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", Wed, 07 Jan 2015 23:50:58 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 105' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 105' LIMIT 1[0m [1m[35mSQL (0.6ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:50:58 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", Wed, 07 Jan 2015 23:50:58 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 44], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:50:58 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:50:58 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "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", Wed, 07 Jan 2015 23:50:58 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:50:58 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Wed, 07 Jan 2015 23:50:58 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:50:58 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.6ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 106' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 106' LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:50:58 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", Wed, 07 Jan 2015 23:50:58 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 107' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 107' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "106"], ["created_at", Wed, 07 Jan 2015 23:50:58 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", Wed, 07 Jan 2015 23:50:58 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Wed, 07 Jan 2015 23:50:58 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:50:58 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 40], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Wed, 07 Jan 2015 23:50:58 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:50:58 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:50:58 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:50:58 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.6ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 108' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 108' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "107"], ["created_at", Wed, 07 Jan 2015 23:50:58 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", Wed, 07 Jan 2015 23:50:58 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 109' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 109' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:50:58 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", Wed, 07 Jan 2015 23:50:58 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 46], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:50:58 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:50:58 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Wed, 07 Jan 2015 23:50:58 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:50:58 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Wed, 07 Jan 2015 23:50:58 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:50:58 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 110' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 110' LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:50:58 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", Wed, 07 Jan 2015 23:50:58 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 111' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 111' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "110"], ["created_at", Wed, 07 Jan 2015 23:50:58 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", Wed, 07 Jan 2015 23:50:58 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Wed, 07 Jan 2015 23:50:58 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:50:58 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 42], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Wed, 07 Jan 2015 23:50:58 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:50:58 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Wed, 07 Jan 2015 23:50:58 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:50:58 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 112' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 112' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "111"], ["created_at", Wed, 07 Jan 2015 23:50:58 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", Wed, 07 Jan 2015 23:50:58 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 113' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 113' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:50:58 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", Wed, 07 Jan 2015 23:50:58 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 48], ["coalescing_panda_lti_account_id", 4], ["created_at", Wed, 07 Jan 2015 23:50:58 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:50:58 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "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", Wed, 07 Jan 2015 23:50:58 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:50:58 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::Course Load (0.2ms)[0m [1mSELECT "coalescing_panda_courses".* FROM "coalescing_panda_courses" WHERE "coalescing_panda_courses"."id" = ? LIMIT 1[0m [["id", 2]] [1m[35mSQL (0.3ms)[0m 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, 07 Jan 2015 23:50:58 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Wed, 07 Jan 2015 23:50:58 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:50:58 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m 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", Wed, 07 Jan 2015 23:50:58 UTC +00:00], ["email", "test18@test.com"], ["name", "Factory User 18"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:50:58 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::User Load (0.1ms)[0m 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]] [1m[36mCoalescingPanda::Section Load (0.1ms)[0m [1mSELECT "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[0m [["coalescing_panda_course_id", 2]] [1m[35m (1.0ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 114' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 114' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "113"], ["created_at", Wed, 07 Jan 2015 23:50:58 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", Wed, 07 Jan 2015 23:50:58 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 115' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 115' LIMIT 1[0m [1m[35mSQL (0.6ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:50:58 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", Wed, 07 Jan 2015 23:50:58 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 49], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:50:58 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:50:58 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "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", Wed, 07 Jan 2015 23:50:58 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:50:58 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Wed, 07 Jan 2015 23:50:58 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:50:58 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (1.0ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 116' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 116' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:50:58 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", Wed, 07 Jan 2015 23:50:58 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 117' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 117' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "116"], ["created_at", Wed, 07 Jan 2015 23:50:58 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", Wed, 07 Jan 2015 23:50:58 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m 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", Wed, 07 Jan 2015 23:50:58 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:50:58 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 45], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Wed, 07 Jan 2015 23:50:58 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:50:58 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_assignment_id", "9"], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:50:58 UTC +00:00], ["name", "test assignment"], ["submission_types", nil], ["updated_at", Wed, 07 Jan 2015 23:50:58 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Wed, 07 Jan 2015 23:50:58 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:50:58 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m 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", Wed, 07 Jan 2015 23:50:58 UTC +00:00], ["email", "test19@test.com"], ["name", "Factory User 19"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:50:58 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::User Load (0.1ms)[0m 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]] [1m[36mCoalescingPanda::Assignment Load (0.1ms)[0m [1mSELECT "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[0m [["coalescing_panda_course_id", 1]] [1m[35m (0.8ms)[0m rollback transaction [1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m [1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations" [1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m [1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations" [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m Processing by CoalescingPanda::LtiController#lti_config as HTML Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m Processing by CoalescingPanda::LtiController#lti_config as HTML Completed 500 Internal Server Error in 1ms [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m 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) [1m[35mCoalescingPanda::CanvasApiAuth Load (0.2ms)[0m 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 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction Processing by CoalescingPanda::Oauth2Controller#redirect as HTML Parameters: {"error"=>"your face"} Completed 200 OK in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "coalescing_panda_canvas_api_auths"[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 1' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 1' LIMIT 1 [1m[36mSQL (3.2ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "1"], ["created_at", Wed, 07 Jan 2015 23:59: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", Wed, 07 Jan 2015 23:59:37 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 2' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 2' LIMIT 1[0m [1m[35mSQL (1.2ms)[0m INSERT INTO "coalescing_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, 07 Jan 2015 23:59: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", Wed, 07 Jan 2015 23:59:37 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 1], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:59:37 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:59:37 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "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", Wed, 07 Jan 2015 23:59:37 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:59:37 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (1.7ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 3' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 3' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "3"], ["created_at", Wed, 07 Jan 2015 23:59: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", Wed, 07 Jan 2015 23:59:37 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 4' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 4' LIMIT 1[0m [1m[35mSQL (0.6ms)[0m INSERT INTO "coalescing_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, 07 Jan 2015 23:59: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", Wed, 07 Jan 2015 23:59:37 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 2], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:59:37 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:59:37 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Wed, 07 Jan 2015 23:59:37 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:59:37 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.9ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 5' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 5' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "5"], ["created_at", Wed, 07 Jan 2015 23:59: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", Wed, 07 Jan 2015 23:59:37 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 6' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 6' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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, 07 Jan 2015 23:59: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", Wed, 07 Jan 2015 23:59:37 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 3], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:59:37 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:59:37 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Wed, 07 Jan 2015 23:59:37 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:59:37 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_assignment_id", "1"], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:59:37 UTC +00:00], ["name", "test assignment"], ["submission_types", nil], ["updated_at", Wed, 07 Jan 2015 23:59:37 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_assignment_id", "1"], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:59:37 UTC +00:00], ["name", "test assignment"], ["submission_types", nil], ["updated_at", Wed, 07 Jan 2015 23:59:37 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", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m [1m[35m (0.9ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 7' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 7' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "7"], ["created_at", Wed, 07 Jan 2015 23:59: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", Wed, 07 Jan 2015 23:59:37 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 8' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 8' LIMIT 1[0m [1m[35mSQL (0.7ms)[0m INSERT INTO "coalescing_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, 07 Jan 2015 23:59: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", Wed, 07 Jan 2015 23:59:37 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 4], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:59:37 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:59:37 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Wed, 07 Jan 2015 23:59:37 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:59:37 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.6ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mCoalescingPanda::CanvasApiAuth Load (0.1ms)[0m SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" ORDER BY "coalescing_panda_canvas_api_auths"."id" ASC LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_panda_canvas_api_auths" ("created_at", "updated_at", "user_id") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:59:37 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:59:37 UTC +00:00], ["user_id", "a"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::CanvasApiAuth Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1 [1m[36mCoalescingPanda::CanvasApiAuth Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1[0m [1m[35mCoalescingPanda::CanvasApiAuth Load (0.1ms)[0m SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" [1m[36mCoalescingPanda::CanvasApiAuth Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" = '1') LIMIT 1[0m [1m[35mCoalescingPanda::CanvasApiAuth Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" = '1') LIMIT 1 [1m[36m (0.5ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mCoalescingPanda::CanvasApiAuth Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1[0m [1m[35mCoalescingPanda::CanvasApiAuth Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mCoalescingPanda::CanvasApiAuth Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1[0m [1m[35mCoalescingPanda::CanvasApiAuth Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:59:37 UTC +00:00], ["status", "Pending"], ["updated_at", Wed, 07 Jan 2015 23:59:37 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Wed, 07 Jan 2015 23:59:37 UTC +00:00], ["status", "Pending"], ["updated_at", Wed, 07 Jan 2015 23:59:37 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:59:37 UTC +00:00], ["status", "Pending"], ["updated_at", Wed, 07 Jan 2015 23:59:37 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::CanvasBatch Load (0.1ms)[0m SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" ORDER BY created_at DESC [1m[36m (0.6ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.2ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 9' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 9' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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, 07 Jan 2015 23:59: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", Wed, 07 Jan 2015 23:59:37 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 10' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 10' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "10"], ["created_at", Wed, 07 Jan 2015 23:59: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", Wed, 07 Jan 2015 23:59:37 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Wed, 07 Jan 2015 23:59:37 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:59:37 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.8ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 11' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 11' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "11"], ["created_at", Wed, 07 Jan 2015 23:59: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", Wed, 07 Jan 2015 23:59:37 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 12' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 12' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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, 07 Jan 2015 23:59: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", Wed, 07 Jan 2015 23:59:37 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 6], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:59:37 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:59:37 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.8ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.2ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 13' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 13' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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, 07 Jan 2015 23:59:37 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, 07 Jan 2015 23:59:37 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 14' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 14' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "14"], ["created_at", Wed, 07 Jan 2015 23:59:37 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, 07 Jan 2015 23:59:37 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m 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", Wed, 07 Jan 2015 23:59:37 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:59:37 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Wed, 07 Jan 2015 23:59:37 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:59:37 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 15' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 15' LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "coalescing_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, 07 Jan 2015 23:59:37 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, 07 Jan 2015 23:59:37 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 8], ["coalescing_panda_lti_account_id", 3], ["created_at", Wed, 07 Jan 2015 23:59:37 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:59:37 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "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", Wed, 07 Jan 2015 23:59:37 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:59:37 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 (?, ?, ?, ?, ?, ?) [1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 16' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 16' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "16"], ["created_at", Wed, 07 Jan 2015 23:59:37 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, 07 Jan 2015 23:59:37 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.5ms)[0m 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", Wed, 07 Jan 2015 23:59:37 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:59:37 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 17' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 17' LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "17"], ["created_at", Wed, 07 Jan 2015 23:59:37 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, 07 Jan 2015 23:59:37 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Wed, 07 Jan 2015 23:59:37 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:59:37 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 18' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 18' LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "18"], ["created_at", Wed, 07 Jan 2015 23:59:37 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, 07 Jan 2015 23:59:37 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "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", Wed, 07 Jan 2015 23:59:37 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:59:37 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 (?, ?, ?, ?, ?, ?) [1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 19' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 19' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "19"], ["created_at", Wed, 07 Jan 2015 23:59:37 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, 07 Jan 2015 23:59:37 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 20' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 20' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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, 07 Jan 2015 23:59:37 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, 07 Jan 2015 23:59:37 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 10], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:59:37 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:59:37 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.6ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 21' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 21' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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, 07 Jan 2015 23:59:37 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, 07 Jan 2015 23:59:37 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.8ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 07 Jan 2015 23:59:37 UTC +00:00], ["email", "test1@test.com"], ["name", "Factory User 1"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:59:37 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 22' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 22' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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, 07 Jan 2015 23:59:37 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, 07 Jan 2015 23:59:37 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 23' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 23' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "23"], ["created_at", Wed, 07 Jan 2015 23:59:37 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, 07 Jan 2015 23:59:37 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Wed, 07 Jan 2015 23:59:37 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:59:37 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 7], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Wed, 07 Jan 2015 23:59:37 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:59:37 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.3ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m 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", Wed, 07 Jan 2015 23:59:37 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:59:37 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.8ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 24' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 24' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "24"], ["created_at", Wed, 07 Jan 2015 23:59:37 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, 07 Jan 2015 23:59:37 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.8ms)[0m 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, 07 Jan 2015 23:59:37 UTC +00:00], ["email", "test2@test.com"], ["name", "Factory User 2"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:59:37 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 25' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 25' LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "25"], ["created_at", Wed, 07 Jan 2015 23:59:37 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, 07 Jan 2015 23:59:37 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 26' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 26' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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, 07 Jan 2015 23:59:37 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, 07 Jan 2015 23:59:37 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 12], ["coalescing_panda_lti_account_id", 3], ["created_at", Wed, 07 Jan 2015 23:59:37 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:59:37 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Wed, 07 Jan 2015 23:59:37 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:59:37 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_section_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:59:37 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:59:37 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 27' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 27' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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, 07 Jan 2015 23:59:37 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, 07 Jan 2015 23:59:37 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (1.1ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 07 Jan 2015 23:59:37 UTC +00:00], ["email", "test3@test.com"], ["name", "Factory User 3"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:59:37 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 28' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 28' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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, 07 Jan 2015 23:59:37 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, 07 Jan 2015 23:59:37 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 29' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 29' LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "29"], ["created_at", Wed, 07 Jan 2015 23:59:37 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, 07 Jan 2015 23:59:37 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Wed, 07 Jan 2015 23:59:37 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:59:37 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 9], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Wed, 07 Jan 2015 23:59:37 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:59:37 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Wed, 07 Jan 2015 23:59:37 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:59:37 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 30' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 30' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "30"], ["created_at", Wed, 07 Jan 2015 23:59:37 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, 07 Jan 2015 23:59:37 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.5ms)[0m 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, 07 Jan 2015 23:59:37 UTC +00:00], ["email", "test4@test.com"], ["name", "Factory User 4"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:59:37 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 31' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 31' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "31"], ["created_at", Wed, 07 Jan 2015 23:59:37 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, 07 Jan 2015 23:59:37 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 32' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 32' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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, 07 Jan 2015 23:59:37 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, 07 Jan 2015 23:59:37 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 14], ["coalescing_panda_lti_account_id", 3], ["created_at", Wed, 07 Jan 2015 23:59:37 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:59:37 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Wed, 07 Jan 2015 23:59:37 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:59:37 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_section_id", 4], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:59:37 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:59:37 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m 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", Wed, 07 Jan 2015 23:59:37 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Wed, 07 Jan 2015 23:59:37 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_enrollment_id", 4], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Wed, 07 Jan 2015 23:59:37 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Wed, 07 Jan 2015 23:59:37 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 (?, ?, ?, ?, ?, ?) [1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1 [1m[36m (0.8ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 33' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 33' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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, 07 Jan 2015 23:59:37 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, 07 Jan 2015 23:59:37 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 5], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 07 Jan 2015 23:59:37 UTC +00:00], ["email", "test5@test.com"], ["name", "Factory User 5"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:59:37 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 34' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 34' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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, 07 Jan 2015 23:59:37 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, 07 Jan 2015 23:59:37 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 35' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 35' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "35"], ["created_at", Wed, 07 Jan 2015 23:59:37 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, 07 Jan 2015 23:59:37 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m 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", Wed, 07 Jan 2015 23:59:37 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:59:37 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 11], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Wed, 07 Jan 2015 23:59:37 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:59:37 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m 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", Wed, 07 Jan 2015 23:59:37 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:59:37 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_enrollment_id", 5], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Wed, 07 Jan 2015 23:59:37 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Wed, 07 Jan 2015 23:59:37 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m 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", Wed, 07 Jan 2015 23:59:37 UTC +00:00], ["enrollment_type", "TeacherEnrollment"], ["updated_at", Wed, 07 Jan 2015 23:59:37 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (1.2ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 36' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 36' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "36"], ["created_at", Wed, 07 Jan 2015 23:59:37 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, 07 Jan 2015 23:59:37 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.6ms)[0m 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, 07 Jan 2015 23:59:37 UTC +00:00], ["email", "test6@test.com"], ["name", "Factory User 6"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:59:37 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 37' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 37' LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "37"], ["created_at", Wed, 07 Jan 2015 23:59:37 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, 07 Jan 2015 23:59:37 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 38' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 38' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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, 07 Jan 2015 23:59:37 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, 07 Jan 2015 23:59:37 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 16], ["coalescing_panda_lti_account_id", 3], ["created_at", Wed, 07 Jan 2015 23:59:37 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:59:37 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "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", Wed, 07 Jan 2015 23:59:37 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:59:37 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_section_id", 6], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:59:37 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:59:37 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (1.0ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mCoalescingPanda::LtiAccount Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 39' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 39' LIMIT 1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 40' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 40' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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, 07 Jan 2015 23:59:37 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, 07 Jan 2015 23:59:37 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 41' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 41' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "40"], ["created_at", Wed, 07 Jan 2015 23:59:37 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, 07 Jan 2015 23:59:37 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Wed, 07 Jan 2015 23:59:37 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:59:37 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 13], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Wed, 07 Jan 2015 23:59:37 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:59:37 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.6ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 42' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 42' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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, 07 Jan 2015 23:59:37 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, 07 Jan 2015 23:59:37 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 43' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 43' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "42"], ["created_at", Wed, 07 Jan 2015 23:59:38 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, 07 Jan 2015 23:59:38 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Wed, 07 Jan 2015 23:59:38 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 14], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.8ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 44' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 44' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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, 07 Jan 2015 23:59:38 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, 07 Jan 2015 23:59:38 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 45' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 45' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "44"], ["created_at", Wed, 07 Jan 2015 23:59:38 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, 07 Jan 2015 23:59:38 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Wed, 07 Jan 2015 23:59:38 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 15], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m 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", Wed, 07 Jan 2015 23:59:38 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_section_id", "1"], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:59:38 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 (?, ?, ?, ?) [1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1 [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 46' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 46' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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, 07 Jan 2015 23:59:38 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, 07 Jan 2015 23:59:38 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 47' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 47' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "46"], ["created_at", Wed, 07 Jan 2015 23:59:38 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, 07 Jan 2015 23:59:38 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Wed, 07 Jan 2015 23:59:38 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 16], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.8ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 48' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 48' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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, 07 Jan 2015 23:59:38 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, 07 Jan 2015 23:59:38 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.7ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 7], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00], ["email", "test7@test.com"], ["name", "Factory User 7"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 49' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 49' LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "coalescing_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, 07 Jan 2015 23:59:38 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, 07 Jan 2015 23:59:38 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 50' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 50' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "49"], ["created_at", Wed, 07 Jan 2015 23:59:38 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, 07 Jan 2015 23:59:38 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m 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", Wed, 07 Jan 2015 23:59:38 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 17], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_assignment_id", "3"], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00], ["name", "test assignment"], ["submission_types", nil], ["updated_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 51' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 51' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "50"], ["created_at", Wed, 07 Jan 2015 23:59:38 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, 07 Jan 2015 23:59:38 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.5ms)[0m 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, 07 Jan 2015 23:59:38 UTC +00:00], ["email", "test8@test.com"], ["name", "Factory User 8"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 52' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 52' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "51"], ["created_at", Wed, 07 Jan 2015 23:59:38 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, 07 Jan 2015 23:59:38 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 53' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 53' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:59:38 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", Wed, 07 Jan 2015 23:59:38 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 22], ["coalescing_panda_lti_account_id", 3], ["created_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "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", Wed, 07 Jan 2015 23:59:38 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_assignment_id", "4"], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00], ["name", "test assignment"], ["submission_types", nil], ["updated_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (1.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 54' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 54' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:59:38 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", Wed, 07 Jan 2015 23:59:38 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 9], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00], ["email", "test9@test.com"], ["name", "Factory User 9"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 55' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 55' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:59:38 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", Wed, 07 Jan 2015 23:59:38 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 56' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 56' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "55"], ["created_at", Wed, 07 Jan 2015 23:59:38 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", Wed, 07 Jan 2015 23:59:38 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m 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", Wed, 07 Jan 2015 23:59:38 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 19], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_assignment_id", "5"], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00], ["name", "test assignment"], ["submission_types", nil], ["updated_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 57' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 57' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "56"], ["created_at", Wed, 07 Jan 2015 23:59:38 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", Wed, 07 Jan 2015 23:59:38 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.7ms)[0m 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, 07 Jan 2015 23:59:38 UTC +00:00], ["email", "test10@test.com"], ["name", "Factory User 10"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 58' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 58' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "57"], ["created_at", Wed, 07 Jan 2015 23:59:38 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", Wed, 07 Jan 2015 23:59:38 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 59' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 59' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:59:38 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", Wed, 07 Jan 2015 23:59:38 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 24], ["coalescing_panda_lti_account_id", 3], ["created_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Wed, 07 Jan 2015 23:59:38 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_assignment_id", "6"], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00], ["name", "test assignment"], ["submission_types", nil], ["updated_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m 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", Wed, 07 Jan 2015 23:59:38 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["canvas_submission_id", "1"], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:59:38 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 (?, ?, ?, ?, ?) [1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1 [1m[36m (0.8ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 60' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 60' LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:59:38 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", Wed, 07 Jan 2015 23:59:38 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 11], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00], ["email", "test11@test.com"], ["name", "Factory User 11"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 61' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 61' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:59:38 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", Wed, 07 Jan 2015 23:59:38 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 62' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 62' LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "61"], ["created_at", Wed, 07 Jan 2015 23:59:38 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", Wed, 07 Jan 2015 23:59:38 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Wed, 07 Jan 2015 23:59:38 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 21], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_assignment_id", "7"], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00], ["name", "test assignment"], ["submission_types", nil], ["updated_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["canvas_submission_id", "1"], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Wed, 07 Jan 2015 23:59:38 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (1.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 63' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 63' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "62"], ["created_at", Wed, 07 Jan 2015 23:59:38 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", Wed, 07 Jan 2015 23:59:38 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.6ms)[0m 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, 07 Jan 2015 23:59:38 UTC +00:00], ["email", "test12@test.com"], ["name", "Factory User 12"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 64' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 64' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "63"], ["created_at", Wed, 07 Jan 2015 23:59:38 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", Wed, 07 Jan 2015 23:59:38 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 65' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 65' LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:59:38 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", Wed, 07 Jan 2015 23:59:38 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 26], ["coalescing_panda_lti_account_id", 3], ["created_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Wed, 07 Jan 2015 23:59:38 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_assignment_id", "8"], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00], ["name", "test assignment"], ["submission_types", nil], ["updated_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.8ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 66' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 66' LIMIT 1[0m [1m[35mSQL (0.7ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:59:38 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", Wed, 07 Jan 2015 23:59:38 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.5ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 67' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 67' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "66"], ["created_at", Wed, 07 Jan 2015 23:59:38 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", Wed, 07 Jan 2015 23:59:38 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.6ms)[0m 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", Wed, 07 Jan 2015 23:59:38 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:59:38 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 (?, ?, ?, ?) [1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1 [1m[36m (0.8ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 68' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 68' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:59:38 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", Wed, 07 Jan 2015 23:59:38 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.5ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 69' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 69' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "68"], ["created_at", Wed, 07 Jan 2015 23:59:38 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", Wed, 07 Jan 2015 23:59:38 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.4ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 70' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 70' LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:59:38 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", Wed, 07 Jan 2015 23:59:38 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00], ["email", "test15@test.com"], ["name", "Factory User 15"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m 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, 07 Jan 2015 23:59:38 UTC +00:00], ["email", "test16@test.com"], ["name", "Factory User 16"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:59:38 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 (?, ?, ?, ?, ?, ?, ?) [1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 71' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 71' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "70"], ["created_at", Wed, 07 Jan 2015 23:59:38 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", Wed, 07 Jan 2015 23:59:38 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.3ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 72' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 72' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:59:38 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", Wed, 07 Jan 2015 23:59:38 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 73' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 73' LIMIT 1 [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "72"], ["created_at", Wed, 07 Jan 2015 23:59:38 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", Wed, 07 Jan 2015 23:59:38 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m 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", Wed, 07 Jan 2015 23:59:38 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 23], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.9ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 74' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 74' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "73"], ["created_at", Wed, 07 Jan 2015 23:59:38 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", Wed, 07 Jan 2015 23:59:38 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 75' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 75' LIMIT 1[0m [1m[35mSQL (0.6ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:59:38 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", Wed, 07 Jan 2015 23:59:38 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 29], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Wed, 07 Jan 2015 23:59:38 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.8ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 76' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 76' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:59:38 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", Wed, 07 Jan 2015 23:59:38 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 77' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 77' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "76"], ["created_at", Wed, 07 Jan 2015 23:59:38 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", Wed, 07 Jan 2015 23:59:38 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Wed, 07 Jan 2015 23:59:38 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 25], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mUPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1[0m [["status", "Started"], ["updated_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::Section Load (0.2ms)[0m [1mSELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00], ["name", "Course1"], ["updated_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 20.0], ["updated_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::User Load (0.1ms)[0m 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]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "coalescing_panda_users" ("canvas_user_id", "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, 07 Jan 2015 23:59:38 UTC +00:00], ["name", "teacher@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::User Load (0.1ms)[0m 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]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_users" ("canvas_user_id", "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, 07 Jan 2015 23:59:38 UTC +00:00], ["name", "student1@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::User Load (0.1ms)[0m 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]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_users" ("canvas_user_id", "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, 07 Jan 2015 23:59:38 UTC +00:00], ["name", "student2@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mUPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1[0m [["percent_complete", 40.0], ["updated_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::Enrollment Load (0.1ms)[0m [1mSELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '1') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35mCoalescingPanda::User Load (0.1ms)[0m SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '1' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] [1m[36mCoalescingPanda::Section Load (0.1ms)[0m [1mSELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["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"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::Enrollment Load (0.1ms)[0m [1mSELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '2') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35mCoalescingPanda::User Load (0.1ms)[0m SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] [1m[36mCoalescingPanda::Section Load (0.0ms)[0m [1mSELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["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"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::Enrollment Load (0.2ms)[0m [1mSELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '3') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35mCoalescingPanda::User Load (0.1ms)[0m SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] [1m[36mCoalescingPanda::Section Load (0.1ms)[0m [1mSELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["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"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 60.0], ["updated_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Assignment Load (0.1ms)[0m SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "grade_group_students_individually", "name", "points_possible", "published", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 18:04:38 UTC +00:00], ["description", "What is your name?
"], ["grade_group_students_individually", false], ["name", "Gimme your name"], ["points_possible", 100.0], ["published", true], ["submission_types", "---\n- online_text_entry\n"], ["updated_at", Tue, 18 Nov 2014 18:04:42 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Assignment Load (0.1ms)[0m SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "grade_group_students_individually", "name", "points_possible", "published", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 19:10:28 UTC +00:00], ["description", "What is your Favorite Color?
"], ["grade_group_students_individually", false], ["name", "Favorite Color"], ["points_possible", 100.0], ["published", true], ["submission_types", "---\n- online_text_entry\n"], ["updated_at", Tue, 18 Nov 2014 19:10:30 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mUPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1[0m [["percent_complete", 80.0], ["updated_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::Assignment Load (0.1ms)[0m [1mSELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ?[0m [["coalescing_panda_course_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mUPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1[0m [["percent_complete", 100.0], ["updated_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 120.0], ["updated_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mUPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1[0m [["percent_complete", 140.0], ["updated_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Wed, 07 Jan 2015 23:59:38 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (1.2ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 78' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 78' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "77"], ["created_at", Wed, 07 Jan 2015 23:59:38 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", Wed, 07 Jan 2015 23:59:38 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 79' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 79' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:59:38 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", Wed, 07 Jan 2015 23:59:38 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 31], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Wed, 07 Jan 2015 23:59:38 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 80' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 80' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:59:38 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", Wed, 07 Jan 2015 23:59:38 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 81' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 81' LIMIT 1 [1m[36mSQL (0.7ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "80"], ["created_at", Wed, 07 Jan 2015 23:59:38 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", Wed, 07 Jan 2015 23:59:38 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m 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", Wed, 07 Jan 2015 23:59:38 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 27], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.8ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mCoalescingPanda::Section Load (0.2ms)[0m SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 82' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 82' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:59:38 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", Wed, 07 Jan 2015 23:59:38 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 83' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 83' LIMIT 1 [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "82"], ["created_at", Wed, 07 Jan 2015 23:59:38 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", Wed, 07 Jan 2015 23:59:38 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m 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", Wed, 07 Jan 2015 23:59:38 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 28], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Section Load (0.0ms)[0m SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_sections" ("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, 07 Jan 2015 23:59:38 UTC +00:00], ["name", "Course1"], ["updated_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "coalescing_panda_sections" [1m[36m (0.8ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mCoalescingPanda::User Load (0.1ms)[0m [1mSELECT "coalescing_panda_users".* FROM "coalescing_panda_users"[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 84' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 84' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "83"], ["created_at", Wed, 07 Jan 2015 23:59:38 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", Wed, 07 Jan 2015 23:59:38 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 85' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 85' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:59:38 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", Wed, 07 Jan 2015 23:59:38 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 34], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Wed, 07 Jan 2015 23:59:38 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::User Load (0.1ms)[0m [1mSELECT "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[0m [["coalescing_panda_lti_account_id", 1]] [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00], ["name", "teacher@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::User Load (0.0ms)[0m [1mSELECT "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[0m [["coalescing_panda_lti_account_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00], ["name", "student1@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::User Load (0.0ms)[0m [1mSELECT "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[0m [["coalescing_panda_lti_account_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00], ["name", "student2@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "coalescing_panda_users"[0m [1m[35m (1.2ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mCoalescingPanda::Enrollment Load (0.2ms)[0m SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 86' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 86' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:59:38 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", Wed, 07 Jan 2015 23:59:38 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (52.9ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 87' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 87' LIMIT 1 [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "86"], ["created_at", Wed, 07 Jan 2015 23:59:38 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", Wed, 07 Jan 2015 23:59:38 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Wed, 07 Jan 2015 23:59:38 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 30], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Section Load (0.0ms)[0m SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_sections" ("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, 07 Jan 2015 23:59:38 UTC +00:00], ["name", "Course1"], ["updated_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::User Load (0.0ms)[0m 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]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_users" ("canvas_user_id", "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, 07 Jan 2015 23:59:38 UTC +00:00], ["name", "teacher@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::User Load (0.0ms)[0m 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]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "coalescing_panda_users" ("canvas_user_id", "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, 07 Jan 2015 23:59:38 UTC +00:00], ["name", "student1@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::User Load (0.0ms)[0m 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]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_users" ("canvas_user_id", "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, 07 Jan 2015 23:59:38 UTC +00:00], ["name", "student2@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Enrollment Load (0.0ms)[0m SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '1') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36mCoalescingPanda::User Load (0.0ms)[0m [1mSELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '1' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1[0m [["coalescing_panda_lti_account_id", 1]] [1m[35mCoalescingPanda::Section Load (0.0ms)[0m SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_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"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Enrollment Load (0.0ms)[0m SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '2') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36mCoalescingPanda::User Load (0.0ms)[0m [1mSELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1[0m [["coalescing_panda_lti_account_id", 1]] [1m[35mCoalescingPanda::Section Load (0.0ms)[0m SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_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"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Enrollment Load (0.0ms)[0m SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '3') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36mCoalescingPanda::User Load (0.0ms)[0m [1mSELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1[0m [["coalescing_panda_lti_account_id", 1]] [1m[35mCoalescingPanda::Section Load (0.0ms)[0m SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_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"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "coalescing_panda_enrollments" [1m[36mCoalescingPanda::Enrollment Load (0.1ms)[0m [1mSELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" ORDER BY "coalescing_panda_enrollments"."id" DESC LIMIT 1[0m [1m[35m (1.2ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mCoalescingPanda::Assignment Load (0.2ms)[0m SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 88' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 88' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:59:38 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", Wed, 07 Jan 2015 23:59:38 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 89' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 89' LIMIT 1 [1m[36mSQL (0.8ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "88"], ["created_at", Wed, 07 Jan 2015 23:59:38 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", Wed, 07 Jan 2015 23:59:38 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m 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", Wed, 07 Jan 2015 23:59:38 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 31], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Assignment Load (0.0ms)[0m SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "grade_group_students_individually", "name", "points_possible", "published", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 18:04:38 UTC +00:00], ["description", "What is your name?
"], ["grade_group_students_individually", false], ["name", "Gimme your name"], ["points_possible", 100.0], ["published", true], ["submission_types", "---\n- online_text_entry\n"], ["updated_at", Tue, 18 Nov 2014 18:04:42 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Assignment Load (0.0ms)[0m SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "grade_group_students_individually", "name", "points_possible", "published", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 19:10:28 UTC +00:00], ["description", "What is your Favorite Color?
"], ["grade_group_students_individually", false], ["name", "Favorite Color"], ["points_possible", 100.0], ["published", true], ["submission_types", "---\n- online_text_entry\n"], ["updated_at", Tue, 18 Nov 2014 19:10:30 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "coalescing_panda_assignments" [1m[36m (0.9ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mCoalescingPanda::Submission Load (0.1ms)[0m [1mSELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions"[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 90' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 90' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "89"], ["created_at", Wed, 07 Jan 2015 23:59:38 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", Wed, 07 Jan 2015 23:59:38 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 91' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 91' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:59:38 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", Wed, 07 Jan 2015 23:59:38 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 37], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Wed, 07 Jan 2015 23:59:38 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::User Load (0.0ms)[0m [1mSELECT "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[0m [["coalescing_panda_lti_account_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00], ["name", "teacher@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::User Load (0.0ms)[0m [1mSELECT "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[0m [["coalescing_panda_lti_account_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00], ["name", "student1@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::User Load (0.0ms)[0m [1mSELECT "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[0m [["coalescing_panda_lti_account_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00], ["name", "student2@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::Assignment Load (0.0ms)[0m [1mSELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "grade_group_students_individually", "name", "points_possible", "published", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_assignment_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 18:04:38 UTC +00:00], ["description", "What is your name?
"], ["grade_group_students_individually", false], ["name", "Gimme your name"], ["points_possible", 100.0], ["published", true], ["submission_types", "---\n- online_text_entry\n"], ["updated_at", Tue, 18 Nov 2014 18:04:42 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::Assignment Load (0.0ms)[0m [1mSELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "grade_group_students_individually", "name", "points_possible", "published", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_assignment_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 19:10:28 UTC +00:00], ["description", "What is your Favorite Color?
"], ["grade_group_students_individually", false], ["name", "Favorite Color"], ["points_possible", 100.0], ["published", true], ["submission_types", "---\n- online_text_entry\n"], ["updated_at", Tue, 18 Nov 2014 19:10:30 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::Submission Load (0.1ms)[0m [1mSELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '3') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35mCoalescingPanda::User Load (0.0ms)[0m SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] [1m[36mCoalescingPanda::Assignment Load (0.2ms)[0m [1mSELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_submission_id", 3], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 3], ["created_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00], ["grade", "70"], ["score", 70], ["updated_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00], ["workflow_state", "graded"]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::Submission Load (0.1ms)[0m [1mSELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '1') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35mCoalescingPanda::User Load (0.0ms)[0m SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] [1m[36mCoalescingPanda::Assignment Load (0.1ms)[0m [1mSELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_submission_id", 1], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 2], ["created_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00], ["grade", "100"], ["score", 100], ["updated_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00], ["workflow_state", "graded"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::Submission Load (0.2ms)[0m [1mSELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '4') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35mCoalescingPanda::User Load (0.0ms)[0m SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] [1m[36mCoalescingPanda::Assignment Load (0.1ms)[0m [1mSELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_submission_id", 4], ["coalescing_panda_assignment_id", 2], ["coalescing_panda_user_id", 3], ["created_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00], ["grade", "90"], ["score", 90], ["updated_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00], ["workflow_state", "graded"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::Submission Load (0.1ms)[0m [1mSELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '2') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35mCoalescingPanda::User Load (0.1ms)[0m SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] [1m[36mCoalescingPanda::Assignment Load (0.0ms)[0m [1mSELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_submission_id", 2], ["coalescing_panda_assignment_id", 2], ["coalescing_panda_user_id", 2], ["created_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00], ["grade", "80"], ["score", 80], ["updated_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00], ["workflow_state", "graded"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "coalescing_panda_submissions"[0m [1m[35m (1.0ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 92' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 92' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "91"], ["created_at", Wed, 07 Jan 2015 23:59:38 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", Wed, 07 Jan 2015 23:59:38 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 93' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 93' LIMIT 1[0m [1m[35mSQL (0.6ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:59:38 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", Wed, 07 Jan 2015 23:59:38 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 38], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Wed, 07 Jan 2015 23:59:38 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.8ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 94' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 94' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:59:38 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", Wed, 07 Jan 2015 23:59:38 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 95' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 95' LIMIT 1 [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "94"], ["created_at", Wed, 07 Jan 2015 23:59:38 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", Wed, 07 Jan 2015 23:59:38 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Wed, 07 Jan 2015 23:59:38 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 34], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.6ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 96' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 96' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "95"], ["created_at", Wed, 07 Jan 2015 23:59:38 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", Wed, 07 Jan 2015 23:59:38 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 97' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 97' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:59:38 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", Wed, 07 Jan 2015 23:59:38 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 40], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Wed, 07 Jan 2015 23:59:38 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.6ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 98' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 98' LIMIT 1[0m [1m[35mSQL (0.7ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:59:38 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", Wed, 07 Jan 2015 23:59:38 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 99' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 99' LIMIT 1 [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "98"], ["created_at", Wed, 07 Jan 2015 23:59:38 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", Wed, 07 Jan 2015 23:59:38 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m 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", Wed, 07 Jan 2015 23:59:38 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 36], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (1.0ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 100' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 100' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "99"], ["created_at", Wed, 07 Jan 2015 23:59:38 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", Wed, 07 Jan 2015 23:59:38 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 101' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 101' LIMIT 1[0m [1m[35mSQL (0.6ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:59:38 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", Wed, 07 Jan 2015 23:59:38 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 42], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "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", Wed, 07 Jan 2015 23:59:38 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (1.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.2ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 102' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 102' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:59:38 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", Wed, 07 Jan 2015 23:59:38 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 103' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 103' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "102"], ["created_at", Wed, 07 Jan 2015 23:59:38 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", Wed, 07 Jan 2015 23:59:38 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Wed, 07 Jan 2015 23:59:38 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 38], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.8ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 104' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 104' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "103"], ["created_at", Wed, 07 Jan 2015 23:59:38 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", Wed, 07 Jan 2015 23:59:38 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 105' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 105' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:59:38 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", Wed, 07 Jan 2015 23:59:38 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 44], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Wed, 07 Jan 2015 23:59:38 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (1.0ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 106' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 106' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:59:38 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", Wed, 07 Jan 2015 23:59:38 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 107' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 107' LIMIT 1 [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "106"], ["created_at", Wed, 07 Jan 2015 23:59:38 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", Wed, 07 Jan 2015 23:59:38 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Wed, 07 Jan 2015 23:59:38 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 40], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.8ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 108' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 108' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "107"], ["created_at", Wed, 07 Jan 2015 23:59:38 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", Wed, 07 Jan 2015 23:59:38 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 109' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 109' LIMIT 1[0m [1m[35mSQL (0.6ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:59:38 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", Wed, 07 Jan 2015 23:59:38 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 46], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Wed, 07 Jan 2015 23:59:38 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.8ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 110' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 110' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:59:38 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", Wed, 07 Jan 2015 23:59:38 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 111' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 111' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "110"], ["created_at", Wed, 07 Jan 2015 23:59:38 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", Wed, 07 Jan 2015 23:59:38 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Wed, 07 Jan 2015 23:59:38 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 42], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Wed, 07 Jan 2015 23:59:38 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 112' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 112' LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "111"], ["created_at", Wed, 07 Jan 2015 23:59:38 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", Wed, 07 Jan 2015 23:59:38 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 113' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 113' LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:59:38 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", Wed, 07 Jan 2015 23:59:38 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 48], ["coalescing_panda_lti_account_id", 4], ["created_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Wed, 07 Jan 2015 23:59:38 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::Course Load (0.1ms)[0m [1mSELECT "coalescing_panda_courses".* FROM "coalescing_panda_courses" WHERE "coalescing_panda_courses"."id" = ? LIMIT 1[0m [["id", 2]] [1m[35mSQL (0.2ms)[0m 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, 07 Jan 2015 23:59:38 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m 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", Wed, 07 Jan 2015 23:59:38 UTC +00:00], ["email", "test18@test.com"], ["name", "Factory User 18"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::User Load (0.1ms)[0m 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]] [1m[36mCoalescingPanda::Section Load (0.1ms)[0m [1mSELECT "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[0m [["coalescing_panda_course_id", 2]] [1m[35m (1.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 114' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 114' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "113"], ["created_at", Wed, 07 Jan 2015 23:59:38 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", Wed, 07 Jan 2015 23:59:38 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 115' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 115' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:59:38 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", Wed, 07 Jan 2015 23:59:38 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 49], ["coalescing_panda_lti_account_id", 2], ["created_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "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", Wed, 07 Jan 2015 23:59:38 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 116' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 116' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Wed, 07 Jan 2015 23:59:38 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", Wed, 07 Jan 2015 23:59:38 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 117' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 117' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "116"], ["created_at", Wed, 07 Jan 2015 23:59:38 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", Wed, 07 Jan 2015 23:59:38 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Wed, 07 Jan 2015 23:59:38 UTC +00:00], ["updated_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 45], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00], ["name", "Test Course"], ["updated_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_assignment_id", "9"], ["coalescing_panda_course_id", 1], ["created_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00], ["name", "test assignment"], ["submission_types", nil], ["updated_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00], ["status", "Queued"], ["updated_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m 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", Wed, 07 Jan 2015 23:59:38 UTC +00:00], ["email", "test19@test.com"], ["name", "Factory User 19"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Wed, 07 Jan 2015 23:59:38 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::User Load (0.1ms)[0m 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]] [1m[36mCoalescingPanda::Assignment Load (0.2ms)[0m [1mSELECT "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[0m [["coalescing_panda_course_id", 1]] [1m[35m (0.9ms)[0m rollback transaction [1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m [1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations" [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m Processing by CoalescingPanda::LtiController#lti_config as HTML Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m Processing by CoalescingPanda::LtiController#lti_config as HTML Completed 500 Internal Server Error in 1ms [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m Processing by CoalescingPanda::Oauth2Controller#redirect as HTML Parameters: {"user_id"=>"1", "api_domain"=>"foo.com", "code"=>"bar"} Completed 200 OK in 5ms (Views: 5.2ms | ActiveRecord: 0.0ms) [1m[35mCoalescingPanda::CanvasApiAuth Load (0.1ms)[0m 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 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction Processing by CoalescingPanda::Oauth2Controller#redirect as HTML Parameters: {"error"=>"your face"} Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "coalescing_panda_canvas_api_auths"[0m [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 1' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 1' LIMIT 1 [1m[36mSQL (2.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "1"], ["created_at", Thu, 08 Jan 2015 00:00: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", Thu, 08 Jan 2015 00:00:11 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 2' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 2' LIMIT 1[0m [1m[35mSQL (1.1ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:00: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", Thu, 08 Jan 2015 00:00:11 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 1], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:00:11 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:00:11 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 00:00:11 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:00:11 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.6ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 3' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 3' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "3"], ["created_at", Thu, 08 Jan 2015 00:00: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", Thu, 08 Jan 2015 00:00:11 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 4' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 4' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:00: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", Thu, 08 Jan 2015 00:00:11 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 2], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:00:11 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:00:11 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 00:00:11 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:00:11 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.6ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 5' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 5' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "5"], ["created_at", Thu, 08 Jan 2015 00:00: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", Thu, 08 Jan 2015 00:00:11 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 6' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 6' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:00: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", Thu, 08 Jan 2015 00:00:11 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 3], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:00:11 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:00:11 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 00:00:11 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:00:11 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_assignment_id", "1"], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 00:00:11 UTC +00:00], ["name", "test assignment"], ["submission_types", nil], ["updated_at", Thu, 08 Jan 2015 00:00:11 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_assignment_id", "1"], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 00:00:11 UTC +00:00], ["name", "test assignment"], ["submission_types", nil], ["updated_at", Thu, 08 Jan 2015 00:00:11 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", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 7' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 7' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "7"], ["created_at", Thu, 08 Jan 2015 00:00:11 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", Thu, 08 Jan 2015 00:00:11 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 8' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 8' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:00:11 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", Thu, 08 Jan 2015 00:00:11 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 4], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:00:11 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:00:11 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 00:00:11 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:00:11 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.6ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mCoalescingPanda::CanvasApiAuth Load (0.1ms)[0m SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" ORDER BY "coalescing_panda_canvas_api_auths"."id" ASC LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.6ms)[0m INSERT INTO "coalescing_panda_canvas_api_auths" ("created_at", "updated_at", "user_id") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 00:00:11 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:00:11 UTC +00:00], ["user_id", "a"]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::CanvasApiAuth Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1 [1m[36mCoalescingPanda::CanvasApiAuth Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1[0m [1m[35mCoalescingPanda::CanvasApiAuth Load (0.1ms)[0m SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" [1m[36mCoalescingPanda::CanvasApiAuth Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" = '1') LIMIT 1[0m [1m[35mCoalescingPanda::CanvasApiAuth Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" = '1') LIMIT 1 [1m[36m (0.4ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mCoalescingPanda::CanvasApiAuth Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1[0m [1m[35mCoalescingPanda::CanvasApiAuth Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1 [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mCoalescingPanda::CanvasApiAuth Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1[0m [1m[35mCoalescingPanda::CanvasApiAuth Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1 [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 00:00:11 UTC +00:00], ["status", "Pending"], ["updated_at", Thu, 08 Jan 2015 00:00:11 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Thu, 08 Jan 2015 00:00:11 UTC +00:00], ["status", "Pending"], ["updated_at", Thu, 08 Jan 2015 00:00:11 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 00:00:11 UTC +00:00], ["status", "Pending"], ["updated_at", Thu, 08 Jan 2015 00:00:11 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::CanvasBatch Load (0.1ms)[0m SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" ORDER BY created_at DESC [1m[36m (0.6ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 9' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 9' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:00:11 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", Thu, 08 Jan 2015 00:00:11 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 10' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 10' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "10"], ["created_at", Thu, 08 Jan 2015 00:00:11 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", Thu, 08 Jan 2015 00:00:11 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 00:00:11 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:00:11 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.6ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 11' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 11' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "11"], ["created_at", Thu, 08 Jan 2015 00:00:11 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", Thu, 08 Jan 2015 00:00:11 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 12' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 12' LIMIT 1[0m [1m[35mSQL (0.6ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:00:11 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", Thu, 08 Jan 2015 00:00:11 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 6], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:00:11 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:00:11 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.6ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.2ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 13' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 13' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:00:11 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", Thu, 08 Jan 2015 00:00:11 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 14' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 14' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "14"], ["created_at", Thu, 08 Jan 2015 00:00:11 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", Thu, 08 Jan 2015 00:00:11 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 00:00:11 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:00:11 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 00:00:11 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:00:11 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 15' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 15' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:00:11 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", Thu, 08 Jan 2015 00:00:11 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 8], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 00:00:11 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:00:11 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 00:00:11 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:00:11 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 (?, ?, ?, ?, ?, ?) [1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 16' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 16' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "16"], ["created_at", Thu, 08 Jan 2015 00:00:11 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", Thu, 08 Jan 2015 00:00:11 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.5ms)[0m 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", Thu, 08 Jan 2015 00:00:11 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:00:11 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 17' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 17' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "17"], ["created_at", Thu, 08 Jan 2015 00:00:11 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", Thu, 08 Jan 2015 00:00:11 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 00:00:11 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:00:11 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 18' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 18' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "18"], ["created_at", Thu, 08 Jan 2015 00:00:11 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", Thu, 08 Jan 2015 00:00:11 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 00:00:11 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:00:11 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 (?, ?, ?, ?, ?, ?) [1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 19' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 19' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "19"], ["created_at", Thu, 08 Jan 2015 00:00:11 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", Thu, 08 Jan 2015 00:00:11 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 20' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 20' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:00:11 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", Thu, 08 Jan 2015 00:00:11 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 10], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:00:11 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:00:11 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.9ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 21' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 21' LIMIT 1[0m [1m[35mSQL (0.6ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:00:11 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", Thu, 08 Jan 2015 00:00:11 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 00:00:11 UTC +00:00], ["email", "test1@test.com"], ["name", "Factory User 1"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 00:00:11 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 22' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 22' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:00:11 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", Thu, 08 Jan 2015 00:00:11 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 23' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 23' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "23"], ["created_at", Thu, 08 Jan 2015 00:00:11 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", Thu, 08 Jan 2015 00:00:11 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 00:00:11 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:00:11 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 7], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 00:00:11 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:00:11 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m 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", Thu, 08 Jan 2015 00:00:11 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:00:11 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.8ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 24' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 24' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "24"], ["created_at", Thu, 08 Jan 2015 00:00:11 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", Thu, 08 Jan 2015 00:00:11 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.6ms)[0m 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", Thu, 08 Jan 2015 00:00:11 UTC +00:00], ["email", "test2@test.com"], ["name", "Factory User 2"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 00:00:11 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 25' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 25' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "25"], ["created_at", Thu, 08 Jan 2015 00:00:11 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", Thu, 08 Jan 2015 00:00:11 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 26' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 26' LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:00:11 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", Thu, 08 Jan 2015 00:00:11 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 12], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 00:00:11 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:00:11 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 00:00:11 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:00:11 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_section_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 00:00:11 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:00:11 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 27' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 27' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:00:11 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", Thu, 08 Jan 2015 00:00:11 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 00:00:11 UTC +00:00], ["email", "test3@test.com"], ["name", "Factory User 3"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 00:00:11 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 28' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 28' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:00:11 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", Thu, 08 Jan 2015 00:00:11 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 29' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 29' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "29"], ["created_at", Thu, 08 Jan 2015 00:00:11 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", Thu, 08 Jan 2015 00:00:11 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 00:00:11 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:00:11 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 9], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 00:00:11 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:00:11 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 00:00:11 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:00:11 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 30' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 30' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "30"], ["created_at", Thu, 08 Jan 2015 00:00:11 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", Thu, 08 Jan 2015 00:00:11 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.6ms)[0m 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", Thu, 08 Jan 2015 00:00:11 UTC +00:00], ["email", "test4@test.com"], ["name", "Factory User 4"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 00:00:11 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 31' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 31' LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "31"], ["created_at", Thu, 08 Jan 2015 00:00:11 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", Thu, 08 Jan 2015 00:00:11 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 32' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 32' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:00:11 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", Thu, 08 Jan 2015 00:00:11 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 14], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 00:00:11 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:00:11 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 00:00:11 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:00:11 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_section_id", 4], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 00:00:11 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:00:11 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m 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", Thu, 08 Jan 2015 00:00:11 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Thu, 08 Jan 2015 00:00:11 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_enrollment_id", 4], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Thu, 08 Jan 2015 00:00:11 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Thu, 08 Jan 2015 00:00:11 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 (?, ?, ?, ?, ?, ?) [1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1 [1m[36m (0.6ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 33' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 33' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:00:11 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", Thu, 08 Jan 2015 00:00:11 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 5], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 00:00:11 UTC +00:00], ["email", "test5@test.com"], ["name", "Factory User 5"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 00:00:11 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 34' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 34' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:00:11 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", Thu, 08 Jan 2015 00:00:11 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 35' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 35' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "35"], ["created_at", Thu, 08 Jan 2015 00:00:11 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", Thu, 08 Jan 2015 00:00:11 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 00:00:11 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:00:11 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 11], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 00:00:11 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:00:11 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 00:00:11 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:00:11 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_enrollment_id", 5], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Thu, 08 Jan 2015 00:00:11 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Thu, 08 Jan 2015 00:00:11 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m 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", Thu, 08 Jan 2015 00:00:11 UTC +00:00], ["enrollment_type", "TeacherEnrollment"], ["updated_at", Thu, 08 Jan 2015 00:00:11 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 36' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 36' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "36"], ["created_at", Thu, 08 Jan 2015 00:00:11 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", Thu, 08 Jan 2015 00:00:11 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.5ms)[0m 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", Thu, 08 Jan 2015 00:00:11 UTC +00:00], ["email", "test6@test.com"], ["name", "Factory User 6"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 00:00:11 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 37' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 37' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "37"], ["created_at", Thu, 08 Jan 2015 00:00:11 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", Thu, 08 Jan 2015 00:00:11 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 38' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 38' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:00:11 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", Thu, 08 Jan 2015 00:00:11 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 16], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 00:00:11 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:00:11 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 00:00:11 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:00:11 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_section_id", 6], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 00:00:12 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:00:12 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.9ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 39' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 39' LIMIT 1 [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 40' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 40' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:00: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", Thu, 08 Jan 2015 00:00:12 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 41' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 41' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "40"], ["created_at", Thu, 08 Jan 2015 00:00: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", Thu, 08 Jan 2015 00:00:12 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 00:00:12 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:00:12 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 13], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 00:00:12 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:00:12 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.9ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.2ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 42' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 42' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:00: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", Thu, 08 Jan 2015 00:00:12 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 43' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 43' LIMIT 1 [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "42"], ["created_at", Thu, 08 Jan 2015 00:00: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", Thu, 08 Jan 2015 00:00:12 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 00:00:12 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:00:12 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 14], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 00:00:12 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:00:12 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.9ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 44' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 44' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:00: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", Thu, 08 Jan 2015 00:00:12 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 45' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 45' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "44"], ["created_at", Thu, 08 Jan 2015 00:00: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", Thu, 08 Jan 2015 00:00:12 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 00:00:12 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:00:12 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 15], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 00:00:12 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:00:12 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m 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", Thu, 08 Jan 2015 00:00:12 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:00:12 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_section_id", "1"], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 00:00:12 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:00:12 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 (?, ?, ?, ?) [1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1 [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 46' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 46' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:00: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", Thu, 08 Jan 2015 00:00:12 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 47' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 47' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "46"], ["created_at", Thu, 08 Jan 2015 00:00: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", Thu, 08 Jan 2015 00:00:12 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 00:00:12 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:00:12 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 16], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 00:00:12 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:00:12 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.8ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 48' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 48' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:00: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", Thu, 08 Jan 2015 00:00:12 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 7], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 00:00:12 UTC +00:00], ["email", "test7@test.com"], ["name", "Factory User 7"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 00:00:12 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 49' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 49' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:00: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", Thu, 08 Jan 2015 00:00:12 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 50' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 50' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "49"], ["created_at", Thu, 08 Jan 2015 00:00: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", Thu, 08 Jan 2015 00:00:12 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 00:00:12 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:00:12 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 17], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 00:00:12 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:00:12 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_assignment_id", "3"], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 00:00:12 UTC +00:00], ["name", "test assignment"], ["submission_types", nil], ["updated_at", Thu, 08 Jan 2015 00:00:12 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 51' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 51' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "50"], ["created_at", Thu, 08 Jan 2015 00:00: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", Thu, 08 Jan 2015 00:00:12 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.5ms)[0m 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", Thu, 08 Jan 2015 00:00:12 UTC +00:00], ["email", "test8@test.com"], ["name", "Factory User 8"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 00:00:12 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 52' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 52' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "51"], ["created_at", Thu, 08 Jan 2015 00:00: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", Thu, 08 Jan 2015 00:00:12 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 53' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 53' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:00: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", Thu, 08 Jan 2015 00:00:12 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 22], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 00:00:12 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:00:12 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 00:00:12 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:00:12 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_assignment_id", "4"], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 00:00:12 UTC +00:00], ["name", "test assignment"], ["submission_types", nil], ["updated_at", Thu, 08 Jan 2015 00:00:12 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (1.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 54' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 54' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:00: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", Thu, 08 Jan 2015 00:00:12 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 9], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 00:00:12 UTC +00:00], ["email", "test9@test.com"], ["name", "Factory User 9"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 00:00:12 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 55' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 55' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:00: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", Thu, 08 Jan 2015 00:00:12 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 56' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 56' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "55"], ["created_at", Thu, 08 Jan 2015 00:00: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", Thu, 08 Jan 2015 00:00:12 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 00:00:12 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:00:12 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 19], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 00:00:12 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:00:12 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_assignment_id", "5"], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 00:00:12 UTC +00:00], ["name", "test assignment"], ["submission_types", nil], ["updated_at", Thu, 08 Jan 2015 00:00:12 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 57' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 57' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "56"], ["created_at", Thu, 08 Jan 2015 00:00: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", Thu, 08 Jan 2015 00:00:12 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.5ms)[0m 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", Thu, 08 Jan 2015 00:00:12 UTC +00:00], ["email", "test10@test.com"], ["name", "Factory User 10"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 00:00:12 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 58' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 58' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "57"], ["created_at", Thu, 08 Jan 2015 00:00: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", Thu, 08 Jan 2015 00:00:12 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 59' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 59' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:00: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", Thu, 08 Jan 2015 00:00:12 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 24], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 00:00:12 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:00:12 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 00:00:12 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:00:12 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_assignment_id", "6"], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 00:00:12 UTC +00:00], ["name", "test assignment"], ["submission_types", nil], ["updated_at", Thu, 08 Jan 2015 00:00:12 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m 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", Thu, 08 Jan 2015 00:00:12 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:00:12 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["canvas_submission_id", "1"], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Thu, 08 Jan 2015 00:00:12 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:00:12 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 (?, ?, ?, ?, ?) [1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1 [1m[36m (1.0ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.2ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 60' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 60' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:00: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", Thu, 08 Jan 2015 00:00:12 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 11], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 00:00:12 UTC +00:00], ["email", "test11@test.com"], ["name", "Factory User 11"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 00:00:12 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 61' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 61' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:00: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", Thu, 08 Jan 2015 00:00:12 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 62' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 62' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "61"], ["created_at", Thu, 08 Jan 2015 00:00: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", Thu, 08 Jan 2015 00:00:12 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 00:00:12 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:00:12 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 21], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 00:00:12 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:00:12 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_assignment_id", "7"], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 00:00:12 UTC +00:00], ["name", "test assignment"], ["submission_types", nil], ["updated_at", Thu, 08 Jan 2015 00:00:12 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["canvas_submission_id", "1"], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Thu, 08 Jan 2015 00:00:12 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:00:12 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m 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", Thu, 08 Jan 2015 00:00:12 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:00:12 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.8ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 63' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 63' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "62"], ["created_at", Thu, 08 Jan 2015 00:00: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", Thu, 08 Jan 2015 00:00:12 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.5ms)[0m 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", Thu, 08 Jan 2015 00:00:12 UTC +00:00], ["email", "test12@test.com"], ["name", "Factory User 12"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 00:00:12 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 64' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 64' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "63"], ["created_at", Thu, 08 Jan 2015 00:00: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", Thu, 08 Jan 2015 00:00:12 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 65' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 65' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:00: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", Thu, 08 Jan 2015 00:00:12 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 26], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 00:00:12 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:00:12 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 00:00:12 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:00:12 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_assignment_id", "8"], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 00:00:12 UTC +00:00], ["name", "test assignment"], ["submission_types", nil], ["updated_at", Thu, 08 Jan 2015 00:00:12 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.6ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.2ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 66' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 66' LIMIT 1[0m [1m[35mSQL (0.6ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:00: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", Thu, 08 Jan 2015 00:00:12 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.4ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 67' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 67' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "66"], ["created_at", Thu, 08 Jan 2015 00:00: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", Thu, 08 Jan 2015 00:00:12 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.6ms)[0m 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", Thu, 08 Jan 2015 00:00:12 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:00:12 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 00:00:12 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:00: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 (?, ?, ?, ?) [1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1 [1m[36m (0.8ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 68' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 68' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:00: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", Thu, 08 Jan 2015 00:00:12 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.4ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 69' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 69' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "68"], ["created_at", Thu, 08 Jan 2015 00:00: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", Thu, 08 Jan 2015 00:00:12 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.3ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 70' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 70' LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:00: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", Thu, 08 Jan 2015 00:00:12 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 00:00:12 UTC +00:00], ["email", "test15@test.com"], ["name", "Factory User 15"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 00:00:12 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m 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", Thu, 08 Jan 2015 00:00:12 UTC +00:00], ["email", "test16@test.com"], ["name", "Factory User 16"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 00:00:12 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 (?, ?, ?, ?, ?, ?, ?) [1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m [1m[35m (0.6ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 71' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 71' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "70"], ["created_at", Thu, 08 Jan 2015 00:00: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", Thu, 08 Jan 2015 00:00:12 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.3ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (51.4ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.2ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 72' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 72' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:00: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", Thu, 08 Jan 2015 00:00:12 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 73' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 73' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "72"], ["created_at", Thu, 08 Jan 2015 00:00: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", Thu, 08 Jan 2015 00:00:12 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 00:00:12 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:00:12 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 23], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 00:00:12 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:00:12 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 00:00:12 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 00:00:12 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::CanvasBatch Load (0.1ms)[0m SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" ORDER BY created_at ASC LIMIT 1 [1m[36m (1.0ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 74' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 74' LIMIT 1[0m [1m[35mSQL (0.6ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:00: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", Thu, 08 Jan 2015 00:00:12 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 75' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 75' LIMIT 1 [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "74"], ["created_at", Thu, 08 Jan 2015 00:00: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", Thu, 08 Jan 2015 00:00:12 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 00:00:12 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:00:12 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 24], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 00:00:12 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:00:12 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 00:00:12 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 00:00:12 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.6ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 76' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 76' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "75"], ["created_at", Thu, 08 Jan 2015 00:00: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", Thu, 08 Jan 2015 00:00:12 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 77' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 77' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:00: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", Thu, 08 Jan 2015 00:00:12 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 30], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:00:12 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:00:12 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 00:00:12 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:00:12 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Thu, 08 Jan 2015 00:00:12 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 00:00:12 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m UPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["status", "Started"], ["updated_at", Thu, 08 Jan 2015 00:00:12 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Section Load (0.1ms)[0m SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 00:00:12 UTC +00:00], ["name", "Course1"], ["updated_at", Thu, 08 Jan 2015 00:00:12 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mUPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1[0m [["percent_complete", 14.3], ["updated_at", Thu, 08 Jan 2015 00:00:12 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::User Load (0.1ms)[0m [1mSELECT "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[0m [["coalescing_panda_lti_account_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 00:00:12 UTC +00:00], ["name", "teacher@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 00:00:12 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::User Load (0.1ms)[0m [1mSELECT "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[0m [["coalescing_panda_lti_account_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 00:00:12 UTC +00:00], ["name", "student1@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 00:00:12 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::User Load (0.1ms)[0m [1mSELECT "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[0m [["coalescing_panda_lti_account_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 00:00:12 UTC +00:00], ["name", "student2@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 00:00:12 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 28.6], ["updated_at", Thu, 08 Jan 2015 00:00:12 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Enrollment Load (0.1ms)[0m SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '1') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36mCoalescingPanda::User Load (0.1ms)[0m [1mSELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '1' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1[0m [["coalescing_panda_lti_account_id", 1]] [1m[35mCoalescingPanda::Section Load (0.1ms)[0m SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "coalescing_panda_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"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Enrollment Load (0.1ms)[0m SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '2') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36mCoalescingPanda::User Load (0.1ms)[0m [1mSELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1[0m [["coalescing_panda_lti_account_id", 1]] [1m[35mCoalescingPanda::Section Load (0.0ms)[0m SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_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"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Enrollment Load (0.1ms)[0m SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '3') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36mCoalescingPanda::User Load (0.1ms)[0m [1mSELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1[0m [["coalescing_panda_lti_account_id", 1]] [1m[35mCoalescingPanda::Section Load (0.0ms)[0m SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_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"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mUPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1[0m [["percent_complete", 42.9], ["updated_at", Thu, 08 Jan 2015 00:00:12 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::Assignment Load (0.1ms)[0m [1mSELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "grade_group_students_individually", "name", "points_possible", "published", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_assignment_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 18:04:38 UTC +00:00], ["description", "What is your name?
"], ["grade_group_students_individually", false], ["name", "Gimme your name"], ["points_possible", 100.0], ["published", true], ["submission_types", "---\n- online_text_entry\n"], ["updated_at", Tue, 18 Nov 2014 18:04:42 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::Assignment Load (0.1ms)[0m [1mSELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "grade_group_students_individually", "name", "points_possible", "published", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_assignment_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 19:10:28 UTC +00:00], ["description", "What is your Favorite Color?
"], ["grade_group_students_individually", false], ["name", "Favorite Color"], ["points_possible", 100.0], ["published", true], ["submission_types", "---\n- online_text_entry\n"], ["updated_at", Tue, 18 Nov 2014 19:10:30 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 57.1], ["updated_at", Thu, 08 Jan 2015 00:00:12 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Assignment Load (0.1ms)[0m SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? [["coalescing_panda_course_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 71.4], ["updated_at", Thu, 08 Jan 2015 00:00:12 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mUPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "message" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1[0m [["status", "Error"], ["message", "undefined local variable or method `null' for #What is your name?
"], ["grade_group_students_individually", false], ["name", "Gimme your name"], ["points_possible", 100.0], ["published", true], ["submission_types", "---\n- online_text_entry\n"], ["updated_at", Tue, 18 Nov 2014 18:04:42 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::Assignment Load (0.0ms)[0m [1mSELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "grade_group_students_individually", "name", "points_possible", "published", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_assignment_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 19:10:28 UTC +00:00], ["description", "What is your Favorite Color?
"], ["grade_group_students_individually", false], ["name", "Favorite Color"], ["points_possible", 100.0], ["published", true], ["submission_types", "---\n- online_text_entry\n"], ["updated_at", Tue, 18 Nov 2014 19:10:30 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "coalescing_panda_assignments"[0m [1m[35m (0.9ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mCoalescingPanda::Submission Load (0.2ms)[0m SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 90' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 90' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:00:12 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", Thu, 08 Jan 2015 00:00:12 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 91' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 91' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "90"], ["created_at", Thu, 08 Jan 2015 00:00:12 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", Thu, 08 Jan 2015 00:00:12 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 00:00:12 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:00:12 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 32], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 00:00:12 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:00:12 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 00:00:12 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 00:00:12 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::User Load (0.0ms)[0m 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]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 00:00:12 UTC +00:00], ["name", "teacher@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 00:00:12 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::User Load (0.0ms)[0m 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]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 00:00:12 UTC +00:00], ["name", "student1@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 00:00:12 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::User Load (0.0ms)[0m 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]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 00:00:12 UTC +00:00], ["name", "student2@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 00:00:12 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Assignment Load (0.0ms)[0m SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "grade_group_students_individually", "name", "points_possible", "published", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 18:04:38 UTC +00:00], ["description", "What is your name?
"], ["grade_group_students_individually", false], ["name", "Gimme your name"], ["points_possible", 100.0], ["published", true], ["submission_types", "---\n- online_text_entry\n"], ["updated_at", Tue, 18 Nov 2014 18:04:42 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Assignment Load (0.0ms)[0m SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "grade_group_students_individually", "name", "points_possible", "published", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 19:10:28 UTC +00:00], ["description", "What is your Favorite Color?
"], ["grade_group_students_individually", false], ["name", "Favorite Color"], ["points_possible", 100.0], ["published", true], ["submission_types", "---\n- online_text_entry\n"], ["updated_at", Tue, 18 Nov 2014 19:10:30 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Submission Load (0.1ms)[0m SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '3') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36mCoalescingPanda::User Load (0.0ms)[0m [1mSELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1[0m [["coalescing_panda_lti_account_id", 1]] [1m[35mCoalescingPanda::Assignment Load (0.1ms)[0m SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "coalescing_panda_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", Thu, 08 Jan 2015 00:00:12 UTC +00:00], ["grade", "70"], ["score", 70], ["updated_at", Thu, 08 Jan 2015 00:00:12 UTC +00:00], ["workflow_state", "graded"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Submission Load (0.1ms)[0m SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '1') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36mCoalescingPanda::User Load (0.0ms)[0m [1mSELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1[0m [["coalescing_panda_lti_account_id", 1]] [1m[35mCoalescingPanda::Assignment Load (0.0ms)[0m SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_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", Thu, 08 Jan 2015 00:00:12 UTC +00:00], ["grade", "100"], ["score", 100], ["updated_at", Thu, 08 Jan 2015 00:00:12 UTC +00:00], ["workflow_state", "graded"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Submission Load (0.1ms)[0m SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '4') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36mCoalescingPanda::User Load (0.0ms)[0m [1mSELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1[0m [["coalescing_panda_lti_account_id", 1]] [1m[35mCoalescingPanda::Assignment Load (0.1ms)[0m SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_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", Thu, 08 Jan 2015 00:00:12 UTC +00:00], ["grade", "90"], ["score", 90], ["updated_at", Thu, 08 Jan 2015 00:00:12 UTC +00:00], ["workflow_state", "graded"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Submission Load (0.1ms)[0m SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '2') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36mCoalescingPanda::User Load (0.1ms)[0m [1mSELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1[0m [["coalescing_panda_lti_account_id", 1]] [1m[35mCoalescingPanda::Assignment Load (0.1ms)[0m SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_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", Thu, 08 Jan 2015 00:00:12 UTC +00:00], ["grade", "80"], ["score", 80], ["updated_at", Thu, 08 Jan 2015 00:00:12 UTC +00:00], ["workflow_state", "graded"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "coalescing_panda_submissions" [1m[36m (1.0ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 92' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 92' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:00:12 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", Thu, 08 Jan 2015 00:00:12 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 93' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 93' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "92"], ["created_at", Thu, 08 Jan 2015 00:00:12 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", Thu, 08 Jan 2015 00:00:12 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 00:00:12 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:00:12 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 33], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 00:00:12 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:00:12 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 00:00:12 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 00:00:12 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 94' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 94' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "93"], ["created_at", Thu, 08 Jan 2015 00:00:12 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", Thu, 08 Jan 2015 00:00:12 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 95' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 95' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:00:12 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", Thu, 08 Jan 2015 00:00:12 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 39], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:00:12 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:00:12 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 00:00:12 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:00:12 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Thu, 08 Jan 2015 00:00:12 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 00:00:12 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.8ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 96' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 96' LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:00:12 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", Thu, 08 Jan 2015 00:00:12 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 97' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 97' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "96"], ["created_at", Thu, 08 Jan 2015 00:00:12 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", Thu, 08 Jan 2015 00:00:12 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 00:00:12 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:00:12 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 35], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 00:00:12 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:00:12 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 00:00:12 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 00:00:12 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.9ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 98' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 98' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "97"], ["created_at", Thu, 08 Jan 2015 00:00:12 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", Thu, 08 Jan 2015 00:00:12 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 99' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 99' LIMIT 1[0m [1m[35mSQL (0.6ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:00:12 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", Thu, 08 Jan 2015 00:00:12 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 41], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:00:12 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:00:12 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 00:00:12 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:00:12 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Thu, 08 Jan 2015 00:00:12 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 00:00:12 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (1.0ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 100' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 100' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:00:12 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", Thu, 08 Jan 2015 00:00:12 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 101' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 101' LIMIT 1 [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "100"], ["created_at", Thu, 08 Jan 2015 00:00:12 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", Thu, 08 Jan 2015 00:00:12 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m 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", Thu, 08 Jan 2015 00:00:12 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:00:12 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 37], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 00:00:12 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:00:12 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 00:00:12 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 00:00:12 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.6ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 102' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 102' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "101"], ["created_at", Thu, 08 Jan 2015 00:00:12 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", Thu, 08 Jan 2015 00:00:12 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 103' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 103' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:00:12 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", Thu, 08 Jan 2015 00:00:12 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 43], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:00:12 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:00:12 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 00:00:12 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:00:12 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Thu, 08 Jan 2015 00:00:12 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 00:00:12 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.6ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 104' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 104' LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:00:12 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", Thu, 08 Jan 2015 00:00:12 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 105' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 105' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "104"], ["created_at", Thu, 08 Jan 2015 00:00:12 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", Thu, 08 Jan 2015 00:00:12 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 00:00:12 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:00:12 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 39], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 00:00:12 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:00:12 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 00:00:12 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 00:00:12 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.6ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 106' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.2ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 106' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "105"], ["created_at", Thu, 08 Jan 2015 00:00:12 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", Thu, 08 Jan 2015 00:00:12 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 107' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 107' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:00:12 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", Thu, 08 Jan 2015 00:00:12 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 45], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:00:12 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:00:12 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 00:00:12 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:00:12 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Thu, 08 Jan 2015 00:00:12 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 00:00:12 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.6ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 108' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 108' LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:00:12 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", Thu, 08 Jan 2015 00:00:12 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 109' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 109' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "108"], ["created_at", Thu, 08 Jan 2015 00:00:12 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", Thu, 08 Jan 2015 00:00:12 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 00:00:12 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:00:12 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 41], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 00:00:12 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:00:12 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 00:00:12 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 00:00:12 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 110' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 110' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "109"], ["created_at", Thu, 08 Jan 2015 00:00:12 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", Thu, 08 Jan 2015 00:00:12 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 111' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 111' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:00:12 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", Thu, 08 Jan 2015 00:00:12 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 47], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:00:12 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:00:12 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 00:00:12 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:00:12 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_section_id", 9], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 00:00:12 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:00:12 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 112' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 112' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:00:12 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", Thu, 08 Jan 2015 00:00:12 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 113' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 113' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "112"], ["created_at", Thu, 08 Jan 2015 00:00:12 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", Thu, 08 Jan 2015 00:00:12 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 00:00:12 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:00:12 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 43], ["coalescing_panda_lti_account_id", 3], ["coalescing_panda_term_id", 2], ["created_at", Thu, 08 Jan 2015 00:00:12 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:00:12 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Course Load (0.1ms)[0m SELECT "coalescing_panda_courses".* FROM "coalescing_panda_courses" WHERE "coalescing_panda_courses"."id" = ? LIMIT 1 [["id", 2]] [1m[36mSQL (0.2ms)[0m [1mUPDATE "coalescing_panda_sections" SET "coalescing_panda_course_id" = ?, "updated_at" = ? WHERE "coalescing_panda_sections"."id" = 1[0m [["coalescing_panda_course_id", 2], ["updated_at", Thu, 08 Jan 2015 00:00:12 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 00:00:12 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 00:00:12 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 15], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 00:00:12 UTC +00:00], ["email", "test18@test.com"], ["name", "Factory User 18"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 00:00:12 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::User Load (0.1ms)[0m [1mSELECT "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[0m [["coalescing_panda_lti_account_id", 3]] [1m[35mCoalescingPanda::Section Load (0.1ms)[0m 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]] [1m[36m (3.0ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 114' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 114' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:00:12 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", Thu, 08 Jan 2015 00:00:12 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 115' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 115' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "114"], ["created_at", Thu, 08 Jan 2015 00:00:12 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", Thu, 08 Jan 2015 00:00:12 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 00:00:12 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:00:12 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 44], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 00:00:12 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:00:12 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 00:00:12 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 00:00:12 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 116' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 116' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "115"], ["created_at", Thu, 08 Jan 2015 00:00:12 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", Thu, 08 Jan 2015 00:00:12 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 117' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 117' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:00:12 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", Thu, 08 Jan 2015 00:00:12 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 50], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:00:12 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:00:12 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 00:00:12 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:00:12 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_assignment_id", "9"], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 00:00:12 UTC +00:00], ["name", "test assignment"], ["submission_types", nil], ["updated_at", Thu, 08 Jan 2015 00:00:12 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 00:00:12 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 00:00:12 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 16], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 00:00:12 UTC +00:00], ["email", "test19@test.com"], ["name", "Factory User 19"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 00:00:12 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::User Load (0.1ms)[0m [1mSELECT "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[0m [["coalescing_panda_lti_account_id", 1]] [1m[35mCoalescingPanda::Assignment Load (0.1ms)[0m 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]] [1m[36m (0.8ms)[0m [1mrollback transaction[0m [1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m [1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations" [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m Processing by CoalescingPanda::LtiController#lti_config as HTML Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m Processing by CoalescingPanda::LtiController#lti_config as HTML Completed 500 Internal Server Error in 1ms [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m Processing by CoalescingPanda::Oauth2Controller#redirect as HTML Parameters: {"user_id"=>"1", "api_domain"=>"foo.com", "code"=>"bar"} Completed 200 OK in 6ms (Views: 6.3ms | ActiveRecord: 0.0ms) [1m[35mCoalescingPanda::CanvasApiAuth Load (0.1ms)[0m 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 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction Processing by CoalescingPanda::Oauth2Controller#redirect as HTML Parameters: {"error"=>"your face"} Completed 200 OK in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms) [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "coalescing_panda_canvas_api_auths"[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 1' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.2ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 1' LIMIT 1 [1m[36mSQL (2.9ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "1"], ["created_at", Thu, 08 Jan 2015 00:00: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", Thu, 08 Jan 2015 00:00:42 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 2' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 2' LIMIT 1[0m [1m[35mSQL (1.1ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:00: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", Thu, 08 Jan 2015 00:00:42 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 1], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:00:42 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:00:42 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 00:00:42 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:00:42 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 3' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 3' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "3"], ["created_at", Thu, 08 Jan 2015 00:00: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", Thu, 08 Jan 2015 00:00:42 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 4' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 4' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:00: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", Thu, 08 Jan 2015 00:00:42 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 2], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:00:42 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:00:42 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 00:00:42 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:00:42 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.6ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 5' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 5' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "5"], ["created_at", Thu, 08 Jan 2015 00:00: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", Thu, 08 Jan 2015 00:00:42 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 6' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 6' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:00: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", Thu, 08 Jan 2015 00:00:42 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 3], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:00:42 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:00:42 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 00:00:42 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:00:42 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_assignment_id", "1"], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 00:00:42 UTC +00:00], ["name", "test assignment"], ["submission_types", nil], ["updated_at", Thu, 08 Jan 2015 00:00:42 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_assignment_id", "1"], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 00:00:42 UTC +00:00], ["name", "test assignment"], ["submission_types", nil], ["updated_at", Thu, 08 Jan 2015 00:00: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", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m [1m[35m (0.8ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 7' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 7' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "7"], ["created_at", Thu, 08 Jan 2015 00:00: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", Thu, 08 Jan 2015 00:00:42 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 8' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 8' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:00: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", Thu, 08 Jan 2015 00:00:42 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 4], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:00:42 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:00:42 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 00:00:42 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:00:42 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.6ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mCoalescingPanda::CanvasApiAuth Load (0.1ms)[0m SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" ORDER BY "coalescing_panda_canvas_api_auths"."id" ASC LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "coalescing_panda_canvas_api_auths" ("created_at", "updated_at", "user_id") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 00:00:42 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:00:42 UTC +00:00], ["user_id", "a"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::CanvasApiAuth Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1 [1m[36mCoalescingPanda::CanvasApiAuth Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1[0m [1m[35mCoalescingPanda::CanvasApiAuth Load (0.1ms)[0m SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" [1m[36mCoalescingPanda::CanvasApiAuth Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" = '1') LIMIT 1[0m [1m[35mCoalescingPanda::CanvasApiAuth Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" = '1') LIMIT 1 [1m[36m (0.4ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mCoalescingPanda::CanvasApiAuth Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1[0m [1m[35mCoalescingPanda::CanvasApiAuth Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1 [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mCoalescingPanda::CanvasApiAuth Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1[0m [1m[35mCoalescingPanda::CanvasApiAuth Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1 [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 00:00:42 UTC +00:00], ["status", "Pending"], ["updated_at", Thu, 08 Jan 2015 00:00:42 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Thu, 08 Jan 2015 00:00:42 UTC +00:00], ["status", "Pending"], ["updated_at", Thu, 08 Jan 2015 00:00:42 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 00:00:42 UTC +00:00], ["status", "Pending"], ["updated_at", Thu, 08 Jan 2015 00:00:42 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::CanvasBatch Load (0.1ms)[0m SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" ORDER BY created_at DESC [1m[36m (0.6ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 9' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 9' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:00: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", Thu, 08 Jan 2015 00:00:42 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 10' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 10' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "10"], ["created_at", Thu, 08 Jan 2015 00:00: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", Thu, 08 Jan 2015 00:00:42 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 00:00:42 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:00:42 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.8ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 11' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 11' LIMIT 1 [1m[36mSQL (0.7ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "11"], ["created_at", Thu, 08 Jan 2015 00:00: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", Thu, 08 Jan 2015 00:00:42 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 12' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 12' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:00: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", Thu, 08 Jan 2015 00:00:42 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 6], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:00:42 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:00:42 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.6ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.2ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 13' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 13' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:00: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", Thu, 08 Jan 2015 00:00:42 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 14' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 14' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "14"], ["created_at", Thu, 08 Jan 2015 00:00: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", Thu, 08 Jan 2015 00:00:42 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m 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", Thu, 08 Jan 2015 00:00:42 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:00:42 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 00:00:42 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:00:42 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.2ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 15' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 15' LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:00: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", Thu, 08 Jan 2015 00:00:42 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 8], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 00:00:42 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:00:42 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 00:00:42 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:00: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 (?, ?, ?, ?, ?, ?) [1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m [1m[35m (0.8ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 16' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 16' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "16"], ["created_at", Thu, 08 Jan 2015 00:00: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", Thu, 08 Jan 2015 00:00:42 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.5ms)[0m 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", Thu, 08 Jan 2015 00:00:42 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:00:42 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 17' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 17' LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "17"], ["created_at", Thu, 08 Jan 2015 00:00: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", Thu, 08 Jan 2015 00:00:42 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 00:00:42 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:00:42 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 18' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 18' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "18"], ["created_at", Thu, 08 Jan 2015 00:00: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", Thu, 08 Jan 2015 00:00:42 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 00:00:42 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:00: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 (?, ?, ?, ?, ?, ?) [1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m [1m[35m (0.9ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 19' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.3ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 19' LIMIT 1 [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "19"], ["created_at", Thu, 08 Jan 2015 00:00: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", Thu, 08 Jan 2015 00:00:42 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 20' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 20' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:00: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", Thu, 08 Jan 2015 00:00:42 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 10], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:00:42 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:00:42 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (1.0ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 21' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 21' LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:00: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", Thu, 08 Jan 2015 00:00:42 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.7ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 00:00:42 UTC +00:00], ["email", "test1@test.com"], ["name", "Factory User 1"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 00:00:42 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 22' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 22' LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:00: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", Thu, 08 Jan 2015 00:00:42 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 23' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 23' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "23"], ["created_at", Thu, 08 Jan 2015 00:00: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", Thu, 08 Jan 2015 00:00:42 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 00:00:42 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:00:42 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 7], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 00:00:42 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:00:42 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m 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", Thu, 08 Jan 2015 00:00:42 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:00:42 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.8ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 24' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 24' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "24"], ["created_at", Thu, 08 Jan 2015 00:00: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", Thu, 08 Jan 2015 00:00:42 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.5ms)[0m 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", Thu, 08 Jan 2015 00:00:42 UTC +00:00], ["email", "test2@test.com"], ["name", "Factory User 2"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 00:00:42 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 25' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 25' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "25"], ["created_at", Thu, 08 Jan 2015 00:00: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", Thu, 08 Jan 2015 00:00:42 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 26' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 26' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:00: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", Thu, 08 Jan 2015 00:00:42 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 12], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 00:00:42 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:00:42 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 00:00:42 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:00:42 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_section_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 00:00:42 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:00:42 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.9ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 27' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 27' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:00: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", Thu, 08 Jan 2015 00:00:42 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 00:00:42 UTC +00:00], ["email", "test3@test.com"], ["name", "Factory User 3"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 00:00:42 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 28' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 28' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:00: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", Thu, 08 Jan 2015 00:00:42 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 29' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 29' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "29"], ["created_at", Thu, 08 Jan 2015 00:00: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", Thu, 08 Jan 2015 00:00:42 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 00:00:42 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:00:42 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 9], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 00:00:42 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:00:42 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 00:00:42 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:00:42 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.8ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 30' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 30' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "30"], ["created_at", Thu, 08 Jan 2015 00:00: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", Thu, 08 Jan 2015 00:00:42 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.5ms)[0m 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", Thu, 08 Jan 2015 00:00:42 UTC +00:00], ["email", "test4@test.com"], ["name", "Factory User 4"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 00:00:42 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 31' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 31' LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "31"], ["created_at", Thu, 08 Jan 2015 00:00: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", Thu, 08 Jan 2015 00:00:42 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 32' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 32' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:00: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", Thu, 08 Jan 2015 00:00:42 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 14], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 00:00:42 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:00:42 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 00:00:42 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:00:42 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_section_id", 4], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 00:00:42 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:00:42 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m 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", Thu, 08 Jan 2015 00:00:42 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Thu, 08 Jan 2015 00:00:42 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_enrollment_id", 4], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Thu, 08 Jan 2015 00:00:42 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Thu, 08 Jan 2015 00:00:42 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 (?, ?, ?, ?, ?, ?) [1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1 [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 33' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 33' LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:00: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", Thu, 08 Jan 2015 00:00:42 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 5], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 00:00:42 UTC +00:00], ["email", "test5@test.com"], ["name", "Factory User 5"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 00:00:42 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 34' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 34' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:00: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", Thu, 08 Jan 2015 00:00:42 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 35' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 35' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "35"], ["created_at", Thu, 08 Jan 2015 00:00: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", Thu, 08 Jan 2015 00:00:42 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m 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", Thu, 08 Jan 2015 00:00:42 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:00:42 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 11], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 00:00:42 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:00:42 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 00:00:42 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:00:42 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_enrollment_id", 5], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Thu, 08 Jan 2015 00:00:42 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Thu, 08 Jan 2015 00:00:42 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 00:00:42 UTC +00:00], ["enrollment_type", "TeacherEnrollment"], ["updated_at", Thu, 08 Jan 2015 00:00:42 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 36' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 36' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "36"], ["created_at", Thu, 08 Jan 2015 00:00: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", Thu, 08 Jan 2015 00:00:42 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.6ms)[0m 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", Thu, 08 Jan 2015 00:00:42 UTC +00:00], ["email", "test6@test.com"], ["name", "Factory User 6"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 00:00:42 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 37' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 37' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "37"], ["created_at", Thu, 08 Jan 2015 00:00: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", Thu, 08 Jan 2015 00:00:42 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 38' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 38' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:00: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", Thu, 08 Jan 2015 00:00:42 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 16], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 00:00:42 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:00:42 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 00:00:42 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:00:42 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_section_id", 6], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 00:00:42 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:00:42 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.8ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mCoalescingPanda::LtiAccount Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 39' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 39' LIMIT 1 [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 40' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 40' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:00: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", Thu, 08 Jan 2015 00:00:42 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 41' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 41' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "40"], ["created_at", Thu, 08 Jan 2015 00:00: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", Thu, 08 Jan 2015 00:00:42 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 00:00:42 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:00:42 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 13], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 00:00:42 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:00:42 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.9ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 42' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 42' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:00:42 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", Thu, 08 Jan 2015 00:00:42 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 43' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 43' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "42"], ["created_at", Thu, 08 Jan 2015 00:00: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", Thu, 08 Jan 2015 00:00:42 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 00:00:42 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:00:42 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 14], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 00:00:42 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:00:42 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.8ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 44' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 44' LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:00: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", Thu, 08 Jan 2015 00:00:42 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 45' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 45' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "44"], ["created_at", Thu, 08 Jan 2015 00:00: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", Thu, 08 Jan 2015 00:00:42 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m 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", Thu, 08 Jan 2015 00:00:42 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:00:42 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 15], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 00:00:42 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:00:42 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 00:00:42 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:00:42 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_section_id", "1"], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 00:00:42 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:00: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 (?, ?, ?, ?) [1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1 [1m[36m (0.8ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 46' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 46' LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:00: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", Thu, 08 Jan 2015 00:00:42 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 47' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 47' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "46"], ["created_at", Thu, 08 Jan 2015 00:00: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", Thu, 08 Jan 2015 00:00:42 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 00:00:42 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:00:42 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 16], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 00:00:42 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:00:42 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.6ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 48' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 48' LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:00: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", Thu, 08 Jan 2015 00:00:42 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 7], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 00:00:42 UTC +00:00], ["email", "test7@test.com"], ["name", "Factory User 7"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 00:00:42 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 49' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 49' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:00: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", Thu, 08 Jan 2015 00:00:42 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 50' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 50' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "49"], ["created_at", Thu, 08 Jan 2015 00:00: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", Thu, 08 Jan 2015 00:00:42 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 00:00:42 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:00:42 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 17], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 00:00:42 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:00:42 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_assignment_id", "3"], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 00:00:42 UTC +00:00], ["name", "test assignment"], ["submission_types", nil], ["updated_at", Thu, 08 Jan 2015 00:00:42 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (1.0ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 51' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 51' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "50"], ["created_at", Thu, 08 Jan 2015 00:00: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", Thu, 08 Jan 2015 00:00:42 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.5ms)[0m 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", Thu, 08 Jan 2015 00:00:42 UTC +00:00], ["email", "test8@test.com"], ["name", "Factory User 8"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 00:00:42 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 52' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 52' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "51"], ["created_at", Thu, 08 Jan 2015 00:00: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", Thu, 08 Jan 2015 00:00:42 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 53' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 53' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:00: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", Thu, 08 Jan 2015 00:00:42 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 22], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 00:00:42 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:00:42 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 00:00:42 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:00:42 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_assignment_id", "4"], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 00:00:42 UTC +00:00], ["name", "test assignment"], ["submission_types", nil], ["updated_at", Thu, 08 Jan 2015 00:00:42 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (1.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 54' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 54' LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:00: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", Thu, 08 Jan 2015 00:00:42 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 9], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 00:00:42 UTC +00:00], ["email", "test9@test.com"], ["name", "Factory User 9"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 00:00:42 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 55' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 55' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:00: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", Thu, 08 Jan 2015 00:00:42 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 56' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 56' LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "55"], ["created_at", Thu, 08 Jan 2015 00:00: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", Thu, 08 Jan 2015 00:00:42 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 00:00:42 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:00:42 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 19], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 00:00:42 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:00:42 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_assignment_id", "5"], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 00:00:42 UTC +00:00], ["name", "test assignment"], ["submission_types", nil], ["updated_at", Thu, 08 Jan 2015 00:00:42 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.8ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 57' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 57' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "56"], ["created_at", Thu, 08 Jan 2015 00:00: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", Thu, 08 Jan 2015 00:00:42 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.5ms)[0m 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", Thu, 08 Jan 2015 00:00:42 UTC +00:00], ["email", "test10@test.com"], ["name", "Factory User 10"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 00:00:42 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 58' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 58' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "57"], ["created_at", Thu, 08 Jan 2015 00:00: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", Thu, 08 Jan 2015 00:00:42 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 59' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 59' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:00: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", Thu, 08 Jan 2015 00:00:42 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 24], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 00:00:42 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:00:42 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 00:00:42 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:00:42 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_assignment_id", "6"], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 00:00:42 UTC +00:00], ["name", "test assignment"], ["submission_types", nil], ["updated_at", Thu, 08 Jan 2015 00:00:42 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m 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", Thu, 08 Jan 2015 00:00:42 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:00:42 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["canvas_submission_id", "1"], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Thu, 08 Jan 2015 00:00:42 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:00:42 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 (?, ?, ?, ?, ?) [1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1 [1m[36m (1.0ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.2ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 60' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 60' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:00: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", Thu, 08 Jan 2015 00:00:42 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 11], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 00:00:42 UTC +00:00], ["email", "test11@test.com"], ["name", "Factory User 11"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 00:00:42 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 61' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 61' LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:00: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", Thu, 08 Jan 2015 00:00:42 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 62' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 62' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "61"], ["created_at", Thu, 08 Jan 2015 00:00: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", Thu, 08 Jan 2015 00:00:42 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 00:00:42 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:00:42 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 21], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 00:00:42 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:00:42 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_assignment_id", "7"], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 00:00:42 UTC +00:00], ["name", "test assignment"], ["submission_types", nil], ["updated_at", Thu, 08 Jan 2015 00:00:42 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["canvas_submission_id", "1"], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Thu, 08 Jan 2015 00:00:42 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:00:42 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m 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", Thu, 08 Jan 2015 00:00:42 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:00:42 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 63' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 63' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "62"], ["created_at", Thu, 08 Jan 2015 00:00: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", Thu, 08 Jan 2015 00:00:42 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.5ms)[0m 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", Thu, 08 Jan 2015 00:00:42 UTC +00:00], ["email", "test12@test.com"], ["name", "Factory User 12"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 00:00:42 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 64' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 64' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "63"], ["created_at", Thu, 08 Jan 2015 00:00: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", Thu, 08 Jan 2015 00:00:42 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 65' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 65' LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:00: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", Thu, 08 Jan 2015 00:00:42 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 26], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 00:00:42 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:00:42 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 00:00:42 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:00:42 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_assignment_id", "8"], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 00:00:42 UTC +00:00], ["name", "test assignment"], ["submission_types", nil], ["updated_at", Thu, 08 Jan 2015 00:00:42 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 66' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 66' LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:00: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", Thu, 08 Jan 2015 00:00:42 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.3ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 67' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 67' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "66"], ["created_at", Thu, 08 Jan 2015 00:00: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", Thu, 08 Jan 2015 00:00:42 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.5ms)[0m 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", Thu, 08 Jan 2015 00:00:42 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:00:42 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 00:00:42 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:00: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 (?, ?, ?, ?) [1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1 [1m[36m (0.5ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 68' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 68' LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:00: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", Thu, 08 Jan 2015 00:00:42 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.3ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 69' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 69' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "68"], ["created_at", Thu, 08 Jan 2015 00:00: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", Thu, 08 Jan 2015 00:00:42 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.3ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 70' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 70' LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:00: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", Thu, 08 Jan 2015 00:00:42 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 00:00:42 UTC +00:00], ["email", "test15@test.com"], ["name", "Factory User 15"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 00:00:42 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m 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", Thu, 08 Jan 2015 00:00:42 UTC +00:00], ["email", "test16@test.com"], ["name", "Factory User 16"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 00:00: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 (?, ?, ?, ?, ?, ?, ?) [1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m [1m[35m (0.5ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 71' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 71' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "70"], ["created_at", Thu, 08 Jan 2015 00:00: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", Thu, 08 Jan 2015 00:00:42 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (3.3ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (56.6ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 72' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 72' LIMIT 1[0m [1m[35mSQL (0.8ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:00: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", Thu, 08 Jan 2015 00:00:42 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 73' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 73' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "72"], ["created_at", Thu, 08 Jan 2015 00:00: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", Thu, 08 Jan 2015 00:00:42 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 00:00:42 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:00:42 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 23], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 00:00:42 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:00:42 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 00:00:42 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 00:00:42 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::CanvasBatch Load (0.1ms)[0m SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" ORDER BY created_at ASC LIMIT 1 [1m[36m (1.0ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 74' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 74' LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:00: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", Thu, 08 Jan 2015 00:00:42 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 75' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 75' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "74"], ["created_at", Thu, 08 Jan 2015 00:00:42 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", Thu, 08 Jan 2015 00:00:42 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 00:00:42 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:00:42 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 24], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 00:00:42 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:00:42 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 00:00:42 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 00:00:42 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.8ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 76' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 76' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "75"], ["created_at", Thu, 08 Jan 2015 00:00:42 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", Thu, 08 Jan 2015 00:00:42 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 77' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 77' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:00:42 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", Thu, 08 Jan 2015 00:00:42 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 30], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:00:42 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:00:42 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 00:00:42 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:00:42 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Thu, 08 Jan 2015 00:00:42 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 00:00:42 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m UPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["status", "Started"], ["updated_at", Thu, 08 Jan 2015 00:00:42 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Section Load (0.2ms)[0m SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 00:00:42 UTC +00:00], ["name", "Course1"], ["updated_at", Thu, 08 Jan 2015 00:00:42 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mUPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1[0m [["percent_complete", 14.3], ["updated_at", Thu, 08 Jan 2015 00:00:42 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::User Load (0.1ms)[0m [1mSELECT "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[0m [["coalescing_panda_lti_account_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 00:00:42 UTC +00:00], ["name", "teacher@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 00:00:42 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::User Load (0.1ms)[0m [1mSELECT "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[0m [["coalescing_panda_lti_account_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 00:00:42 UTC +00:00], ["name", "student1@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 00:00:42 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::User Load (0.1ms)[0m [1mSELECT "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[0m [["coalescing_panda_lti_account_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 00:00:42 UTC +00:00], ["name", "student2@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 00:00:42 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 28.6], ["updated_at", Thu, 08 Jan 2015 00:00:42 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Enrollment Load (0.2ms)[0m SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '1') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36mCoalescingPanda::User Load (0.1ms)[0m [1mSELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '1' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1[0m [["coalescing_panda_lti_account_id", 1]] [1m[35mCoalescingPanda::Section Load (0.1ms)[0m SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "coalescing_panda_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"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Enrollment Load (0.2ms)[0m SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '2') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36mCoalescingPanda::User Load (0.1ms)[0m [1mSELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1[0m [["coalescing_panda_lti_account_id", 1]] [1m[35mCoalescingPanda::Section Load (0.0ms)[0m SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_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"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Enrollment Load (0.1ms)[0m SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '3') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36mCoalescingPanda::User Load (0.1ms)[0m [1mSELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1[0m [["coalescing_panda_lti_account_id", 1]] [1m[35mCoalescingPanda::Section Load (0.0ms)[0m SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_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"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mUPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1[0m [["percent_complete", 42.9], ["updated_at", Thu, 08 Jan 2015 00:00:42 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::Assignment Load (0.1ms)[0m [1mSELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "grade_group_students_individually", "name", "points_possible", "published", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_assignment_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 18:04:38 UTC +00:00], ["description", "What is your name?
"], ["grade_group_students_individually", false], ["name", "Gimme your name"], ["points_possible", 100.0], ["published", true], ["submission_types", "---\n- online_text_entry\n"], ["updated_at", Tue, 18 Nov 2014 18:04:42 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::Assignment Load (0.1ms)[0m [1mSELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "grade_group_students_individually", "name", "points_possible", "published", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_assignment_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 19:10:28 UTC +00:00], ["description", "What is your Favorite Color?
"], ["grade_group_students_individually", false], ["name", "Favorite Color"], ["points_possible", 100.0], ["published", true], ["submission_types", "---\n- online_text_entry\n"], ["updated_at", Tue, 18 Nov 2014 19:10:30 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 57.1], ["updated_at", Thu, 08 Jan 2015 00:00:42 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Assignment Load (0.1ms)[0m SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? [["coalescing_panda_course_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 71.4], ["updated_at", Thu, 08 Jan 2015 00:00:42 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mUPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "message" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1[0m [["status", "Error"], ["message", "undefined local variable or method `null' for #What is your name?
"], ["grade_group_students_individually", false], ["name", "Gimme your name"], ["points_possible", 100.0], ["published", true], ["submission_types", "---\n- online_text_entry\n"], ["updated_at", Tue, 18 Nov 2014 18:04:42 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Assignment Load (0.0ms)[0m SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "grade_group_students_individually", "name", "points_possible", "published", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 19:10:28 UTC +00:00], ["description", "What is your Favorite Color?
"], ["grade_group_students_individually", false], ["name", "Favorite Color"], ["points_possible", 100.0], ["published", true], ["submission_types", "---\n- online_text_entry\n"], ["updated_at", Tue, 18 Nov 2014 19:10:30 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "coalescing_panda_assignments" [1m[36m (0.8ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mCoalescingPanda::Submission Load (0.1ms)[0m [1mSELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions"[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 90' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 90' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "89"], ["created_at", Thu, 08 Jan 2015 00:01:32 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", Thu, 08 Jan 2015 00:01:32 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 91' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 91' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:01:32 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", Thu, 08 Jan 2015 00:01:32 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 37], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:01:32 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:01:32 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 00:01:32 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:01:32 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Thu, 08 Jan 2015 00:01:32 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 00:01:32 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::User Load (0.1ms)[0m [1mSELECT "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[0m [["coalescing_panda_lti_account_id", 1]] [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 00:01:32 UTC +00:00], ["name", "teacher@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 00:01:32 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::User Load (0.0ms)[0m [1mSELECT "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[0m [["coalescing_panda_lti_account_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 00:01:32 UTC +00:00], ["name", "student1@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 00:01:32 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::User Load (0.0ms)[0m [1mSELECT "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[0m [["coalescing_panda_lti_account_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 00:01:32 UTC +00:00], ["name", "student2@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 00:01:32 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::Assignment Load (0.1ms)[0m [1mSELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "grade_group_students_individually", "name", "points_possible", "published", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_assignment_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 18:04:38 UTC +00:00], ["description", "What is your name?
"], ["grade_group_students_individually", false], ["name", "Gimme your name"], ["points_possible", 100.0], ["published", true], ["submission_types", "---\n- online_text_entry\n"], ["updated_at", Tue, 18 Nov 2014 18:04:42 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::Assignment Load (0.0ms)[0m [1mSELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "grade_group_students_individually", "name", "points_possible", "published", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_assignment_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 19:10:28 UTC +00:00], ["description", "What is your Favorite Color?
"], ["grade_group_students_individually", false], ["name", "Favorite Color"], ["points_possible", 100.0], ["published", true], ["submission_types", "---\n- online_text_entry\n"], ["updated_at", Tue, 18 Nov 2014 19:10:30 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::Submission Load (0.1ms)[0m [1mSELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '3') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35mCoalescingPanda::User Load (0.0ms)[0m SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] [1m[36mCoalescingPanda::Assignment Load (0.1ms)[0m [1mSELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_submission_id", 3], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 3], ["created_at", Thu, 08 Jan 2015 00:01:32 UTC +00:00], ["grade", "70"], ["score", 70], ["updated_at", Thu, 08 Jan 2015 00:01:32 UTC +00:00], ["workflow_state", "graded"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::Submission Load (0.1ms)[0m [1mSELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '1') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35mCoalescingPanda::User Load (0.0ms)[0m SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] [1m[36mCoalescingPanda::Assignment Load (0.0ms)[0m [1mSELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_submission_id", 1], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 2], ["created_at", Thu, 08 Jan 2015 00:01:32 UTC +00:00], ["grade", "100"], ["score", 100], ["updated_at", Thu, 08 Jan 2015 00:01:32 UTC +00:00], ["workflow_state", "graded"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::Submission Load (0.1ms)[0m [1mSELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '4') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35mCoalescingPanda::User Load (0.0ms)[0m SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] [1m[36mCoalescingPanda::Assignment Load (0.1ms)[0m [1mSELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_submission_id", 4], ["coalescing_panda_assignment_id", 2], ["coalescing_panda_user_id", 3], ["created_at", Thu, 08 Jan 2015 00:01:32 UTC +00:00], ["grade", "90"], ["score", 90], ["updated_at", Thu, 08 Jan 2015 00:01:32 UTC +00:00], ["workflow_state", "graded"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::Submission Load (0.1ms)[0m [1mSELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '2') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35mCoalescingPanda::User Load (0.0ms)[0m SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] [1m[36mCoalescingPanda::Assignment Load (0.0ms)[0m [1mSELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_submission_id", 2], ["coalescing_panda_assignment_id", 2], ["coalescing_panda_user_id", 2], ["created_at", Thu, 08 Jan 2015 00:01:32 UTC +00:00], ["grade", "80"], ["score", 80], ["updated_at", Thu, 08 Jan 2015 00:01:32 UTC +00:00], ["workflow_state", "graded"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "coalescing_panda_submissions"[0m [1m[35m (1.4ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 92' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 92' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "91"], ["created_at", Thu, 08 Jan 2015 00:01:32 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", Thu, 08 Jan 2015 00:01:32 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 93' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 93' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:01:32 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", Thu, 08 Jan 2015 00:01:32 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 38], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:01:32 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:01:32 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 00:01:32 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:01:32 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Thu, 08 Jan 2015 00:01:32 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 00:01:32 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 94' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 94' LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:01:32 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", Thu, 08 Jan 2015 00:01:32 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 95' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 95' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "94"], ["created_at", Thu, 08 Jan 2015 00:01:32 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", Thu, 08 Jan 2015 00:01:32 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 00:01:32 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:01:32 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 34], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 00:01:32 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:01:32 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 00:01:32 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 00:01:32 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.8ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 96' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 96' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "95"], ["created_at", Thu, 08 Jan 2015 00:01:32 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", Thu, 08 Jan 2015 00:01:32 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 97' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 97' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:01:32 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", Thu, 08 Jan 2015 00:01:32 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 40], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:01:32 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:01:32 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 00:01:32 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:01:32 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Thu, 08 Jan 2015 00:01:32 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 00:01:32 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 98' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 98' LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:01:32 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", Thu, 08 Jan 2015 00:01:32 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 99' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 99' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "98"], ["created_at", Thu, 08 Jan 2015 00:01:32 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", Thu, 08 Jan 2015 00:01:32 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 00:01:32 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:01:32 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 36], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 00:01:32 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:01:32 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 00:01:32 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 00:01:32 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 100' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 100' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "99"], ["created_at", Thu, 08 Jan 2015 00:01:32 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", Thu, 08 Jan 2015 00:01:32 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 101' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 101' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:01:32 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", Thu, 08 Jan 2015 00:01:32 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 42], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:01:32 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:01:32 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 00:01:32 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:01:32 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Thu, 08 Jan 2015 00:01:32 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 00:01:32 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.8ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 102' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 102' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:01:32 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", Thu, 08 Jan 2015 00:01:32 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 103' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 103' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "102"], ["created_at", Thu, 08 Jan 2015 00:01:32 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", Thu, 08 Jan 2015 00:01:32 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 00:01:32 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:01:32 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 38], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 00:01:32 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:01:32 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 00:01:32 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 00:01:32 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 104' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 104' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "103"], ["created_at", Thu, 08 Jan 2015 00:01:32 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", Thu, 08 Jan 2015 00:01:32 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 105' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 105' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:01:32 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", Thu, 08 Jan 2015 00:01:32 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 44], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:01:32 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:01:32 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 00:01:32 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:01:32 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Thu, 08 Jan 2015 00:01:32 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 00:01:32 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (1.0ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 106' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 106' LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:01:32 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", Thu, 08 Jan 2015 00:01:32 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 107' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 107' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "106"], ["created_at", Thu, 08 Jan 2015 00:01:32 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", Thu, 08 Jan 2015 00:01:32 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 00:01:32 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:01:32 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 40], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 00:01:32 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:01:32 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 00:01:32 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 00:01:32 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.8ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 108' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 108' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "107"], ["created_at", Thu, 08 Jan 2015 00:01:32 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", Thu, 08 Jan 2015 00:01:32 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 109' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 109' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:01:32 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", Thu, 08 Jan 2015 00:01:32 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 46], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:01:32 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:01:32 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 00:01:32 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:01:32 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Thu, 08 Jan 2015 00:01:32 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 00:01:32 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.8ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.2ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 110' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 110' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:01:32 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", Thu, 08 Jan 2015 00:01:32 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 111' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 111' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "110"], ["created_at", Thu, 08 Jan 2015 00:01:32 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", Thu, 08 Jan 2015 00:01:32 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m 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", Thu, 08 Jan 2015 00:01:32 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:01:32 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 42], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 00:01:32 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:01:32 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 00:01:32 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:01:32 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 112' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 112' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "111"], ["created_at", Thu, 08 Jan 2015 00:01:32 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", Thu, 08 Jan 2015 00:01:32 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 113' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 113' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:01:32 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", Thu, 08 Jan 2015 00:01:32 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 48], ["coalescing_panda_lti_account_id", 4], ["created_at", Thu, 08 Jan 2015 00:01:32 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:01:32 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 00:01:32 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:01:32 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::Course Load (0.2ms)[0m [1mSELECT "coalescing_panda_courses".* FROM "coalescing_panda_courses" WHERE "coalescing_panda_courses"."id" = ? LIMIT 1[0m [["id", 2]] [1m[35mSQL (0.3ms)[0m UPDATE "coalescing_panda_sections" SET "coalescing_panda_course_id" = ?, "updated_at" = ? WHERE "coalescing_panda_sections"."id" = 1 [["coalescing_panda_course_id", 2], ["updated_at", Thu, 08 Jan 2015 00:01:32 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Thu, 08 Jan 2015 00:01:32 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 00:01:32 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 00:01:32 UTC +00:00], ["email", "test18@test.com"], ["name", "Factory User 18"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 00:01:32 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::User Load (0.1ms)[0m 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]] [1m[36mCoalescingPanda::Section Load (0.1ms)[0m [1mSELECT "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[0m [["coalescing_panda_course_id", 2]] [1m[35m (1.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 114' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 114' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "113"], ["created_at", Thu, 08 Jan 2015 00:01:32 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", Thu, 08 Jan 2015 00:01:32 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 115' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 115' LIMIT 1[0m [1m[35mSQL (0.6ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:01:32 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", Thu, 08 Jan 2015 00:01:32 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 49], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:01:32 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:01:32 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 00:01:32 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:01:32 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Thu, 08 Jan 2015 00:01:32 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 00:01:32 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.9ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 116' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 116' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:01:32 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", Thu, 08 Jan 2015 00:01:32 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 117' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 117' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "116"], ["created_at", Thu, 08 Jan 2015 00:01:32 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", Thu, 08 Jan 2015 00:01:32 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 00:01:32 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:01:32 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 45], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 00:01:32 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:01:32 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_assignment_id", "9"], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 00:01:32 UTC +00:00], ["name", "test assignment"], ["submission_types", nil], ["updated_at", Thu, 08 Jan 2015 00:01:32 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Thu, 08 Jan 2015 00:01:32 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 00:01:32 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m 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", Thu, 08 Jan 2015 00:01:32 UTC +00:00], ["email", "test19@test.com"], ["name", "Factory User 19"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 00:01:32 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::User Load (0.1ms)[0m 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]] [1m[36mCoalescingPanda::Assignment Load (0.1ms)[0m [1mSELECT "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[0m [["coalescing_panda_course_id", 1]] [1m[35m (0.9ms)[0m rollback transaction [1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m [1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations" [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m Processing by CoalescingPanda::LtiController#lti_config as HTML Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m Processing by CoalescingPanda::LtiController#lti_config as HTML Completed 500 Internal Server Error in 1ms [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m Processing by CoalescingPanda::Oauth2Controller#redirect as HTML Parameters: {"user_id"=>"1", "api_domain"=>"foo.com", "code"=>"bar"} Completed 200 OK in 5ms (Views: 5.2ms | ActiveRecord: 0.0ms) [1m[35mCoalescingPanda::CanvasApiAuth Load (0.1ms)[0m 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 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction Processing by CoalescingPanda::Oauth2Controller#redirect as HTML Parameters: {"error"=>"your face"} Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "coalescing_panda_canvas_api_auths"[0m [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 1' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 1' LIMIT 1 [1m[36mSQL (2.3ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "1"], ["created_at", Thu, 08 Jan 2015 00:01: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", Thu, 08 Jan 2015 00:01:43 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 2' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 2' LIMIT 1[0m [1m[35mSQL (1.3ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:01: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", Thu, 08 Jan 2015 00:01:43 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 1], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:01:43 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:01:43 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 00:01:43 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:01:43 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (1.7ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 3' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 3' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "3"], ["created_at", Thu, 08 Jan 2015 00:01: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", Thu, 08 Jan 2015 00:01:43 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 4' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 4' LIMIT 1[0m [1m[35mSQL (0.6ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:01: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", Thu, 08 Jan 2015 00:01:43 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 2], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:01:43 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:01:43 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 00:01:43 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:01:43 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 5' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 5' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "5"], ["created_at", Thu, 08 Jan 2015 00:01: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", Thu, 08 Jan 2015 00:01:43 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 6' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 6' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:01: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", Thu, 08 Jan 2015 00:01:43 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 3], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:01:43 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:01:43 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 00:01:43 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:01:43 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_assignment_id", "1"], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 00:01:43 UTC +00:00], ["name", "test assignment"], ["submission_types", nil], ["updated_at", Thu, 08 Jan 2015 00:01:43 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_assignment_id", "1"], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 00:01:43 UTC +00:00], ["name", "test assignment"], ["submission_types", nil], ["updated_at", Thu, 08 Jan 2015 00:01:43 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", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m [1m[35m (0.9ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 7' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 7' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "7"], ["created_at", Thu, 08 Jan 2015 00:01: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", Thu, 08 Jan 2015 00:01:43 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 8' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 8' LIMIT 1[0m [1m[35mSQL (0.6ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:01: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", Thu, 08 Jan 2015 00:01:43 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 4], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:01:43 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:01:43 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 00:01:43 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:01:43 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mCoalescingPanda::CanvasApiAuth Load (0.1ms)[0m SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" ORDER BY "coalescing_panda_canvas_api_auths"."id" ASC LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_panda_canvas_api_auths" ("created_at", "updated_at", "user_id") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 00:01:43 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:01:43 UTC +00:00], ["user_id", "a"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::CanvasApiAuth Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1 [1m[36mCoalescingPanda::CanvasApiAuth Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1[0m [1m[35mCoalescingPanda::CanvasApiAuth Load (0.1ms)[0m SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" [1m[36mCoalescingPanda::CanvasApiAuth Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" = '1') LIMIT 1[0m [1m[35mCoalescingPanda::CanvasApiAuth Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" = '1') LIMIT 1 [1m[36m (0.3ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mCoalescingPanda::CanvasApiAuth Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1[0m [1m[35mCoalescingPanda::CanvasApiAuth Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1 [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mCoalescingPanda::CanvasApiAuth Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1[0m [1m[35mCoalescingPanda::CanvasApiAuth Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1 [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 00:01:43 UTC +00:00], ["status", "Pending"], ["updated_at", Thu, 08 Jan 2015 00:01:43 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Thu, 08 Jan 2015 00:01:43 UTC +00:00], ["status", "Pending"], ["updated_at", Thu, 08 Jan 2015 00:01:43 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 00:01:43 UTC +00:00], ["status", "Pending"], ["updated_at", Thu, 08 Jan 2015 00:01:43 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::CanvasBatch Load (0.1ms)[0m SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" ORDER BY created_at DESC [1m[36m (0.6ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 9' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 9' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:01: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", Thu, 08 Jan 2015 00:01:43 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 10' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 10' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "10"], ["created_at", Thu, 08 Jan 2015 00:01: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", Thu, 08 Jan 2015 00:01:43 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 00:01:43 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:01:43 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.6ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 11' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 11' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "11"], ["created_at", Thu, 08 Jan 2015 00:01: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", Thu, 08 Jan 2015 00:01:43 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 12' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 12' LIMIT 1[0m [1m[35mSQL (0.6ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:01: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", Thu, 08 Jan 2015 00:01:43 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 6], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:01:43 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:01:43 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.2ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 13' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 13' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:01: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", Thu, 08 Jan 2015 00:01:43 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 14' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 14' LIMIT 1 [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "14"], ["created_at", Thu, 08 Jan 2015 00:01: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", Thu, 08 Jan 2015 00:01:43 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m 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", Thu, 08 Jan 2015 00:01:43 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:01:43 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 00:01:43 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:01:43 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 15' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 15' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:01: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", Thu, 08 Jan 2015 00:01:43 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 8], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 00:01:43 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:01:43 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 00:01:43 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:01:43 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 (?, ?, ?, ?, ?, ?) [1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m [1m[35m (0.9ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 16' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 16' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "16"], ["created_at", Thu, 08 Jan 2015 00:01: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", Thu, 08 Jan 2015 00:01:43 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.5ms)[0m 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", Thu, 08 Jan 2015 00:01:43 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:01:43 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 17' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 17' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "17"], ["created_at", Thu, 08 Jan 2015 00:01: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", Thu, 08 Jan 2015 00:01:43 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 00:01:43 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:01:43 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 18' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 18' LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "18"], ["created_at", Thu, 08 Jan 2015 00:01: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", Thu, 08 Jan 2015 00:01:43 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 00:01:43 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:01:43 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 (?, ?, ?, ?, ?, ?) [1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m [1m[35m (0.6ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 19' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 19' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "19"], ["created_at", Thu, 08 Jan 2015 00:01: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", Thu, 08 Jan 2015 00:01:43 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 20' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 20' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:01: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", Thu, 08 Jan 2015 00:01:43 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 10], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:01:43 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:01:43 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.8ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 21' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 21' LIMIT 1[0m [1m[35mSQL (0.6ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:01: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", Thu, 08 Jan 2015 00:01:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00], ["email", "test1@test.com"], ["name", "Factory User 1"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 22' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 22' LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:01: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", Thu, 08 Jan 2015 00:01:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 23' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 23' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "23"], ["created_at", Thu, 08 Jan 2015 00:01: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", Thu, 08 Jan 2015 00:01:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m 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", Thu, 08 Jan 2015 00:01:44 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 7], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m 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", Thu, 08 Jan 2015 00:01:44 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (1.0ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 24' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 24' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "24"], ["created_at", Thu, 08 Jan 2015 00:01: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", Thu, 08 Jan 2015 00:01:44 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (1.2ms)[0m 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", Thu, 08 Jan 2015 00:01:44 UTC +00:00], ["email", "test2@test.com"], ["name", "Factory User 2"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 25' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 25' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "25"], ["created_at", Thu, 08 Jan 2015 00:01: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", Thu, 08 Jan 2015 00:01:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 26' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 26' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:01: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", Thu, 08 Jan 2015 00:01:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 12], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 00:01:44 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_section_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.8ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 27' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 27' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:01: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", Thu, 08 Jan 2015 00:01:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00], ["email", "test3@test.com"], ["name", "Factory User 3"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 28' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 28' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:01: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", Thu, 08 Jan 2015 00:01:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 29' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 29' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "29"], ["created_at", Thu, 08 Jan 2015 00:01: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", Thu, 08 Jan 2015 00:01:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 00:01:44 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 9], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 00:01:44 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.9ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 30' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 30' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "30"], ["created_at", Thu, 08 Jan 2015 00:01: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", Thu, 08 Jan 2015 00:01:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.5ms)[0m 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", Thu, 08 Jan 2015 00:01:44 UTC +00:00], ["email", "test4@test.com"], ["name", "Factory User 4"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 31' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 31' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "31"], ["created_at", Thu, 08 Jan 2015 00:01: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", Thu, 08 Jan 2015 00:01:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 32' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 32' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:01: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", Thu, 08 Jan 2015 00:01:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 14], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 00:01:44 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_section_id", 4], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m 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", Thu, 08 Jan 2015 00:01:44 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_enrollment_id", 4], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Thu, 08 Jan 2015 00:01:44 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 (?, ?, ?, ?, ?, ?) [1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1 [1m[36m (0.8ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.2ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 33' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 33' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:01: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", Thu, 08 Jan 2015 00:01:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 5], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00], ["email", "test5@test.com"], ["name", "Factory User 5"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 34' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 34' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:01: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", Thu, 08 Jan 2015 00:01:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 35' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 35' LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "35"], ["created_at", Thu, 08 Jan 2015 00:01: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", Thu, 08 Jan 2015 00:01:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m 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", Thu, 08 Jan 2015 00:01:44 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 11], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m 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", Thu, 08 Jan 2015 00:01:44 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_enrollment_id", 5], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m 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", Thu, 08 Jan 2015 00:01:44 UTC +00:00], ["enrollment_type", "TeacherEnrollment"], ["updated_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.9ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 36' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 36' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "36"], ["created_at", Thu, 08 Jan 2015 00:01: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", Thu, 08 Jan 2015 00:01:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.6ms)[0m 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", Thu, 08 Jan 2015 00:01:44 UTC +00:00], ["email", "test6@test.com"], ["name", "Factory User 6"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 37' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 37' LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "37"], ["created_at", Thu, 08 Jan 2015 00:01: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", Thu, 08 Jan 2015 00:01:44 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 38' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 38' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:01: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", Thu, 08 Jan 2015 00:01:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 16], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 00:01:44 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_section_id", 6], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.9ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 39' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 39' LIMIT 1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 40' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 40' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:01: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", Thu, 08 Jan 2015 00:01:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 41' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 41' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "40"], ["created_at", Thu, 08 Jan 2015 00:01: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", Thu, 08 Jan 2015 00:01:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 00:01:44 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 13], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 42' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 42' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:01: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", Thu, 08 Jan 2015 00:01:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 43' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 43' LIMIT 1 [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "42"], ["created_at", Thu, 08 Jan 2015 00:01: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", Thu, 08 Jan 2015 00:01:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 00:01:44 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 14], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.9ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.2ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 44' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 44' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:01: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", Thu, 08 Jan 2015 00:01:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 45' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 45' LIMIT 1 [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "44"], ["created_at", Thu, 08 Jan 2015 00:01: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", Thu, 08 Jan 2015 00:01:44 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m 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", Thu, 08 Jan 2015 00:01:44 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 15], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m 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", Thu, 08 Jan 2015 00:01:44 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_section_id", "1"], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:01:44 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 (?, ?, ?, ?) [1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1 [1m[36m (0.9ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 46' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 46' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:01: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", Thu, 08 Jan 2015 00:01:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 47' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 47' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "46"], ["created_at", Thu, 08 Jan 2015 00:01: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", Thu, 08 Jan 2015 00:01:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 00:01:44 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 16], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.6ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 48' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 48' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:01: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", Thu, 08 Jan 2015 00:01:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 7], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00], ["email", "test7@test.com"], ["name", "Factory User 7"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 49' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 49' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:01: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", Thu, 08 Jan 2015 00:01:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 50' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 50' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "49"], ["created_at", Thu, 08 Jan 2015 00:01: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", Thu, 08 Jan 2015 00:01:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 00:01:44 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 17], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_assignment_id", "3"], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00], ["name", "test assignment"], ["submission_types", nil], ["updated_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (1.0ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 51' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 51' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "50"], ["created_at", Thu, 08 Jan 2015 00:01: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", Thu, 08 Jan 2015 00:01:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.6ms)[0m 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", Thu, 08 Jan 2015 00:01:44 UTC +00:00], ["email", "test8@test.com"], ["name", "Factory User 8"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 52' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 52' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "51"], ["created_at", Thu, 08 Jan 2015 00:01: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", Thu, 08 Jan 2015 00:01:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 53' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 53' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:01: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", Thu, 08 Jan 2015 00:01:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 22], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 00:01:44 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_assignment_id", "4"], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00], ["name", "test assignment"], ["submission_types", nil], ["updated_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.8ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 54' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 54' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:01: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", Thu, 08 Jan 2015 00:01:44 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 9], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00], ["email", "test9@test.com"], ["name", "Factory User 9"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 55' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 55' LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:01: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", Thu, 08 Jan 2015 00:01:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 56' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 56' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "55"], ["created_at", Thu, 08 Jan 2015 00:01: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", Thu, 08 Jan 2015 00:01:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 00:01:44 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 19], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_assignment_id", "5"], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00], ["name", "test assignment"], ["submission_types", nil], ["updated_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 57' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 57' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "56"], ["created_at", Thu, 08 Jan 2015 00:01: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", Thu, 08 Jan 2015 00:01:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.5ms)[0m 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", Thu, 08 Jan 2015 00:01:44 UTC +00:00], ["email", "test10@test.com"], ["name", "Factory User 10"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 58' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 58' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "57"], ["created_at", Thu, 08 Jan 2015 00:01: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", Thu, 08 Jan 2015 00:01:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 59' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 59' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:01: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", Thu, 08 Jan 2015 00:01:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 24], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 00:01:44 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_assignment_id", "6"], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00], ["name", "test assignment"], ["submission_types", nil], ["updated_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m 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", Thu, 08 Jan 2015 00:01:44 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["canvas_submission_id", "1"], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:01:44 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 (?, ?, ?, ?, ?) [1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1 [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 60' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 60' LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:01: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", Thu, 08 Jan 2015 00:01:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 11], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00], ["email", "test11@test.com"], ["name", "Factory User 11"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 61' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 61' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:01: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", Thu, 08 Jan 2015 00:01:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 62' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 62' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "61"], ["created_at", Thu, 08 Jan 2015 00:01: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", Thu, 08 Jan 2015 00:01:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m 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", Thu, 08 Jan 2015 00:01:44 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 21], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_assignment_id", "7"], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00], ["name", "test assignment"], ["submission_types", nil], ["updated_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["canvas_submission_id", "1"], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 00:01:44 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.8ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 63' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 63' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "62"], ["created_at", Thu, 08 Jan 2015 00:01: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", Thu, 08 Jan 2015 00:01:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.5ms)[0m 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", Thu, 08 Jan 2015 00:01:44 UTC +00:00], ["email", "test12@test.com"], ["name", "Factory User 12"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 64' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 64' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "63"], ["created_at", Thu, 08 Jan 2015 00:01: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", Thu, 08 Jan 2015 00:01:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 65' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 65' LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:01: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", Thu, 08 Jan 2015 00:01:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 26], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 00:01:44 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_assignment_id", "8"], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00], ["name", "test assignment"], ["submission_types", nil], ["updated_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 66' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 66' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:01: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", Thu, 08 Jan 2015 00:01:44 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.4ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 67' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 67' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "66"], ["created_at", Thu, 08 Jan 2015 00:01: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", Thu, 08 Jan 2015 00:01:44 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.6ms)[0m 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", Thu, 08 Jan 2015 00:01:44 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:01: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 (?, ?, ?, ?) [1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1 [1m[36m (0.6ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 68' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 68' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:01: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", Thu, 08 Jan 2015 00:01:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.4ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 69' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 69' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "68"], ["created_at", Thu, 08 Jan 2015 00:01: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", Thu, 08 Jan 2015 00:01:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.4ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 70' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 70' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:01: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", Thu, 08 Jan 2015 00:01:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00], ["email", "test15@test.com"], ["name", "Factory User 15"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m 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", Thu, 08 Jan 2015 00:01:44 UTC +00:00], ["email", "test16@test.com"], ["name", "Factory User 16"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 00:01:44 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 (?, ?, ?, ?, ?, ?, ?) [1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 71' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 71' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "70"], ["created_at", Thu, 08 Jan 2015 00:01: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", Thu, 08 Jan 2015 00:01:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.4ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 72' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 72' LIMIT 1[0m [1m[35mSQL (0.7ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:01: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", Thu, 08 Jan 2015 00:01:44 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 73' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 73' LIMIT 1 [1m[36mSQL (0.7ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "72"], ["created_at", Thu, 08 Jan 2015 00:01: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", Thu, 08 Jan 2015 00:01:44 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m 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", Thu, 08 Jan 2015 00:01:44 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 23], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::CanvasBatch Load (0.1ms)[0m SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" ORDER BY created_at ASC LIMIT 1 [1m[36m (0.8ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 74' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 74' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:01: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", Thu, 08 Jan 2015 00:01:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 75' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 75' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "74"], ["created_at", Thu, 08 Jan 2015 00:01: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", Thu, 08 Jan 2015 00:01:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 00:01:44 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 24], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.8ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 76' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 76' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "75"], ["created_at", Thu, 08 Jan 2015 00:01: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", Thu, 08 Jan 2015 00:01:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 77' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 77' LIMIT 1[0m [1m[35mSQL (3.2ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:01: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", Thu, 08 Jan 2015 00:01:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 30], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 00:01:44 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m UPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["status", "Started"], ["updated_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Section Load (0.1ms)[0m SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00], ["name", "Course1"], ["updated_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mUPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1[0m [["percent_complete", 14.3], ["updated_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::User Load (0.1ms)[0m [1mSELECT "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[0m [["coalescing_panda_lti_account_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00], ["name", "teacher@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::User Load (0.1ms)[0m [1mSELECT "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[0m [["coalescing_panda_lti_account_id", 1]] [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00], ["name", "student1@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::User Load (0.1ms)[0m [1mSELECT "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[0m [["coalescing_panda_lti_account_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00], ["name", "student2@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 28.6], ["updated_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Enrollment Load (0.1ms)[0m SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '1') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36mCoalescingPanda::User Load (0.1ms)[0m [1mSELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '1' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1[0m [["coalescing_panda_lti_account_id", 1]] [1m[35mCoalescingPanda::Section Load (0.1ms)[0m SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "coalescing_panda_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"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Enrollment Load (0.1ms)[0m SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '2') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36mCoalescingPanda::User Load (0.1ms)[0m [1mSELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1[0m [["coalescing_panda_lti_account_id", 1]] [1m[35mCoalescingPanda::Section Load (0.0ms)[0m SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_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"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Enrollment Load (0.1ms)[0m SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '3') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36mCoalescingPanda::User Load (0.1ms)[0m [1mSELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1[0m [["coalescing_panda_lti_account_id", 1]] [1m[35mCoalescingPanda::Section Load (0.0ms)[0m SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_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"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mUPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1[0m [["percent_complete", 42.9], ["updated_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::Assignment Load (0.1ms)[0m [1mSELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "grade_group_students_individually", "name", "points_possible", "published", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_assignment_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 18:04:38 UTC +00:00], ["description", "What is your name?
"], ["grade_group_students_individually", false], ["name", "Gimme your name"], ["points_possible", 100.0], ["published", true], ["submission_types", "---\n- online_text_entry\n"], ["updated_at", Tue, 18 Nov 2014 18:04:42 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::Assignment Load (0.1ms)[0m [1mSELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "grade_group_students_individually", "name", "points_possible", "published", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_assignment_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 19:10:28 UTC +00:00], ["description", "What is your Favorite Color?
"], ["grade_group_students_individually", false], ["name", "Favorite Color"], ["points_possible", 100.0], ["published", true], ["submission_types", "---\n- online_text_entry\n"], ["updated_at", Tue, 18 Nov 2014 19:10:30 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 57.1], ["updated_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Assignment Load (0.1ms)[0m SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? [["coalescing_panda_course_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 71.4], ["updated_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Group Load (0.1ms)[0m SELECT "coalescing_panda_groups".* FROM "coalescing_panda_groups" WHERE "coalescing_panda_groups"."context_id" = ? AND "coalescing_panda_groups"."context_type" = ? AND (canvas_group_id = '4') ORDER BY "coalescing_panda_groups"."id" ASC LIMIT 1 [["context_id", 1], ["context_type", "CoalescingPanda::Course"]] CoalescingPanda::Group not created: Batch: 1, Message: uninitialized constant Course, values: {"description"=>nil, "group_category_id"=>3, "id"=>4, "is_public"=>false, "join_level"=>"invitation_only", "max_membership"=>5, "name"=>"Student Group 1", "members_count"=>2, "storage_quota_mb"=>50, "context_type"=>"Course", "course_id"=>3709, "avatar_url"=>nil, "role"=>nil, "leader"=>nil, "canvas_group_id"=>4} [1m[36mCoalescingPanda::Group Load (0.2ms)[0m [1mSELECT "coalescing_panda_groups".* FROM "coalescing_panda_groups" WHERE "coalescing_panda_groups"."context_id" = ? AND "coalescing_panda_groups"."context_type" = ? AND (canvas_group_id = '5') ORDER BY "coalescing_panda_groups"."id" ASC LIMIT 1[0m [["context_id", 1], ["context_type", "CoalescingPanda::Course"]] CoalescingPanda::Group not created: Batch: 1, Message: uninitialized constant Course, values: {"description"=>nil, "group_category_id"=>3, "id"=>5, "is_public"=>false, "join_level"=>"invitation_only", "max_membership"=>5, "name"=>"Student Group 2", "members_count"=>2, "storage_quota_mb"=>50, "context_type"=>"Course", "course_id"=>3709, "avatar_url"=>nil, "role"=>nil, "leader"=>nil, "canvas_group_id"=>5} [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mUPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1[0m [["percent_complete", 85.7], ["updated_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::Group Load (0.1ms)[0m [1mSELECT "coalescing_panda_groups".* FROM "coalescing_panda_groups" WHERE "coalescing_panda_groups"."context_id" = ? AND "coalescing_panda_groups"."context_type" = ?[0m [["context_id", 1], ["context_type", "CoalescingPanda::Course"]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mUPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1[0m [["percent_complete", 100.0], ["updated_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["status", "Completed"], ["updated_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (1.3ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 78' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 78' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "77"], ["created_at", Thu, 08 Jan 2015 00:01: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", Thu, 08 Jan 2015 00:01:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 79' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 79' LIMIT 1[0m [1m[35mSQL (0.6ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:01: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", Thu, 08 Jan 2015 00:01:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 31], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 00:01:44 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.8ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 80' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 80' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:01: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", Thu, 08 Jan 2015 00:01:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 81' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 81' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "80"], ["created_at", Thu, 08 Jan 2015 00:01: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", Thu, 08 Jan 2015 00:01:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 00:01:44 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 27], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mCoalescingPanda::Section Load (0.1ms)[0m SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 82' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 82' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:01: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", Thu, 08 Jan 2015 00:01:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 83' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 83' LIMIT 1 [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "82"], ["created_at", Thu, 08 Jan 2015 00:01: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", Thu, 08 Jan 2015 00:01:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 00:01:44 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 28], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Section Load (0.0ms)[0m SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00], ["name", "Course1"], ["updated_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "coalescing_panda_sections" [1m[36m (0.8ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mCoalescingPanda::User Load (0.1ms)[0m [1mSELECT "coalescing_panda_users".* FROM "coalescing_panda_users"[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 84' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 84' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "83"], ["created_at", Thu, 08 Jan 2015 00:01: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", Thu, 08 Jan 2015 00:01:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 85' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 85' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:01: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", Thu, 08 Jan 2015 00:01:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 34], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 00:01:44 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::User Load (0.0ms)[0m [1mSELECT "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[0m [["coalescing_panda_lti_account_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00], ["name", "teacher@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::User Load (0.0ms)[0m [1mSELECT "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[0m [["coalescing_panda_lti_account_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00], ["name", "student1@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::User Load (0.0ms)[0m [1mSELECT "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[0m [["coalescing_panda_lti_account_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00], ["name", "student2@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "coalescing_panda_users"[0m [1m[35m (0.8ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mCoalescingPanda::Enrollment Load (0.1ms)[0m SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 86' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 86' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:01: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", Thu, 08 Jan 2015 00:01:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 87' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 87' LIMIT 1 [1m[36mSQL (0.8ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "86"], ["created_at", Thu, 08 Jan 2015 00:01: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", Thu, 08 Jan 2015 00:01:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m 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", Thu, 08 Jan 2015 00:01:44 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 30], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Section Load (0.0ms)[0m SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00], ["name", "Course1"], ["updated_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::User Load (0.0ms)[0m 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]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00], ["name", "teacher@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::User Load (0.0ms)[0m 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]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00], ["name", "student1@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::User Load (0.0ms)[0m 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]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00], ["name", "student2@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Enrollment Load (0.0ms)[0m SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '1') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36mCoalescingPanda::User Load (0.0ms)[0m [1mSELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '1' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1[0m [["coalescing_panda_lti_account_id", 1]] [1m[35mCoalescingPanda::Section Load (0.0ms)[0m SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_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"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Enrollment Load (0.0ms)[0m SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '2') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36mCoalescingPanda::User Load (0.0ms)[0m [1mSELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1[0m [["coalescing_panda_lti_account_id", 1]] [1m[35mCoalescingPanda::Section Load (0.0ms)[0m SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_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"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Enrollment Load (0.0ms)[0m SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '3') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36mCoalescingPanda::User Load (0.0ms)[0m [1mSELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1[0m [["coalescing_panda_lti_account_id", 1]] [1m[35mCoalescingPanda::Section Load (0.0ms)[0m SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_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"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "coalescing_panda_enrollments" [1m[36mCoalescingPanda::Enrollment Load (0.1ms)[0m [1mSELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" ORDER BY "coalescing_panda_enrollments"."id" DESC LIMIT 1[0m [1m[35m (0.8ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mCoalescingPanda::Assignment Load (0.1ms)[0m SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 88' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 88' LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:01: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", Thu, 08 Jan 2015 00:01:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 89' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 89' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "88"], ["created_at", Thu, 08 Jan 2015 00:01: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", Thu, 08 Jan 2015 00:01:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 00:01:44 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 31], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Assignment Load (0.0ms)[0m SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "grade_group_students_individually", "name", "points_possible", "published", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 18:04:38 UTC +00:00], ["description", "What is your name?
"], ["grade_group_students_individually", false], ["name", "Gimme your name"], ["points_possible", 100.0], ["published", true], ["submission_types", "---\n- online_text_entry\n"], ["updated_at", Tue, 18 Nov 2014 18:04:42 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Assignment Load (0.0ms)[0m SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "grade_group_students_individually", "name", "points_possible", "published", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 19:10:28 UTC +00:00], ["description", "What is your Favorite Color?
"], ["grade_group_students_individually", false], ["name", "Favorite Color"], ["points_possible", 100.0], ["published", true], ["submission_types", "---\n- online_text_entry\n"], ["updated_at", Tue, 18 Nov 2014 19:10:30 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "coalescing_panda_assignments" [1m[36m (0.8ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mCoalescingPanda::Submission Load (0.1ms)[0m [1mSELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions"[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 90' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 90' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "89"], ["created_at", Thu, 08 Jan 2015 00:01: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", Thu, 08 Jan 2015 00:01:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 91' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 91' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:01: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", Thu, 08 Jan 2015 00:01:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 37], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 00:01:44 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::User Load (0.0ms)[0m [1mSELECT "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[0m [["coalescing_panda_lti_account_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00], ["name", "teacher@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::User Load (0.0ms)[0m [1mSELECT "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[0m [["coalescing_panda_lti_account_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00], ["name", "student1@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::User Load (0.0ms)[0m [1mSELECT "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[0m [["coalescing_panda_lti_account_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00], ["name", "student2@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::Assignment Load (0.0ms)[0m [1mSELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "grade_group_students_individually", "name", "points_possible", "published", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_assignment_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 18:04:38 UTC +00:00], ["description", "What is your name?
"], ["grade_group_students_individually", false], ["name", "Gimme your name"], ["points_possible", 100.0], ["published", true], ["submission_types", "---\n- online_text_entry\n"], ["updated_at", Tue, 18 Nov 2014 18:04:42 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::Assignment Load (0.0ms)[0m [1mSELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "grade_group_students_individually", "name", "points_possible", "published", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_assignment_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 19:10:28 UTC +00:00], ["description", "What is your Favorite Color?
"], ["grade_group_students_individually", false], ["name", "Favorite Color"], ["points_possible", 100.0], ["published", true], ["submission_types", "---\n- online_text_entry\n"], ["updated_at", Tue, 18 Nov 2014 19:10:30 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::Submission Load (0.1ms)[0m [1mSELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '3') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35mCoalescingPanda::User Load (0.0ms)[0m SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] [1m[36mCoalescingPanda::Assignment Load (0.1ms)[0m [1mSELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_submission_id", 3], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 3], ["created_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00], ["grade", "70"], ["score", 70], ["updated_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00], ["workflow_state", "graded"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::Submission Load (0.3ms)[0m [1mSELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '1') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35mCoalescingPanda::User Load (0.0ms)[0m SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] [1m[36mCoalescingPanda::Assignment Load (0.0ms)[0m [1mSELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_submission_id", 1], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 2], ["created_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00], ["grade", "100"], ["score", 100], ["updated_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00], ["workflow_state", "graded"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::Submission Load (0.1ms)[0m [1mSELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '4') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35mCoalescingPanda::User Load (0.0ms)[0m SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] [1m[36mCoalescingPanda::Assignment Load (0.1ms)[0m [1mSELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_submission_id", 4], ["coalescing_panda_assignment_id", 2], ["coalescing_panda_user_id", 3], ["created_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00], ["grade", "90"], ["score", 90], ["updated_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00], ["workflow_state", "graded"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::Submission Load (0.1ms)[0m [1mSELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '2') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35mCoalescingPanda::User Load (0.0ms)[0m SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] [1m[36mCoalescingPanda::Assignment Load (0.0ms)[0m [1mSELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_submission_id", 2], ["coalescing_panda_assignment_id", 2], ["coalescing_panda_user_id", 2], ["created_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00], ["grade", "80"], ["score", 80], ["updated_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00], ["workflow_state", "graded"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "coalescing_panda_submissions"[0m [1m[35m (0.8ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 92' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 92' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "91"], ["created_at", Thu, 08 Jan 2015 00:01: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", Thu, 08 Jan 2015 00:01:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 93' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 93' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:01: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", Thu, 08 Jan 2015 00:01:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 38], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 00:01:44 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.8ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.2ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 94' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 94' LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:01: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", Thu, 08 Jan 2015 00:01:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 95' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 95' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "94"], ["created_at", Thu, 08 Jan 2015 00:01: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", Thu, 08 Jan 2015 00:01:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m 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", Thu, 08 Jan 2015 00:01:44 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 34], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 96' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 96' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "95"], ["created_at", Thu, 08 Jan 2015 00:01: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", Thu, 08 Jan 2015 00:01:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 97' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 97' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:01: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", Thu, 08 Jan 2015 00:01:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 40], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 00:01:44 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 98' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 98' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:01: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", Thu, 08 Jan 2015 00:01:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 99' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 99' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "98"], ["created_at", Thu, 08 Jan 2015 00:01: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", Thu, 08 Jan 2015 00:01:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 00:01:44 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 36], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.8ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 100' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 100' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "99"], ["created_at", Thu, 08 Jan 2015 00:01: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", Thu, 08 Jan 2015 00:01:44 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 101' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 101' LIMIT 1[0m [1m[35mSQL (0.6ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:01:44 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", Thu, 08 Jan 2015 00:01:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 42], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 00:01:44 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (1.0ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 102' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 102' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:01:44 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", Thu, 08 Jan 2015 00:01:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 103' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 103' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "102"], ["created_at", Thu, 08 Jan 2015 00:01:44 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", Thu, 08 Jan 2015 00:01:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 00:01:44 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 38], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 104' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 104' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "103"], ["created_at", Thu, 08 Jan 2015 00:01:44 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", Thu, 08 Jan 2015 00:01:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 105' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 105' LIMIT 1[0m [1m[35mSQL (0.7ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:01:44 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", Thu, 08 Jan 2015 00:01:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 44], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 00:01:44 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.9ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 106' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 106' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:01:44 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", Thu, 08 Jan 2015 00:01:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 107' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 107' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "106"], ["created_at", Thu, 08 Jan 2015 00:01:44 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", Thu, 08 Jan 2015 00:01:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 00:01:44 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 40], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 108' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 108' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "107"], ["created_at", Thu, 08 Jan 2015 00:01:44 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", Thu, 08 Jan 2015 00:01:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 109' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 109' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:01:44 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", Thu, 08 Jan 2015 00:01:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 46], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 00:01:44 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.8ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 110' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 110' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:01:44 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", Thu, 08 Jan 2015 00:01:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 111' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 111' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "110"], ["created_at", Thu, 08 Jan 2015 00:01:44 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", Thu, 08 Jan 2015 00:01:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 00:01:44 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 42], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 00:01:44 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 112' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 112' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "111"], ["created_at", Thu, 08 Jan 2015 00:01:44 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", Thu, 08 Jan 2015 00:01:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 113' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 113' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:01:44 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", Thu, 08 Jan 2015 00:01:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 48], ["coalescing_panda_lti_account_id", 4], ["created_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 00:01:44 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::Course Load (0.1ms)[0m [1mSELECT "coalescing_panda_courses".* FROM "coalescing_panda_courses" WHERE "coalescing_panda_courses"."id" = ? LIMIT 1[0m [["id", 2]] [1m[35mSQL (0.2ms)[0m UPDATE "coalescing_panda_sections" SET "coalescing_panda_course_id" = ?, "updated_at" = ? WHERE "coalescing_panda_sections"."id" = 1 [["coalescing_panda_course_id", 2], ["updated_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 00:01:44 UTC +00:00], ["email", "test18@test.com"], ["name", "Factory User 18"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::User Load (0.1ms)[0m 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]] [1m[36mCoalescingPanda::Section Load (0.1ms)[0m [1mSELECT "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[0m [["coalescing_panda_course_id", 2]] [1m[35m (1.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 114' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 114' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "113"], ["created_at", Thu, 08 Jan 2015 00:01:44 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", Thu, 08 Jan 2015 00:01:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 115' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 115' LIMIT 1[0m [1m[35mSQL (0.7ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:01:44 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", Thu, 08 Jan 2015 00:01:44 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 49], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 00:01:44 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:01:44 UTC +00:00]] [1m[36m (59.6ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Thu, 08 Jan 2015 00:01:45 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 00:01:45 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.9ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 116' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 116' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:01:45 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", Thu, 08 Jan 2015 00:01:45 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 117' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 117' LIMIT 1 [1m[36mSQL (0.7ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "116"], ["created_at", Thu, 08 Jan 2015 00:01:45 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", Thu, 08 Jan 2015 00:01:45 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 00:01:45 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:01:45 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 45], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 00:01:45 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:01:45 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_assignment_id", "9"], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 00:01:45 UTC +00:00], ["name", "test assignment"], ["submission_types", nil], ["updated_at", Thu, 08 Jan 2015 00:01:45 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Thu, 08 Jan 2015 00:01:45 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 00:01:45 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m 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", Thu, 08 Jan 2015 00:01:45 UTC +00:00], ["email", "test19@test.com"], ["name", "Factory User 19"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 00:01:45 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::User Load (0.1ms)[0m 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]] [1m[36mCoalescingPanda::Assignment Load (0.1ms)[0m [1mSELECT "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[0m [["coalescing_panda_course_id", 1]] [1m[35m (1.0ms)[0m rollback transaction [1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m [1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations" [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m Processing by CoalescingPanda::LtiController#lti_config as HTML Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m Processing by CoalescingPanda::LtiController#lti_config as HTML Completed 500 Internal Server Error in 1ms [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m 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) [1m[35mCoalescingPanda::CanvasApiAuth Load (0.1ms)[0m 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 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction Processing by CoalescingPanda::Oauth2Controller#redirect as HTML Parameters: {"error"=>"your face"} Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "coalescing_panda_canvas_api_auths"[0m [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 1' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 1' LIMIT 1 [1m[36mSQL (2.3ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "1"], ["created_at", Thu, 08 Jan 2015 00:03: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", Thu, 08 Jan 2015 00:03:44 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 2' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 2' LIMIT 1[0m [1m[35mSQL (1.3ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:03: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", Thu, 08 Jan 2015 00:03:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 1], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:03:44 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:03:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 00:03:44 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:03:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (1.3ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 3' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 3' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "3"], ["created_at", Thu, 08 Jan 2015 00:03: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", Thu, 08 Jan 2015 00:03:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 4' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 4' LIMIT 1[0m [1m[35mSQL (0.6ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:03: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", Thu, 08 Jan 2015 00:03:44 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 2], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:03:44 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:03:44 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 00:03:44 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:03:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.8ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 5' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 5' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "5"], ["created_at", Thu, 08 Jan 2015 00:03: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", Thu, 08 Jan 2015 00:03:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 6' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 6' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:03: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", Thu, 08 Jan 2015 00:03:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 3], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:03:44 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:03:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 00:03:44 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:03:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_assignment_id", "1"], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 00:03:44 UTC +00:00], ["name", "test assignment"], ["submission_types", nil], ["updated_at", Thu, 08 Jan 2015 00:03:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_assignment_id", "1"], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 00:03:44 UTC +00:00], ["name", "test assignment"], ["submission_types", nil], ["updated_at", Thu, 08 Jan 2015 00:03:44 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", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m [1m[35m (0.8ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 7' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 7' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "7"], ["created_at", Thu, 08 Jan 2015 00:03: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", Thu, 08 Jan 2015 00:03:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 8' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 8' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:03: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", Thu, 08 Jan 2015 00:03:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 4], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:03:44 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:03:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 00:03:44 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:03:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.6ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mCoalescingPanda::CanvasApiAuth Load (0.2ms)[0m SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" ORDER BY "coalescing_panda_canvas_api_auths"."id" ASC LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.6ms)[0m INSERT INTO "coalescing_panda_canvas_api_auths" ("created_at", "updated_at", "user_id") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 00:03:44 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:03:44 UTC +00:00], ["user_id", "a"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::CanvasApiAuth Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1 [1m[36mCoalescingPanda::CanvasApiAuth Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1[0m [1m[35mCoalescingPanda::CanvasApiAuth Load (0.1ms)[0m SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" [1m[36mCoalescingPanda::CanvasApiAuth Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" = '1') LIMIT 1[0m [1m[35mCoalescingPanda::CanvasApiAuth Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" = '1') LIMIT 1 [1m[36m (0.4ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mCoalescingPanda::CanvasApiAuth Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1[0m [1m[35mCoalescingPanda::CanvasApiAuth Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1 [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mCoalescingPanda::CanvasApiAuth Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1[0m [1m[35mCoalescingPanda::CanvasApiAuth Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1 [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 00:03:44 UTC +00:00], ["status", "Pending"], ["updated_at", Thu, 08 Jan 2015 00:03:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Thu, 08 Jan 2015 00:03:44 UTC +00:00], ["status", "Pending"], ["updated_at", Thu, 08 Jan 2015 00:03:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 00:03:44 UTC +00:00], ["status", "Pending"], ["updated_at", Thu, 08 Jan 2015 00:03:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::CanvasBatch Load (0.1ms)[0m SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" ORDER BY created_at DESC [1m[36m (0.8ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 9' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 9' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:03: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", Thu, 08 Jan 2015 00:03:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 10' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 10' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "10"], ["created_at", Thu, 08 Jan 2015 00:03: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", Thu, 08 Jan 2015 00:03:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 00:03:44 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:03:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.8ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 11' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 11' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "11"], ["created_at", Thu, 08 Jan 2015 00:03: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", Thu, 08 Jan 2015 00:03:44 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 12' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 12' LIMIT 1[0m [1m[35mSQL (0.6ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:03: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", Thu, 08 Jan 2015 00:03:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 6], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:03:44 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:03:44 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.8ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.2ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 13' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 13' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:03: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", Thu, 08 Jan 2015 00:03:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 14' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 14' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "14"], ["created_at", Thu, 08 Jan 2015 00:03: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", Thu, 08 Jan 2015 00:03:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 00:03:44 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:03:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 00:03:44 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:03:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 15' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 15' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:03: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", Thu, 08 Jan 2015 00:03:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 8], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 00:03:44 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:03:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 00:03:44 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:03: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 (?, ?, ?, ?, ?, ?) [1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m [1m[35m (0.8ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 16' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 16' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "16"], ["created_at", Thu, 08 Jan 2015 00:03: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", Thu, 08 Jan 2015 00:03:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.5ms)[0m 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", Thu, 08 Jan 2015 00:03:44 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:03:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 17' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 17' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "17"], ["created_at", Thu, 08 Jan 2015 00:03: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", Thu, 08 Jan 2015 00:03:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 00:03:44 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:03:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 18' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 18' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "18"], ["created_at", Thu, 08 Jan 2015 00:03: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", Thu, 08 Jan 2015 00:03:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 00:03:44 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:03: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 (?, ?, ?, ?, ?, ?) [1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m [1m[35m (0.8ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 19' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 19' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "19"], ["created_at", Thu, 08 Jan 2015 00:03: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", Thu, 08 Jan 2015 00:03:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 20' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 20' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:03: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", Thu, 08 Jan 2015 00:03:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 10], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:03:44 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:03:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 21' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 21' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:03: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", Thu, 08 Jan 2015 00:03:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 00:03:44 UTC +00:00], ["email", "test1@test.com"], ["name", "Factory User 1"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 00:03:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 22' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 22' LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:03: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", Thu, 08 Jan 2015 00:03:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 23' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 23' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "23"], ["created_at", Thu, 08 Jan 2015 00:03: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", Thu, 08 Jan 2015 00:03:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m 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", Thu, 08 Jan 2015 00:03:44 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:03:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 7], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 00:03:44 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:03:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m 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", Thu, 08 Jan 2015 00:03:44 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:03:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (1.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 24' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 24' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "24"], ["created_at", Thu, 08 Jan 2015 00:03: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", Thu, 08 Jan 2015 00:03:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.5ms)[0m 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", Thu, 08 Jan 2015 00:03:44 UTC +00:00], ["email", "test2@test.com"], ["name", "Factory User 2"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 00:03:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 25' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 25' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "25"], ["created_at", Thu, 08 Jan 2015 00:03: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", Thu, 08 Jan 2015 00:03:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 26' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 26' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:03: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", Thu, 08 Jan 2015 00:03:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 12], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 00:03:44 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:03:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 00:03:44 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:03:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_section_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 00:03:44 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:03:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.6ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 27' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 27' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:03: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", Thu, 08 Jan 2015 00:03:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 00:03:44 UTC +00:00], ["email", "test3@test.com"], ["name", "Factory User 3"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 00:03:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 28' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 28' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:03: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", Thu, 08 Jan 2015 00:03:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 29' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 29' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "29"], ["created_at", Thu, 08 Jan 2015 00:03: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", Thu, 08 Jan 2015 00:03:44 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 00:03:44 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:03:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 9], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 00:03:44 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:03:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 00:03:44 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:03:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.9ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 30' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 30' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "30"], ["created_at", Thu, 08 Jan 2015 00:03: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", Thu, 08 Jan 2015 00:03:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.6ms)[0m 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", Thu, 08 Jan 2015 00:03:44 UTC +00:00], ["email", "test4@test.com"], ["name", "Factory User 4"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 00:03:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 31' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 31' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "31"], ["created_at", Thu, 08 Jan 2015 00:03: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", Thu, 08 Jan 2015 00:03:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 32' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 32' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:03: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", Thu, 08 Jan 2015 00:03:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 14], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 00:03:44 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:03:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 00:03:44 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:03:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_section_id", 4], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 00:03:44 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:03:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m 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", Thu, 08 Jan 2015 00:03:44 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Thu, 08 Jan 2015 00:03:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_enrollment_id", 4], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Thu, 08 Jan 2015 00:03:44 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Thu, 08 Jan 2015 00:03:44 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 (?, ?, ?, ?, ?, ?) [1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1 [1m[36m (0.8ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 33' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 33' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:03: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", Thu, 08 Jan 2015 00:03:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 5], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 00:03:44 UTC +00:00], ["email", "test5@test.com"], ["name", "Factory User 5"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 00:03:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 34' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 34' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:03: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", Thu, 08 Jan 2015 00:03:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 35' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 35' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "35"], ["created_at", Thu, 08 Jan 2015 00:03: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", Thu, 08 Jan 2015 00:03:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 00:03:44 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:03:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 11], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 00:03:44 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:03:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 00:03:44 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:03:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_enrollment_id", 5], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Thu, 08 Jan 2015 00:03:44 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Thu, 08 Jan 2015 00:03:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 00:03:44 UTC +00:00], ["enrollment_type", "TeacherEnrollment"], ["updated_at", Thu, 08 Jan 2015 00:03:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 36' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 36' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "36"], ["created_at", Thu, 08 Jan 2015 00:03: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", Thu, 08 Jan 2015 00:03:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.5ms)[0m 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", Thu, 08 Jan 2015 00:03:44 UTC +00:00], ["email", "test6@test.com"], ["name", "Factory User 6"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 00:03:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 37' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 37' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "37"], ["created_at", Thu, 08 Jan 2015 00:03: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", Thu, 08 Jan 2015 00:03:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 38' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 38' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:03: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", Thu, 08 Jan 2015 00:03:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 16], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 00:03:44 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:03:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 00:03:44 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:03:44 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_section_id", 6], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 00:03:44 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:03:44 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (1.0ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 39' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 39' LIMIT 1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 40' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 40' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:03: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", Thu, 08 Jan 2015 00:03:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 41' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 41' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "40"], ["created_at", Thu, 08 Jan 2015 00:03: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", Thu, 08 Jan 2015 00:03:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 00:03:44 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:03:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 13], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 00:03:44 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:03:44 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.6ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.2ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 42' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 42' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:03: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", Thu, 08 Jan 2015 00:03:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 43' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 43' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "42"], ["created_at", Thu, 08 Jan 2015 00:03: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", Thu, 08 Jan 2015 00:03:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 00:03:44 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:03:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 14], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 00:03:44 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:03:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.9ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 44' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 44' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:03: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", Thu, 08 Jan 2015 00:03:44 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 45' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 45' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "44"], ["created_at", Thu, 08 Jan 2015 00:03: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", Thu, 08 Jan 2015 00:03:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m 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", Thu, 08 Jan 2015 00:03:44 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:03:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 15], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 00:03:44 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:03:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m 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", Thu, 08 Jan 2015 00:03:44 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:03:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_section_id", "1"], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 00:03:44 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:03:44 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 (?, ?, ?, ?) [1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1 [1m[36m (0.8ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 46' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 46' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:03: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", Thu, 08 Jan 2015 00:03:45 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 47' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 47' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "46"], ["created_at", Thu, 08 Jan 2015 00:03: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", Thu, 08 Jan 2015 00:03:45 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 00:03:45 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:03:45 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 16], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 00:03:45 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:03:45 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.6ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 48' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 48' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:03: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", Thu, 08 Jan 2015 00:03:45 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 7], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 00:03:45 UTC +00:00], ["email", "test7@test.com"], ["name", "Factory User 7"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 00:03:45 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 49' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 49' LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:03: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", Thu, 08 Jan 2015 00:03:45 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 50' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 50' LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "49"], ["created_at", Thu, 08 Jan 2015 00:03: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", Thu, 08 Jan 2015 00:03:45 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 00:03:45 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:03:45 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 17], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 00:03:45 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:03:45 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_assignment_id", "3"], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 00:03:45 UTC +00:00], ["name", "test assignment"], ["submission_types", nil], ["updated_at", Thu, 08 Jan 2015 00:03:45 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.9ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 51' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 51' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "50"], ["created_at", Thu, 08 Jan 2015 00:03: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", Thu, 08 Jan 2015 00:03:45 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.6ms)[0m 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", Thu, 08 Jan 2015 00:03:45 UTC +00:00], ["email", "test8@test.com"], ["name", "Factory User 8"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 00:03:45 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 52' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 52' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "51"], ["created_at", Thu, 08 Jan 2015 00:03: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", Thu, 08 Jan 2015 00:03:45 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 53' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 53' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:03: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", Thu, 08 Jan 2015 00:03:45 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 22], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 00:03:45 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:03:45 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 00:03:45 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:03:45 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_assignment_id", "4"], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 00:03:45 UTC +00:00], ["name", "test assignment"], ["submission_types", nil], ["updated_at", Thu, 08 Jan 2015 00:03:45 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.8ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 54' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 54' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:03: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", Thu, 08 Jan 2015 00:03:45 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 9], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 00:03:45 UTC +00:00], ["email", "test9@test.com"], ["name", "Factory User 9"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 00:03:45 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 55' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 55' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:03: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", Thu, 08 Jan 2015 00:03:45 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 56' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 56' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "55"], ["created_at", Thu, 08 Jan 2015 00:03: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", Thu, 08 Jan 2015 00:03:45 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 00:03:45 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:03:45 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 19], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 00:03:45 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:03:45 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_assignment_id", "5"], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 00:03:45 UTC +00:00], ["name", "test assignment"], ["submission_types", nil], ["updated_at", Thu, 08 Jan 2015 00:03:45 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 57' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 57' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "56"], ["created_at", Thu, 08 Jan 2015 00:03: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", Thu, 08 Jan 2015 00:03:45 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.5ms)[0m 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", Thu, 08 Jan 2015 00:03:45 UTC +00:00], ["email", "test10@test.com"], ["name", "Factory User 10"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 00:03:45 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 58' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 58' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "57"], ["created_at", Thu, 08 Jan 2015 00:03: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", Thu, 08 Jan 2015 00:03:45 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 59' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 59' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:03: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", Thu, 08 Jan 2015 00:03:45 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 24], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 00:03:45 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:03:45 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 00:03:45 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:03:45 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_assignment_id", "6"], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 00:03:45 UTC +00:00], ["name", "test assignment"], ["submission_types", nil], ["updated_at", Thu, 08 Jan 2015 00:03:45 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m 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", Thu, 08 Jan 2015 00:03:45 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:03:45 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["canvas_submission_id", "1"], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Thu, 08 Jan 2015 00:03:45 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:03:45 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 (?, ?, ?, ?, ?) [1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1 [1m[36m (0.8ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 60' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 60' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:03: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", Thu, 08 Jan 2015 00:03:45 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 11], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 00:03:45 UTC +00:00], ["email", "test11@test.com"], ["name", "Factory User 11"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 00:03:45 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 61' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 61' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:03: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", Thu, 08 Jan 2015 00:03:45 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 62' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 62' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "61"], ["created_at", Thu, 08 Jan 2015 00:03: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", Thu, 08 Jan 2015 00:03:45 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m 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", Thu, 08 Jan 2015 00:03:45 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:03:45 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 21], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 00:03:45 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:03:45 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_assignment_id", "7"], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 00:03:45 UTC +00:00], ["name", "test assignment"], ["submission_types", nil], ["updated_at", Thu, 08 Jan 2015 00:03:45 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["canvas_submission_id", "1"], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Thu, 08 Jan 2015 00:03:45 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:03:45 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 00:03:45 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:03:45 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.9ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 63' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 63' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "62"], ["created_at", Thu, 08 Jan 2015 00:03: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", Thu, 08 Jan 2015 00:03:45 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.5ms)[0m 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", Thu, 08 Jan 2015 00:03:45 UTC +00:00], ["email", "test12@test.com"], ["name", "Factory User 12"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 00:03:45 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 64' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 64' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "63"], ["created_at", Thu, 08 Jan 2015 00:03: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", Thu, 08 Jan 2015 00:03:45 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 65' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 65' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:03: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", Thu, 08 Jan 2015 00:03:45 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 26], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 00:03:45 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:03:45 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 00:03:45 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:03:45 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_assignment_id", "8"], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 00:03:45 UTC +00:00], ["name", "test assignment"], ["submission_types", nil], ["updated_at", Thu, 08 Jan 2015 00:03:45 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 66' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 66' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:03: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", Thu, 08 Jan 2015 00:03:45 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.4ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 67' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 67' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "66"], ["created_at", Thu, 08 Jan 2015 00:03: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", Thu, 08 Jan 2015 00:03:45 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.7ms)[0m 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", Thu, 08 Jan 2015 00:03:45 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:03:45 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 00:03:45 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:03:45 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 (?, ?, ?, ?) [1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1 [1m[36m (0.5ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.2ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 68' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 68' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:03: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", Thu, 08 Jan 2015 00:03:45 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.3ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 69' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 69' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "68"], ["created_at", Thu, 08 Jan 2015 00:03: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", Thu, 08 Jan 2015 00:03:45 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.4ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 70' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 70' LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:03: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", Thu, 08 Jan 2015 00:03:45 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 00:03:45 UTC +00:00], ["email", "test15@test.com"], ["name", "Factory User 15"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 00:03:45 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.4ms)[0m 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", Thu, 08 Jan 2015 00:03:45 UTC +00:00], ["email", "test16@test.com"], ["name", "Factory User 16"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 00:03:45 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 (?, ?, ?, ?, ?, ?, ?) [1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m [1m[35m (0.8ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 71' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 71' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "70"], ["created_at", Thu, 08 Jan 2015 00:03: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", Thu, 08 Jan 2015 00:03:45 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.3ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (52.7ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.2ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 72' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 72' LIMIT 1[0m [1m[35mSQL (0.7ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:03: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", Thu, 08 Jan 2015 00:03:45 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 73' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 73' LIMIT 1 [1m[36mSQL (0.7ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "72"], ["created_at", Thu, 08 Jan 2015 00:03: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", Thu, 08 Jan 2015 00:03:45 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m 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", Thu, 08 Jan 2015 00:03:45 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:03:45 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 23], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 00:03:45 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:03:45 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 00:03:45 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 00:03:45 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::CanvasBatch Load (0.1ms)[0m SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" ORDER BY created_at ASC LIMIT 1 [1m[36m (0.8ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 74' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 74' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:03: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", Thu, 08 Jan 2015 00:03:45 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 75' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 75' LIMIT 1 [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "74"], ["created_at", Thu, 08 Jan 2015 00:03: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", Thu, 08 Jan 2015 00:03:45 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 00:03:45 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:03:45 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 24], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 00:03:45 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:03:45 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 00:03:45 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 00:03:45 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.9ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 76' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 76' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "75"], ["created_at", Thu, 08 Jan 2015 00:03: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", Thu, 08 Jan 2015 00:03:45 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 77' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 77' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:03: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", Thu, 08 Jan 2015 00:03:45 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 30], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:03:45 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:03:45 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 00:03:45 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:03:45 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Thu, 08 Jan 2015 00:03:45 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 00:03:45 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m UPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["status", "Started"], ["updated_at", Thu, 08 Jan 2015 00:03:45 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Section Load (0.1ms)[0m SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 00:03:45 UTC +00:00], ["name", "Course1"], ["updated_at", Thu, 08 Jan 2015 00:03:45 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mUPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1[0m [["percent_complete", 14.3], ["updated_at", Thu, 08 Jan 2015 00:03:45 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::User Load (0.1ms)[0m [1mSELECT "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[0m [["coalescing_panda_lti_account_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 00:03:45 UTC +00:00], ["name", "teacher@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 00:03:45 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::User Load (0.1ms)[0m [1mSELECT "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[0m [["coalescing_panda_lti_account_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 00:03:45 UTC +00:00], ["name", "student1@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 00:03:45 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::User Load (0.1ms)[0m [1mSELECT "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[0m [["coalescing_panda_lti_account_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 00:03:45 UTC +00:00], ["name", "student2@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 00:03:45 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 28.6], ["updated_at", Thu, 08 Jan 2015 00:03:45 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Enrollment Load (0.1ms)[0m SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '1') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36mCoalescingPanda::User Load (0.1ms)[0m [1mSELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '1' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1[0m [["coalescing_panda_lti_account_id", 1]] [1m[35mCoalescingPanda::Section Load (0.1ms)[0m SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "coalescing_panda_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"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Enrollment Load (0.1ms)[0m SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '2') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36mCoalescingPanda::User Load (0.1ms)[0m [1mSELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1[0m [["coalescing_panda_lti_account_id", 1]] [1m[35mCoalescingPanda::Section Load (0.0ms)[0m SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_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"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Enrollment Load (0.1ms)[0m SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '3') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36mCoalescingPanda::User Load (0.1ms)[0m [1mSELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1[0m [["coalescing_panda_lti_account_id", 1]] [1m[35mCoalescingPanda::Section Load (0.0ms)[0m SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_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"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mUPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1[0m [["percent_complete", 42.9], ["updated_at", Thu, 08 Jan 2015 00:03:45 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::Assignment Load (0.1ms)[0m [1mSELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "grade_group_students_individually", "name", "points_possible", "published", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_assignment_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 18:04:38 UTC +00:00], ["description", "What is your name?
"], ["grade_group_students_individually", false], ["name", "Gimme your name"], ["points_possible", 100.0], ["published", true], ["submission_types", "---\n- online_text_entry\n"], ["updated_at", Tue, 18 Nov 2014 18:04:42 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::Assignment Load (0.1ms)[0m [1mSELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "grade_group_students_individually", "name", "points_possible", "published", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_assignment_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 19:10:28 UTC +00:00], ["description", "What is your Favorite Color?
"], ["grade_group_students_individually", false], ["name", "Favorite Color"], ["points_possible", 100.0], ["published", true], ["submission_types", "---\n- online_text_entry\n"], ["updated_at", Tue, 18 Nov 2014 19:10:30 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 57.1], ["updated_at", Thu, 08 Jan 2015 00:03:45 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Assignment Load (0.1ms)[0m SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? [["coalescing_panda_course_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 71.4], ["updated_at", Thu, 08 Jan 2015 00:03:45 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Group Load (0.1ms)[0m SELECT "coalescing_panda_groups".* FROM "coalescing_panda_groups" WHERE "coalescing_panda_groups"."context_id" = ? AND "coalescing_panda_groups"."context_type" = ? AND (canvas_group_id = '4') ORDER BY "coalescing_panda_groups"."id" ASC LIMIT 1 [["context_id", 1], ["context_type", "CoalescingPanda::Course"]] CoalescingPanda::Group not created: Batch: 1, Message: uninitialized constant Course, values: {"description"=>nil, "group_category_id"=>3, "id"=>4, "is_public"=>false, "join_level"=>"invitation_only", "max_membership"=>5, "name"=>"Student Group 1", "members_count"=>2, "storage_quota_mb"=>50, "context_type"=>"Course", "course_id"=>3709, "avatar_url"=>nil, "role"=>nil, "leader"=>nil, "canvas_group_id"=>4} [1m[36mCoalescingPanda::Group Load (0.1ms)[0m [1mSELECT "coalescing_panda_groups".* FROM "coalescing_panda_groups" WHERE "coalescing_panda_groups"."context_id" = ? AND "coalescing_panda_groups"."context_type" = ? AND (canvas_group_id = '5') ORDER BY "coalescing_panda_groups"."id" ASC LIMIT 1[0m [["context_id", 1], ["context_type", "CoalescingPanda::Course"]] CoalescingPanda::Group not created: Batch: 1, Message: uninitialized constant Course, values: {"description"=>nil, "group_category_id"=>3, "id"=>5, "is_public"=>false, "join_level"=>"invitation_only", "max_membership"=>5, "name"=>"Student Group 2", "members_count"=>2, "storage_quota_mb"=>50, "context_type"=>"Course", "course_id"=>3709, "avatar_url"=>nil, "role"=>nil, "leader"=>nil, "canvas_group_id"=>5} [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mUPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1[0m [["percent_complete", 85.7], ["updated_at", Thu, 08 Jan 2015 00:03:45 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::Group Load (0.1ms)[0m [1mSELECT "coalescing_panda_groups".* FROM "coalescing_panda_groups" WHERE "coalescing_panda_groups"."context_id" = ? AND "coalescing_panda_groups"."context_type" = ?[0m [["context_id", 1], ["context_type", "CoalescingPanda::Course"]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mUPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1[0m [["percent_complete", 100.0], ["updated_at", Thu, 08 Jan 2015 00:03:45 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["status", "Completed"], ["updated_at", Thu, 08 Jan 2015 00:03:45 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (1.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 78' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 78' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "77"], ["created_at", Thu, 08 Jan 2015 00:03: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", Thu, 08 Jan 2015 00:03:45 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 79' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 79' LIMIT 1[0m [1m[35mSQL (0.8ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:03:45 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", Thu, 08 Jan 2015 00:03:45 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 31], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:03:45 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:03:45 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 00:03:45 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:03:45 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Thu, 08 Jan 2015 00:03:45 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 00:03:45 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.9ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 80' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 80' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:03:45 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", Thu, 08 Jan 2015 00:03:45 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 81' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 81' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "80"], ["created_at", Thu, 08 Jan 2015 00:03:45 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", Thu, 08 Jan 2015 00:03:45 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 00:03:45 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:03:45 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 27], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 00:03:45 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:03:45 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 00:03:45 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 00:03:45 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.6ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mCoalescingPanda::Section Load (0.2ms)[0m SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 82' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 82' LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:03:45 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", Thu, 08 Jan 2015 00:03:45 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 83' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 83' LIMIT 1 [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "82"], ["created_at", Thu, 08 Jan 2015 00:03:45 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", Thu, 08 Jan 2015 00:03:45 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 00:03:45 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:03:45 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 28], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 00:03:45 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:03:45 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 00:03:45 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 00:03:45 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Section Load (0.0ms)[0m SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 00:03:45 UTC +00:00], ["name", "Course1"], ["updated_at", Thu, 08 Jan 2015 00:03:45 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "coalescing_panda_sections" [1m[36m (0.8ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mCoalescingPanda::User Load (0.1ms)[0m [1mSELECT "coalescing_panda_users".* FROM "coalescing_panda_users"[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 84' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 84' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "83"], ["created_at", Thu, 08 Jan 2015 00:03:45 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", Thu, 08 Jan 2015 00:03:45 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 85' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 85' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:03:45 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", Thu, 08 Jan 2015 00:03:45 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 34], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:03:45 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:03:45 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 00:03:45 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:03:45 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Thu, 08 Jan 2015 00:03:45 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 00:03:45 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::User Load (0.0ms)[0m [1mSELECT "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[0m [["coalescing_panda_lti_account_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 00:03:45 UTC +00:00], ["name", "teacher@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 00:03:45 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::User Load (0.0ms)[0m [1mSELECT "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[0m [["coalescing_panda_lti_account_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 00:03:45 UTC +00:00], ["name", "student1@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 00:03:45 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::User Load (0.0ms)[0m [1mSELECT "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[0m [["coalescing_panda_lti_account_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 00:03:45 UTC +00:00], ["name", "student2@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 00:03:45 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "coalescing_panda_users"[0m [1m[35m (1.0ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mCoalescingPanda::Enrollment Load (0.1ms)[0m SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 86' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 86' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:03:45 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", Thu, 08 Jan 2015 00:03:45 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 87' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 87' LIMIT 1 [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "86"], ["created_at", Thu, 08 Jan 2015 00:03:45 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", Thu, 08 Jan 2015 00:03:45 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m 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", Thu, 08 Jan 2015 00:03:45 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:03:45 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 30], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 00:03:45 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:03:45 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 00:03:45 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 00:03:45 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Section Load (0.0ms)[0m SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 00:03:45 UTC +00:00], ["name", "Course1"], ["updated_at", Thu, 08 Jan 2015 00:03:45 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::User Load (0.0ms)[0m 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]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 00:03:45 UTC +00:00], ["name", "teacher@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 00:03:45 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::User Load (0.0ms)[0m 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]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 00:03:45 UTC +00:00], ["name", "student1@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 00:03:45 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::User Load (0.0ms)[0m 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]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 00:03:45 UTC +00:00], ["name", "student2@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 00:03:45 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Enrollment Load (0.0ms)[0m SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '1') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36mCoalescingPanda::User Load (0.0ms)[0m [1mSELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '1' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1[0m [["coalescing_panda_lti_account_id", 1]] [1m[35mCoalescingPanda::Section Load (0.0ms)[0m SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_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"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Enrollment Load (0.0ms)[0m SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '2') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36mCoalescingPanda::User Load (0.0ms)[0m [1mSELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1[0m [["coalescing_panda_lti_account_id", 1]] [1m[35mCoalescingPanda::Section Load (0.0ms)[0m SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_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"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Enrollment Load (0.0ms)[0m SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '3') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36mCoalescingPanda::User Load (0.0ms)[0m [1mSELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1[0m [["coalescing_panda_lti_account_id", 1]] [1m[35mCoalescingPanda::Section Load (0.0ms)[0m SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_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"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "coalescing_panda_enrollments" [1m[36mCoalescingPanda::Enrollment Load (0.1ms)[0m [1mSELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" ORDER BY "coalescing_panda_enrollments"."id" DESC LIMIT 1[0m [1m[35m (1.0ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mCoalescingPanda::Assignment Load (0.2ms)[0m SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 88' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 88' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:03:45 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", Thu, 08 Jan 2015 00:03:45 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 89' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 89' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "88"], ["created_at", Thu, 08 Jan 2015 00:03:45 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", Thu, 08 Jan 2015 00:03:45 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 00:03:45 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:03:45 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 31], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 00:03:45 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:03:45 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 00:03:45 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 00:03:45 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Assignment Load (0.1ms)[0m SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "grade_group_students_individually", "name", "points_possible", "published", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 18:04:38 UTC +00:00], ["description", "What is your name?
"], ["grade_group_students_individually", false], ["name", "Gimme your name"], ["points_possible", 100.0], ["published", true], ["submission_types", "---\n- online_text_entry\n"], ["updated_at", Tue, 18 Nov 2014 18:04:42 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Assignment Load (0.0ms)[0m SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "grade_group_students_individually", "name", "points_possible", "published", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 19:10:28 UTC +00:00], ["description", "What is your Favorite Color?
"], ["grade_group_students_individually", false], ["name", "Favorite Color"], ["points_possible", 100.0], ["published", true], ["submission_types", "---\n- online_text_entry\n"], ["updated_at", Tue, 18 Nov 2014 19:10:30 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "coalescing_panda_assignments" [1m[36m (1.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mCoalescingPanda::Submission Load (0.2ms)[0m [1mSELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions"[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 90' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 90' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "89"], ["created_at", Thu, 08 Jan 2015 00:03:45 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", Thu, 08 Jan 2015 00:03:45 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 91' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 91' LIMIT 1[0m [1m[35mSQL (0.8ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:03:45 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", Thu, 08 Jan 2015 00:03:45 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 37], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:03:45 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:03:45 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 00:03:45 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:03:45 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Thu, 08 Jan 2015 00:03:45 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 00:03:45 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::User Load (0.0ms)[0m [1mSELECT "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[0m [["coalescing_panda_lti_account_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 00:03:45 UTC +00:00], ["name", "teacher@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 00:03:45 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::User Load (0.0ms)[0m [1mSELECT "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[0m [["coalescing_panda_lti_account_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 00:03:45 UTC +00:00], ["name", "student1@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 00:03:45 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::User Load (0.0ms)[0m [1mSELECT "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[0m [["coalescing_panda_lti_account_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 00:03:45 UTC +00:00], ["name", "student2@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 00:03:45 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::Assignment Load (0.0ms)[0m [1mSELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "grade_group_students_individually", "name", "points_possible", "published", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_assignment_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 18:04:38 UTC +00:00], ["description", "What is your name?
"], ["grade_group_students_individually", false], ["name", "Gimme your name"], ["points_possible", 100.0], ["published", true], ["submission_types", "---\n- online_text_entry\n"], ["updated_at", Tue, 18 Nov 2014 18:04:42 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::Assignment Load (0.1ms)[0m [1mSELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "grade_group_students_individually", "name", "points_possible", "published", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_assignment_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 19:10:28 UTC +00:00], ["description", "What is your Favorite Color?
"], ["grade_group_students_individually", false], ["name", "Favorite Color"], ["points_possible", 100.0], ["published", true], ["submission_types", "---\n- online_text_entry\n"], ["updated_at", Tue, 18 Nov 2014 19:10:30 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::Submission Load (0.2ms)[0m [1mSELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '3') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35mCoalescingPanda::User Load (0.0ms)[0m SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] [1m[36mCoalescingPanda::Assignment Load (0.1ms)[0m [1mSELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_submission_id", 3], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 3], ["created_at", Thu, 08 Jan 2015 00:03:45 UTC +00:00], ["grade", "70"], ["score", 70], ["updated_at", Thu, 08 Jan 2015 00:03:45 UTC +00:00], ["workflow_state", "graded"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::Submission Load (0.1ms)[0m [1mSELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '1') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35mCoalescingPanda::User Load (0.0ms)[0m SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] [1m[36mCoalescingPanda::Assignment Load (0.0ms)[0m [1mSELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_submission_id", 1], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 2], ["created_at", Thu, 08 Jan 2015 00:03:45 UTC +00:00], ["grade", "100"], ["score", 100], ["updated_at", Thu, 08 Jan 2015 00:03:45 UTC +00:00], ["workflow_state", "graded"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::Submission Load (0.1ms)[0m [1mSELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '4') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35mCoalescingPanda::User Load (0.0ms)[0m SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] [1m[36mCoalescingPanda::Assignment Load (0.1ms)[0m [1mSELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_submission_id", 4], ["coalescing_panda_assignment_id", 2], ["coalescing_panda_user_id", 3], ["created_at", Thu, 08 Jan 2015 00:03:45 UTC +00:00], ["grade", "90"], ["score", 90], ["updated_at", Thu, 08 Jan 2015 00:03:45 UTC +00:00], ["workflow_state", "graded"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::Submission Load (0.1ms)[0m [1mSELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '2') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35mCoalescingPanda::User Load (0.0ms)[0m SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] [1m[36mCoalescingPanda::Assignment Load (0.0ms)[0m [1mSELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_submission_id", 2], ["coalescing_panda_assignment_id", 2], ["coalescing_panda_user_id", 2], ["created_at", Thu, 08 Jan 2015 00:03:45 UTC +00:00], ["grade", "80"], ["score", 80], ["updated_at", Thu, 08 Jan 2015 00:03:45 UTC +00:00], ["workflow_state", "graded"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "coalescing_panda_submissions"[0m [1m[35m (0.9ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mCoalescingPanda::Group Load (0.1ms)[0m SELECT "coalescing_panda_groups".* FROM "coalescing_panda_groups" [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 92' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 92' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:03:45 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", Thu, 08 Jan 2015 00:03:45 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 93' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 93' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "92"], ["created_at", Thu, 08 Jan 2015 00:03:45 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", Thu, 08 Jan 2015 00:03:45 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 00:03:45 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:03:45 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 33], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 00:03:45 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:03:45 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 00:03:45 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 00:03:45 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Group Load (0.0ms)[0m SELECT "coalescing_panda_groups".* FROM "coalescing_panda_groups" WHERE "coalescing_panda_groups"."context_id" = ? AND "coalescing_panda_groups"."context_type" = ? AND (canvas_group_id = '4') ORDER BY "coalescing_panda_groups"."id" ASC LIMIT 1 [["context_id", 1], ["context_type", "CoalescingPanda::Course"]] CoalescingPanda::Group not created: Batch: 1, Message: uninitialized constant Course, values: {"description"=>nil, "group_category_id"=>3, "id"=>4, "is_public"=>false, "join_level"=>"invitation_only", "max_membership"=>5, "name"=>"Student Group 1", "members_count"=>2, "storage_quota_mb"=>50, "context_type"=>"Course", "course_id"=>3709, "avatar_url"=>nil, "role"=>nil, "leader"=>nil, "canvas_group_id"=>4} [1m[36mCoalescingPanda::Group Load (0.0ms)[0m [1mSELECT "coalescing_panda_groups".* FROM "coalescing_panda_groups" WHERE "coalescing_panda_groups"."context_id" = ? AND "coalescing_panda_groups"."context_type" = ? AND (canvas_group_id = '5') ORDER BY "coalescing_panda_groups"."id" ASC LIMIT 1[0m [["context_id", 1], ["context_type", "CoalescingPanda::Course"]] CoalescingPanda::Group not created: Batch: 1, Message: uninitialized constant Course, values: {"description"=>nil, "group_category_id"=>3, "id"=>5, "is_public"=>false, "join_level"=>"invitation_only", "max_membership"=>5, "name"=>"Student Group 2", "members_count"=>2, "storage_quota_mb"=>50, "context_type"=>"Course", "course_id"=>3709, "avatar_url"=>nil, "role"=>nil, "leader"=>nil, "canvas_group_id"=>5} [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "coalescing_panda_groups" [1m[36m (0.9ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.2ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 94' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 94' LIMIT 1[0m [1m[35mSQL (0.6ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:03:45 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", Thu, 08 Jan 2015 00:03:45 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 95' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 95' LIMIT 1 [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "94"], ["created_at", Thu, 08 Jan 2015 00:03:45 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", Thu, 08 Jan 2015 00:03:45 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 00:03:45 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:03:45 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 34], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 00:03:45 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:03:45 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 00:03:45 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 00:03:45 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 96' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 96' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "95"], ["created_at", Thu, 08 Jan 2015 00:03:45 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", Thu, 08 Jan 2015 00:03:45 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 97' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 97' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:03:45 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", Thu, 08 Jan 2015 00:03:45 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 40], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:03:45 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:03:45 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 00:03:45 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:03:45 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Thu, 08 Jan 2015 00:03:45 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 00:03:45 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 98' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 98' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:03:45 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", Thu, 08 Jan 2015 00:03:45 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 99' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 99' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "98"], ["created_at", Thu, 08 Jan 2015 00:03:45 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", Thu, 08 Jan 2015 00:03:45 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 00:03:45 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:03:45 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 36], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 00:03:45 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:03:45 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 00:03:45 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 00:03:45 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 100' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 100' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "99"], ["created_at", Thu, 08 Jan 2015 00:03:45 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", Thu, 08 Jan 2015 00:03:45 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 101' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 101' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:03:45 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", Thu, 08 Jan 2015 00:03:45 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 42], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:03:45 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:03:45 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 00:03:45 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:03:45 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Thu, 08 Jan 2015 00:03:45 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 00:03:45 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.8ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 102' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 102' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:03:45 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", Thu, 08 Jan 2015 00:03:45 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 103' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 103' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "102"], ["created_at", Thu, 08 Jan 2015 00:03:45 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", Thu, 08 Jan 2015 00:03:45 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 00:03:45 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:03:45 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 38], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 00:03:45 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:03:45 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 00:03:45 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 00:03:45 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.9ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 104' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 104' LIMIT 1 [1m[36mSQL (0.7ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "103"], ["created_at", Thu, 08 Jan 2015 00:03:45 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", Thu, 08 Jan 2015 00:03:45 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 105' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 105' LIMIT 1[0m [1m[35mSQL (0.6ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:03:45 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", Thu, 08 Jan 2015 00:03:45 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 44], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:03:45 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:03:45 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 00:03:45 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:03:45 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Thu, 08 Jan 2015 00:03:45 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 00:03:45 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.6ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 106' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 106' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:03:45 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", Thu, 08 Jan 2015 00:03:45 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 107' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 107' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "106"], ["created_at", Thu, 08 Jan 2015 00:03:45 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", Thu, 08 Jan 2015 00:03:45 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 00:03:45 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:03:45 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 40], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 00:03:45 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:03:45 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 00:03:45 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 00:03:45 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 108' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 108' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "107"], ["created_at", Thu, 08 Jan 2015 00:03:45 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", Thu, 08 Jan 2015 00:03:45 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 109' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 109' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:03:45 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", Thu, 08 Jan 2015 00:03:45 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 46], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:03:45 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:03:45 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 00:03:45 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:03:45 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Thu, 08 Jan 2015 00:03:45 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 00:03:45 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 110' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 110' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:03:45 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", Thu, 08 Jan 2015 00:03:45 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 111' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 111' LIMIT 1 [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "110"], ["created_at", Thu, 08 Jan 2015 00:03:45 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", Thu, 08 Jan 2015 00:03:45 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 00:03:45 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:03:45 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 42], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 00:03:45 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:03:45 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 00:03:45 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 00:03:45 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.8ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 112' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 112' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "111"], ["created_at", Thu, 08 Jan 2015 00:03:45 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", Thu, 08 Jan 2015 00:03:45 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 113' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 113' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:03:45 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", Thu, 08 Jan 2015 00:03:45 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 48], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:03:45 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:03:45 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 00:03:45 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:03:45 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_section_id", 9], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 00:03:45 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:03:45 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 114' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 114' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:03:45 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", Thu, 08 Jan 2015 00:03:45 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 115' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 115' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "114"], ["created_at", Thu, 08 Jan 2015 00:03:45 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", Thu, 08 Jan 2015 00:03:45 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", 4], ["created_at", Thu, 08 Jan 2015 00:03:45 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:03:45 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 44], ["coalescing_panda_lti_account_id", 3], ["coalescing_panda_term_id", 2], ["created_at", Thu, 08 Jan 2015 00:03:45 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:03:45 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Course Load (0.1ms)[0m SELECT "coalescing_panda_courses".* FROM "coalescing_panda_courses" WHERE "coalescing_panda_courses"."id" = ? LIMIT 1 [["id", 2]] [1m[36mSQL (0.1ms)[0m [1mUPDATE "coalescing_panda_sections" SET "coalescing_panda_course_id" = ?, "updated_at" = ? WHERE "coalescing_panda_sections"."id" = 1[0m [["coalescing_panda_course_id", 2], ["updated_at", Thu, 08 Jan 2015 00:03:45 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 00:03:45 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 00:03:45 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 15], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 00:03:45 UTC +00:00], ["email", "test18@test.com"], ["name", "Factory User 18"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 00:03:45 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::User Load (0.1ms)[0m [1mSELECT "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[0m [["coalescing_panda_lti_account_id", 3]] [1m[35mCoalescingPanda::Section Load (0.1ms)[0m 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]] [1m[36m (1.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 116' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 116' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:03:45 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", Thu, 08 Jan 2015 00:03:45 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 117' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 117' LIMIT 1 [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "116"], ["created_at", Thu, 08 Jan 2015 00:03:45 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", Thu, 08 Jan 2015 00:03:45 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m 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", Thu, 08 Jan 2015 00:03:45 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:03:45 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 45], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 00:03:45 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:03:45 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 00:03:45 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 00:03:45 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.8ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 118' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 118' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "117"], ["created_at", Thu, 08 Jan 2015 00:03:45 UTC +00:00], ["key", "Key 118"], ["name", "Account 118"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 118"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Thu, 08 Jan 2015 00:03:45 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 119' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 119' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "118"], ["created_at", Thu, 08 Jan 2015 00:03:45 UTC +00:00], ["key", "Key 119"], ["name", "Account 119"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 119"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Thu, 08 Jan 2015 00:03:45 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 51], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:03:45 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:03:45 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 46], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 00:03:45 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:03:45 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_assignment_id", "9"], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 00:03:45 UTC +00:00], ["name", "test assignment"], ["submission_types", nil], ["updated_at", Thu, 08 Jan 2015 00:03:45 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 00:03:45 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 00:03:45 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 16], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 00:03:45 UTC +00:00], ["email", "test19@test.com"], ["name", "Factory User 19"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 00:03:45 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::User Load (0.3ms)[0m [1mSELECT "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[0m [["coalescing_panda_lti_account_id", 1]] [1m[35mCoalescingPanda::Assignment Load (0.2ms)[0m 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]] [1m[36m (0.9ms)[0m [1mrollback transaction[0m [1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m [1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations" [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m Processing by CoalescingPanda::LtiController#lti_config as HTML Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m Processing by CoalescingPanda::LtiController#lti_config as HTML Completed 500 Internal Server Error in 1ms [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m 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) [1m[35mCoalescingPanda::CanvasApiAuth Load (0.1ms)[0m 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 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction Processing by CoalescingPanda::Oauth2Controller#redirect as HTML Parameters: {"error"=>"your face"} Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "coalescing_panda_canvas_api_auths"[0m [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 1' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 1' LIMIT 1 [1m[36mSQL (2.3ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "1"], ["created_at", Thu, 08 Jan 2015 00:04: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", Thu, 08 Jan 2015 00:04:26 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 2' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 2' LIMIT 1[0m [1m[35mSQL (1.1ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:04: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", Thu, 08 Jan 2015 00:04:26 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 1], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:04:26 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:26 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 00:04:26 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:04:26 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (1.4ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 3' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 3' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "3"], ["created_at", Thu, 08 Jan 2015 00:04: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", Thu, 08 Jan 2015 00:04:26 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 4' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 4' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:04: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", Thu, 08 Jan 2015 00:04:26 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 2], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:04:26 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:26 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 00:04:26 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:04:26 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 5' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 5' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "5"], ["created_at", Thu, 08 Jan 2015 00:04: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", Thu, 08 Jan 2015 00:04:26 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 6' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 6' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:04: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", Thu, 08 Jan 2015 00:04:26 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 3], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:04:26 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:26 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 00:04:26 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:04:26 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_assignment_id", "1"], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 00:04:26 UTC +00:00], ["name", "test assignment"], ["submission_types", nil], ["updated_at", Thu, 08 Jan 2015 00:04:26 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_assignment_id", "1"], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 00:04:26 UTC +00:00], ["name", "test assignment"], ["submission_types", nil], ["updated_at", Thu, 08 Jan 2015 00:04:26 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", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m [1m[35m (0.8ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 7' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 7' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "7"], ["created_at", Thu, 08 Jan 2015 00:04: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", Thu, 08 Jan 2015 00:04:26 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 8' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 8' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:04: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", Thu, 08 Jan 2015 00:04:26 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 4], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:04:26 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:26 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 00:04:26 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:04:26 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.6ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mCoalescingPanda::CanvasApiAuth Load (0.1ms)[0m SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" ORDER BY "coalescing_panda_canvas_api_auths"."id" ASC LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_panda_canvas_api_auths" ("created_at", "updated_at", "user_id") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 00:04:26 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:26 UTC +00:00], ["user_id", "a"]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::CanvasApiAuth Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1 [1m[36mCoalescingPanda::CanvasApiAuth Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1[0m [1m[35mCoalescingPanda::CanvasApiAuth Load (0.0ms)[0m SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" [1m[36mCoalescingPanda::CanvasApiAuth Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" = '1') LIMIT 1[0m [1m[35mCoalescingPanda::CanvasApiAuth Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" = '1') LIMIT 1 [1m[36m (0.4ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mCoalescingPanda::CanvasApiAuth Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1[0m [1m[35mCoalescingPanda::CanvasApiAuth Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mCoalescingPanda::CanvasApiAuth Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1[0m [1m[35mCoalescingPanda::CanvasApiAuth Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1 [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 00:04:26 UTC +00:00], ["status", "Pending"], ["updated_at", Thu, 08 Jan 2015 00:04:26 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Thu, 08 Jan 2015 00:04:26 UTC +00:00], ["status", "Pending"], ["updated_at", Thu, 08 Jan 2015 00:04:26 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 00:04:26 UTC +00:00], ["status", "Pending"], ["updated_at", Thu, 08 Jan 2015 00:04:26 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::CanvasBatch Load (0.1ms)[0m SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" ORDER BY created_at DESC [1m[36m (0.9ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 9' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 9' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:04: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", Thu, 08 Jan 2015 00:04:26 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 10' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 10' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "10"], ["created_at", Thu, 08 Jan 2015 00:04: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", Thu, 08 Jan 2015 00:04:26 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 00:04:26 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:26 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 11' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 11' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "11"], ["created_at", Thu, 08 Jan 2015 00:04: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", Thu, 08 Jan 2015 00:04:26 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 12' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 12' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:04:26 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", Thu, 08 Jan 2015 00:04:26 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 6], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:04:26 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:26 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 13' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 13' LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:04:26 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", Thu, 08 Jan 2015 00:04:26 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 14' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 14' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "14"], ["created_at", Thu, 08 Jan 2015 00:04:26 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", Thu, 08 Jan 2015 00:04:26 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 00:04:26 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:26 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 00:04:26 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:04:26 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 15' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 15' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:04:26 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", Thu, 08 Jan 2015 00:04:26 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 8], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 00:04:26 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:26 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 00:04:26 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:04:26 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 (?, ?, ?, ?, ?, ?) [1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m [1m[35m (0.8ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 16' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 16' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "16"], ["created_at", Thu, 08 Jan 2015 00:04:26 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", Thu, 08 Jan 2015 00:04:26 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.5ms)[0m 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", Thu, 08 Jan 2015 00:04:26 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:26 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 17' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 17' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "17"], ["created_at", Thu, 08 Jan 2015 00:04:26 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", Thu, 08 Jan 2015 00:04:26 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 00:04:26 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:04:26 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 18' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 18' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "18"], ["created_at", Thu, 08 Jan 2015 00:04:26 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", Thu, 08 Jan 2015 00:04:26 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 00:04:26 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:04:26 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 (?, ?, ?, ?, ?, ?) [1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m [1m[35m (0.6ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 19' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 19' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "19"], ["created_at", Thu, 08 Jan 2015 00:04:26 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", Thu, 08 Jan 2015 00:04:26 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 20' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 20' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:04:26 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", Thu, 08 Jan 2015 00:04:26 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 10], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:04:26 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:26 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 21' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 21' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:04:26 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", Thu, 08 Jan 2015 00:04:26 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.7ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 00:04:26 UTC +00:00], ["email", "test1@test.com"], ["name", "Factory User 1"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 00:04:26 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 22' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 22' LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:04:26 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", Thu, 08 Jan 2015 00:04:26 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 23' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 23' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "23"], ["created_at", Thu, 08 Jan 2015 00:04:26 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", Thu, 08 Jan 2015 00:04:26 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 00:04:26 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:26 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 7], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 00:04:26 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:04:26 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m 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", Thu, 08 Jan 2015 00:04:26 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:26 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.8ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 24' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 24' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "24"], ["created_at", Thu, 08 Jan 2015 00:04:27 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", Thu, 08 Jan 2015 00:04:27 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.6ms)[0m 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", Thu, 08 Jan 2015 00:04:27 UTC +00:00], ["email", "test2@test.com"], ["name", "Factory User 2"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 25' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 25' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "25"], ["created_at", Thu, 08 Jan 2015 00:04:27 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", Thu, 08 Jan 2015 00:04:27 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 26' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 26' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:04:27 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", Thu, 08 Jan 2015 00:04:27 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 12], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 00:04:27 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_section_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.9ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 27' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 27' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:04:27 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", Thu, 08 Jan 2015 00:04:27 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (1.2ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00], ["email", "test3@test.com"], ["name", "Factory User 3"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 28' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 28' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:04:27 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", Thu, 08 Jan 2015 00:04:27 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 29' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 29' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "29"], ["created_at", Thu, 08 Jan 2015 00:04:27 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", Thu, 08 Jan 2015 00:04:27 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 00:04:27 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 9], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 00:04:27 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.8ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 30' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 30' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "30"], ["created_at", Thu, 08 Jan 2015 00:04:27 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", Thu, 08 Jan 2015 00:04:27 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.5ms)[0m 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", Thu, 08 Jan 2015 00:04:27 UTC +00:00], ["email", "test4@test.com"], ["name", "Factory User 4"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 31' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 31' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "31"], ["created_at", Thu, 08 Jan 2015 00:04:27 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", Thu, 08 Jan 2015 00:04:27 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 32' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 32' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:04:27 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", Thu, 08 Jan 2015 00:04:27 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 14], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 00:04:27 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_section_id", 4], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m 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", Thu, 08 Jan 2015 00:04:27 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_enrollment_id", 4], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Thu, 08 Jan 2015 00:04:27 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 (?, ?, ?, ?, ?, ?) [1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1 [1m[36m (0.9ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.2ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 33' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 33' LIMIT 1[0m [1m[35mSQL (0.6ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:04:27 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", Thu, 08 Jan 2015 00:04:27 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 5], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00], ["email", "test5@test.com"], ["name", "Factory User 5"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 34' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 34' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:04:27 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", Thu, 08 Jan 2015 00:04:27 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 35' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 35' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "35"], ["created_at", Thu, 08 Jan 2015 00:04:27 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", Thu, 08 Jan 2015 00:04:27 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 00:04:27 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 11], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 00:04:27 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_enrollment_id", 5], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 00:04:27 UTC +00:00], ["enrollment_type", "TeacherEnrollment"], ["updated_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.9ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 36' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 36' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "36"], ["created_at", Thu, 08 Jan 2015 00:04:27 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", Thu, 08 Jan 2015 00:04:27 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.4ms)[0m 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", Thu, 08 Jan 2015 00:04:27 UTC +00:00], ["email", "test6@test.com"], ["name", "Factory User 6"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 37' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 37' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "37"], ["created_at", Thu, 08 Jan 2015 00:04:27 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", Thu, 08 Jan 2015 00:04:27 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 38' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 38' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:04:27 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", Thu, 08 Jan 2015 00:04:27 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 16], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 00:04:27 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_section_id", 6], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mCoalescingPanda::LtiAccount Exists (0.4ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 39' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 39' LIMIT 1 [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 40' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 40' LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:04:27 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", Thu, 08 Jan 2015 00:04:27 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 41' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 41' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "40"], ["created_at", Thu, 08 Jan 2015 00:04:27 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", Thu, 08 Jan 2015 00:04:27 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 00:04:27 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 13], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 42' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 42' LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:04:27 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", Thu, 08 Jan 2015 00:04:27 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 43' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 43' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "42"], ["created_at", Thu, 08 Jan 2015 00:04:27 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", Thu, 08 Jan 2015 00:04:27 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 00:04:27 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 14], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.6ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 44' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 44' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:04:27 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", Thu, 08 Jan 2015 00:04:27 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 45' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 45' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "44"], ["created_at", Thu, 08 Jan 2015 00:04:27 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", Thu, 08 Jan 2015 00:04:27 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m 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", Thu, 08 Jan 2015 00:04:27 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 15], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m 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", Thu, 08 Jan 2015 00:04:27 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_section_id", "1"], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:27 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 (?, ?, ?, ?) [1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1 [1m[36m (0.9ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 46' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 46' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:04:27 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", Thu, 08 Jan 2015 00:04:27 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 47' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 47' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "46"], ["created_at", Thu, 08 Jan 2015 00:04:27 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", Thu, 08 Jan 2015 00:04:27 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 00:04:27 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 16], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 48' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 48' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:04:27 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", Thu, 08 Jan 2015 00:04:27 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 7], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00], ["email", "test7@test.com"], ["name", "Factory User 7"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 49' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 49' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:04:27 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", Thu, 08 Jan 2015 00:04:27 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 50' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 50' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "49"], ["created_at", Thu, 08 Jan 2015 00:04:27 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", Thu, 08 Jan 2015 00:04:27 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 00:04:27 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 17], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_assignment_id", "3"], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00], ["name", "test assignment"], ["submission_types", nil], ["updated_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (1.0ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 51' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 51' LIMIT 1 [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "50"], ["created_at", Thu, 08 Jan 2015 00:04:27 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", Thu, 08 Jan 2015 00:04:27 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.7ms)[0m 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", Thu, 08 Jan 2015 00:04:27 UTC +00:00], ["email", "test8@test.com"], ["name", "Factory User 8"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 52' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 52' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "51"], ["created_at", Thu, 08 Jan 2015 00:04:27 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", Thu, 08 Jan 2015 00:04:27 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 53' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 53' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:04:27 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", Thu, 08 Jan 2015 00:04:27 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 22], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 00:04:27 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_assignment_id", "4"], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00], ["name", "test assignment"], ["submission_types", nil], ["updated_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.8ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 54' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 54' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:04:27 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", Thu, 08 Jan 2015 00:04:27 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 9], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00], ["email", "test9@test.com"], ["name", "Factory User 9"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 55' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 55' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:04:27 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", Thu, 08 Jan 2015 00:04:27 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 56' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 56' LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "55"], ["created_at", Thu, 08 Jan 2015 00:04:27 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", Thu, 08 Jan 2015 00:04:27 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m 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", Thu, 08 Jan 2015 00:04:27 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 19], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_assignment_id", "5"], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00], ["name", "test assignment"], ["submission_types", nil], ["updated_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (1.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 57' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 57' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "56"], ["created_at", Thu, 08 Jan 2015 00:04:27 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", Thu, 08 Jan 2015 00:04:27 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.5ms)[0m 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", Thu, 08 Jan 2015 00:04:27 UTC +00:00], ["email", "test10@test.com"], ["name", "Factory User 10"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 58' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 58' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "57"], ["created_at", Thu, 08 Jan 2015 00:04:27 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", Thu, 08 Jan 2015 00:04:27 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 59' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 59' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:04:27 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", Thu, 08 Jan 2015 00:04:27 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 24], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 00:04:27 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_assignment_id", "6"], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00], ["name", "test assignment"], ["submission_types", nil], ["updated_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m 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", Thu, 08 Jan 2015 00:04:27 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["canvas_submission_id", "1"], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:27 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 (?, ?, ?, ?, ?) [1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1 [1m[36m (0.9ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 60' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 60' LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:04:27 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", Thu, 08 Jan 2015 00:04:27 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 11], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00], ["email", "test11@test.com"], ["name", "Factory User 11"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 61' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 61' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:04:27 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", Thu, 08 Jan 2015 00:04:27 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 62' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 62' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "61"], ["created_at", Thu, 08 Jan 2015 00:04:27 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", Thu, 08 Jan 2015 00:04:27 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m 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", Thu, 08 Jan 2015 00:04:27 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 21], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_assignment_id", "7"], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00], ["name", "test assignment"], ["submission_types", nil], ["updated_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["canvas_submission_id", "1"], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 00:04:27 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.8ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 63' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 63' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "62"], ["created_at", Thu, 08 Jan 2015 00:04:27 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", Thu, 08 Jan 2015 00:04:27 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.5ms)[0m 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", Thu, 08 Jan 2015 00:04:27 UTC +00:00], ["email", "test12@test.com"], ["name", "Factory User 12"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 64' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 64' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "63"], ["created_at", Thu, 08 Jan 2015 00:04:27 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", Thu, 08 Jan 2015 00:04:27 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 65' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 65' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:04:27 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", Thu, 08 Jan 2015 00:04:27 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 26], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 00:04:27 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_assignment_id", "8"], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00], ["name", "test assignment"], ["submission_types", nil], ["updated_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 66' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 66' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:04:27 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", Thu, 08 Jan 2015 00:04:27 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.3ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 67' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 67' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "66"], ["created_at", Thu, 08 Jan 2015 00:04:27 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", Thu, 08 Jan 2015 00:04:27 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.6ms)[0m 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", Thu, 08 Jan 2015 00:04:27 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:27 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 (?, ?, ?, ?) [1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1 [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 68' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 68' LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:04:27 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", Thu, 08 Jan 2015 00:04:27 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.4ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 69' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 69' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "68"], ["created_at", Thu, 08 Jan 2015 00:04:27 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", Thu, 08 Jan 2015 00:04:27 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.4ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 70' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 70' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:04:27 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", Thu, 08 Jan 2015 00:04:27 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00], ["email", "test15@test.com"], ["name", "Factory User 15"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m 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", Thu, 08 Jan 2015 00:04:27 UTC +00:00], ["email", "test16@test.com"], ["name", "Factory User 16"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 00:04:27 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 (?, ?, ?, ?, ?, ?, ?) [1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m [1m[35m (0.6ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 71' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 71' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "70"], ["created_at", Thu, 08 Jan 2015 00:04:27 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", Thu, 08 Jan 2015 00:04:27 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.4ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 72' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 72' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:04:27 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", Thu, 08 Jan 2015 00:04:27 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 73' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 73' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "72"], ["created_at", Thu, 08 Jan 2015 00:04:27 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", Thu, 08 Jan 2015 00:04:27 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 00:04:27 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 23], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::CanvasBatch Load (0.1ms)[0m SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" ORDER BY created_at ASC LIMIT 1 [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 74' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 74' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:04:27 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", Thu, 08 Jan 2015 00:04:27 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 75' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 75' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "74"], ["created_at", Thu, 08 Jan 2015 00:04:27 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", Thu, 08 Jan 2015 00:04:27 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 00:04:27 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 24], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.8ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 76' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 76' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "75"], ["created_at", Thu, 08 Jan 2015 00:04:27 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", Thu, 08 Jan 2015 00:04:27 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 77' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 77' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:04:27 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", Thu, 08 Jan 2015 00:04:27 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 30], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 00:04:27 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m UPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["status", "Started"], ["updated_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Section Load (0.1ms)[0m SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00], ["name", "Course1"], ["updated_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mUPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1[0m [["percent_complete", 14.3], ["updated_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::User Load (0.1ms)[0m [1mSELECT "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[0m [["coalescing_panda_lti_account_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00], ["name", "teacher@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::User Load (0.1ms)[0m [1mSELECT "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[0m [["coalescing_panda_lti_account_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00], ["name", "student1@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::User Load (0.1ms)[0m [1mSELECT "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[0m [["coalescing_panda_lti_account_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00], ["name", "student2@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 28.6], ["updated_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Enrollment Load (0.2ms)[0m SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '1') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36mCoalescingPanda::User Load (0.1ms)[0m [1mSELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '1' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1[0m [["coalescing_panda_lti_account_id", 1]] [1m[35mCoalescingPanda::Section Load (0.1ms)[0m SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "coalescing_panda_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"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Enrollment Load (0.1ms)[0m SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '2') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36mCoalescingPanda::User Load (0.1ms)[0m [1mSELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1[0m [["coalescing_panda_lti_account_id", 1]] [1m[35mCoalescingPanda::Section Load (0.0ms)[0m SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_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"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Enrollment Load (0.1ms)[0m SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '3') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36mCoalescingPanda::User Load (0.1ms)[0m [1mSELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1[0m [["coalescing_panda_lti_account_id", 1]] [1m[35mCoalescingPanda::Section Load (0.0ms)[0m SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_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"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mUPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1[0m [["percent_complete", 42.9], ["updated_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::Assignment Load (0.1ms)[0m [1mSELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "grade_group_students_individually", "name", "points_possible", "published", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_assignment_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 18:04:38 UTC +00:00], ["description", "What is your name?
"], ["grade_group_students_individually", false], ["name", "Gimme your name"], ["points_possible", 100.0], ["published", true], ["submission_types", "---\n- online_text_entry\n"], ["updated_at", Tue, 18 Nov 2014 18:04:42 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::Assignment Load (0.1ms)[0m [1mSELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "grade_group_students_individually", "name", "points_possible", "published", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_assignment_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 19:10:28 UTC +00:00], ["description", "What is your Favorite Color?
"], ["grade_group_students_individually", false], ["name", "Favorite Color"], ["points_possible", 100.0], ["published", true], ["submission_types", "---\n- online_text_entry\n"], ["updated_at", Tue, 18 Nov 2014 19:10:30 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 57.1], ["updated_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Assignment Load (0.1ms)[0m SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? [["coalescing_panda_course_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 71.4], ["updated_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.9ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 78' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 78' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "77"], ["created_at", Thu, 08 Jan 2015 00:04:27 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", Thu, 08 Jan 2015 00:04:27 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 79' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 79' LIMIT 1[0m [1m[35mSQL (0.8ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:04:27 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", Thu, 08 Jan 2015 00:04:27 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 31], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 00:04:27 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.8ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 80' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 80' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:04:27 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", Thu, 08 Jan 2015 00:04:27 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 81' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 81' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "80"], ["created_at", Thu, 08 Jan 2015 00:04:27 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", Thu, 08 Jan 2015 00:04:27 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 00:04:27 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 27], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 82' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 82' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "81"], ["created_at", Thu, 08 Jan 2015 00:04:27 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", Thu, 08 Jan 2015 00:04:27 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 83' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 83' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:04:27 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", Thu, 08 Jan 2015 00:04:27 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 33], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 00:04:27 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Section Load (0.1ms)[0m SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Section Load (0.0ms)[0m SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00], ["name", "Course1"], ["updated_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "coalescing_panda_sections" [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 84' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 84' LIMIT 1[0m [1m[35mSQL (0.7ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:04:27 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", Thu, 08 Jan 2015 00:04:27 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 85' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 85' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "84"], ["created_at", Thu, 08 Jan 2015 00:04:27 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", Thu, 08 Jan 2015 00:04:27 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 00:04:27 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 29], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::User Load (0.1ms)[0m [1mSELECT "coalescing_panda_users".* FROM "coalescing_panda_users"[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::User Load (0.0ms)[0m [1mSELECT "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[0m [["coalescing_panda_lti_account_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00], ["name", "teacher@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::User Load (0.0ms)[0m [1mSELECT "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[0m [["coalescing_panda_lti_account_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00], ["name", "student1@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::User Load (0.0ms)[0m [1mSELECT "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[0m [["coalescing_panda_lti_account_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00], ["name", "student2@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "coalescing_panda_users"[0m [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 86' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 86' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "85"], ["created_at", Thu, 08 Jan 2015 00:04:27 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", Thu, 08 Jan 2015 00:04:27 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 87' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 87' LIMIT 1[0m [1m[35mSQL (0.6ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:04:27 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", Thu, 08 Jan 2015 00:04:27 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 35], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 00:04:27 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Enrollment Load (0.1ms)[0m SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Section Load (0.0ms)[0m SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00], ["name", "Course1"], ["updated_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::User Load (0.0ms)[0m 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]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00], ["name", "teacher@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::User Load (0.0ms)[0m 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]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00], ["name", "student1@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::User Load (0.0ms)[0m 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]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00], ["name", "student2@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Enrollment Load (0.0ms)[0m SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '1') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36mCoalescingPanda::User Load (0.0ms)[0m [1mSELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '1' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1[0m [["coalescing_panda_lti_account_id", 1]] [1m[35mCoalescingPanda::Section Load (0.0ms)[0m SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_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"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Enrollment Load (0.0ms)[0m SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '2') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36mCoalescingPanda::User Load (0.0ms)[0m [1mSELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1[0m [["coalescing_panda_lti_account_id", 1]] [1m[35mCoalescingPanda::Section Load (0.0ms)[0m SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_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"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Enrollment Load (0.0ms)[0m SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '3') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36mCoalescingPanda::User Load (0.0ms)[0m [1mSELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1[0m [["coalescing_panda_lti_account_id", 1]] [1m[35mCoalescingPanda::Section Load (0.0ms)[0m SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_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"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "coalescing_panda_enrollments" [1m[36mCoalescingPanda::Enrollment Load (0.1ms)[0m [1mSELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" ORDER BY "coalescing_panda_enrollments"."id" DESC LIMIT 1[0m [1m[35m (1.0ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 88' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 88' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "87"], ["created_at", Thu, 08 Jan 2015 00:04:27 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", Thu, 08 Jan 2015 00:04:27 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 89' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 89' LIMIT 1[0m [1m[35mSQL (0.6ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:04:27 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", Thu, 08 Jan 2015 00:04:27 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 36], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 00:04:27 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Assignment Load (0.1ms)[0m SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Assignment Load (0.0ms)[0m SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "grade_group_students_individually", "name", "points_possible", "published", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 18:04:38 UTC +00:00], ["description", "What is your name?
"], ["grade_group_students_individually", false], ["name", "Gimme your name"], ["points_possible", 100.0], ["published", true], ["submission_types", "---\n- online_text_entry\n"], ["updated_at", Tue, 18 Nov 2014 18:04:42 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Assignment Load (0.0ms)[0m SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "grade_group_students_individually", "name", "points_possible", "published", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 19:10:28 UTC +00:00], ["description", "What is your Favorite Color?
"], ["grade_group_students_individually", false], ["name", "Favorite Color"], ["points_possible", 100.0], ["published", true], ["submission_types", "---\n- online_text_entry\n"], ["updated_at", Tue, 18 Nov 2014 19:10:30 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "coalescing_panda_assignments" [1m[36m (0.8ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 90' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 90' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:04:27 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", Thu, 08 Jan 2015 00:04:27 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 91' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 91' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "90"], ["created_at", Thu, 08 Jan 2015 00:04:27 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", Thu, 08 Jan 2015 00:04:27 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 00:04:27 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 32], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::Submission Load (0.1ms)[0m [1mSELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions"[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::User Load (0.0ms)[0m [1mSELECT "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[0m [["coalescing_panda_lti_account_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00], ["name", "teacher@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::User Load (0.0ms)[0m [1mSELECT "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[0m [["coalescing_panda_lti_account_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00], ["name", "student1@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::User Load (0.0ms)[0m [1mSELECT "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[0m [["coalescing_panda_lti_account_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00], ["name", "student2@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::Assignment Load (0.1ms)[0m [1mSELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "grade_group_students_individually", "name", "points_possible", "published", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_assignment_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 18:04:38 UTC +00:00], ["description", "What is your name?
"], ["grade_group_students_individually", false], ["name", "Gimme your name"], ["points_possible", 100.0], ["published", true], ["submission_types", "---\n- online_text_entry\n"], ["updated_at", Tue, 18 Nov 2014 18:04:42 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::Assignment Load (0.1ms)[0m [1mSELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "grade_group_students_individually", "name", "points_possible", "published", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_assignment_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 19:10:28 UTC +00:00], ["description", "What is your Favorite Color?
"], ["grade_group_students_individually", false], ["name", "Favorite Color"], ["points_possible", 100.0], ["published", true], ["submission_types", "---\n- online_text_entry\n"], ["updated_at", Tue, 18 Nov 2014 19:10:30 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::Submission Load (0.2ms)[0m [1mSELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '3') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35mCoalescingPanda::User Load (0.1ms)[0m SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] [1m[36mCoalescingPanda::Assignment Load (0.1ms)[0m [1mSELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_submission_id", 3], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 3], ["created_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00], ["grade", "70"], ["score", 70], ["updated_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00], ["workflow_state", "graded"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::Submission Load (0.1ms)[0m [1mSELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '1') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35mCoalescingPanda::User Load (0.0ms)[0m SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] [1m[36mCoalescingPanda::Assignment Load (0.0ms)[0m [1mSELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_submission_id", 1], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 2], ["created_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00], ["grade", "100"], ["score", 100], ["updated_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00], ["workflow_state", "graded"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::Submission Load (0.1ms)[0m [1mSELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '4') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35mCoalescingPanda::User Load (0.0ms)[0m SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] [1m[36mCoalescingPanda::Assignment Load (0.1ms)[0m [1mSELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_submission_id", 4], ["coalescing_panda_assignment_id", 2], ["coalescing_panda_user_id", 3], ["created_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00], ["grade", "90"], ["score", 90], ["updated_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00], ["workflow_state", "graded"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::Submission Load (0.1ms)[0m [1mSELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '2') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35mCoalescingPanda::User Load (0.0ms)[0m SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] [1m[36mCoalescingPanda::Assignment Load (0.0ms)[0m [1mSELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_submission_id", 2], ["coalescing_panda_assignment_id", 2], ["coalescing_panda_user_id", 2], ["created_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00], ["grade", "80"], ["score", 80], ["updated_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00], ["workflow_state", "graded"]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "coalescing_panda_submissions"[0m [1m[35m (1.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 92' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 92' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "91"], ["created_at", Thu, 08 Jan 2015 00:04:27 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", Thu, 08 Jan 2015 00:04:27 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 93' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 93' LIMIT 1[0m [1m[35mSQL (0.9ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:04:27 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", Thu, 08 Jan 2015 00:04:27 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 38], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 00:04:27 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Group Load (0.1ms)[0m SELECT "coalescing_panda_groups".* FROM "coalescing_panda_groups" [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Group Load (0.1ms)[0m SELECT "coalescing_panda_groups".* FROM "coalescing_panda_groups" WHERE "coalescing_panda_groups"."context_id" = ? AND "coalescing_panda_groups"."context_type" = ? AND (canvas_group_id = '4') ORDER BY "coalescing_panda_groups"."id" ASC LIMIT 1 [["context_id", 1], ["context_type", "CoalescingPanda::Course"]] CoalescingPanda::Group not created: Batch: 1, Message: uninitialized constant Course, values: {"description"=>nil, "group_category_id"=>3, "id"=>4, "is_public"=>false, "join_level"=>"invitation_only", "max_membership"=>5, "name"=>"Student Group 1", "members_count"=>2, "storage_quota_mb"=>50, "context_type"=>"Course", "course_id"=>3709, "avatar_url"=>nil, "role"=>nil, "leader"=>nil, "canvas_group_id"=>4} [1m[36mCoalescingPanda::Group Load (0.1ms)[0m [1mSELECT "coalescing_panda_groups".* FROM "coalescing_panda_groups" WHERE "coalescing_panda_groups"."context_id" = ? AND "coalescing_panda_groups"."context_type" = ? AND (canvas_group_id = '5') ORDER BY "coalescing_panda_groups"."id" ASC LIMIT 1[0m [["context_id", 1], ["context_type", "CoalescingPanda::Course"]] CoalescingPanda::Group not created: Batch: 1, Message: uninitialized constant Course, values: {"description"=>nil, "group_category_id"=>3, "id"=>5, "is_public"=>false, "join_level"=>"invitation_only", "max_membership"=>5, "name"=>"Student Group 2", "members_count"=>2, "storage_quota_mb"=>50, "context_type"=>"Course", "course_id"=>3709, "avatar_url"=>nil, "role"=>nil, "leader"=>nil, "canvas_group_id"=>5} [1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "coalescing_panda_groups" [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 94' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 94' LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:04:27 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", Thu, 08 Jan 2015 00:04:27 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 95' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 95' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "94"], ["created_at", Thu, 08 Jan 2015 00:04:27 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", Thu, 08 Jan 2015 00:04:27 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 00:04:27 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 34], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 96' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 96' LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:04:27 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", Thu, 08 Jan 2015 00:04:27 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 97' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 97' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "96"], ["created_at", Thu, 08 Jan 2015 00:04:27 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", Thu, 08 Jan 2015 00:04:27 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 00:04:27 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 35], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 98' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 98' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "97"], ["created_at", Thu, 08 Jan 2015 00:04:27 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", Thu, 08 Jan 2015 00:04:27 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 99' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 99' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:04:27 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", Thu, 08 Jan 2015 00:04:27 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 41], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 00:04:27 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 100' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 100' LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:04:27 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", Thu, 08 Jan 2015 00:04:27 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 101' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 101' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "100"], ["created_at", Thu, 08 Jan 2015 00:04:27 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", Thu, 08 Jan 2015 00:04:27 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m 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", Thu, 08 Jan 2015 00:04:27 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 37], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.8ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 102' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 102' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "101"], ["created_at", Thu, 08 Jan 2015 00:04:27 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", Thu, 08 Jan 2015 00:04:27 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 103' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 103' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:04:27 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", Thu, 08 Jan 2015 00:04:27 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 43], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 00:04:27 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 104' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 104' LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:04:27 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", Thu, 08 Jan 2015 00:04:27 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 105' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 105' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "104"], ["created_at", Thu, 08 Jan 2015 00:04:27 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", Thu, 08 Jan 2015 00:04:27 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 00:04:27 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 39], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.8ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 106' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 106' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "105"], ["created_at", Thu, 08 Jan 2015 00:04:27 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", Thu, 08 Jan 2015 00:04:27 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 107' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 107' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:04:27 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", Thu, 08 Jan 2015 00:04:27 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 45], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 00:04:27 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.8ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 108' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 108' LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:04:27 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", Thu, 08 Jan 2015 00:04:27 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 109' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 109' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "108"], ["created_at", Thu, 08 Jan 2015 00:04:27 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", Thu, 08 Jan 2015 00:04:27 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 00:04:27 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 41], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.6ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 110' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 110' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "109"], ["created_at", Thu, 08 Jan 2015 00:04:27 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", Thu, 08 Jan 2015 00:04:27 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 111' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 111' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:04:27 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", Thu, 08 Jan 2015 00:04:27 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 47], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 00:04:27 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.8ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 112' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 112' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:04:27 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", Thu, 08 Jan 2015 00:04:27 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 113' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 113' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "112"], ["created_at", Thu, 08 Jan 2015 00:04:27 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", Thu, 08 Jan 2015 00:04:27 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 00:04:27 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 43], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 114' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 114' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "113"], ["created_at", Thu, 08 Jan 2015 00:04:27 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", Thu, 08 Jan 2015 00:04:27 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 115' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 115' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:04:27 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", Thu, 08 Jan 2015 00:04:27 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 49], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 00:04:27 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 116' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 116' LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "115"], ["created_at", Thu, 08 Jan 2015 00:04:27 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", Thu, 08 Jan 2015 00:04:27 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 117' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 117' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:04:27 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", Thu, 08 Jan 2015 00:04:27 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 50], ["coalescing_panda_lti_account_id", 4], ["created_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", 3], ["coalescing_panda_term_id", 2], ["created_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_section_id", 9], ["coalescing_panda_course_id", 2], ["created_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Course Load (0.1ms)[0m SELECT "coalescing_panda_courses".* FROM "coalescing_panda_courses" WHERE "coalescing_panda_courses"."id" = ? LIMIT 1 [["id", 1]] [1m[36mSQL (0.1ms)[0m [1mUPDATE "coalescing_panda_sections" SET "coalescing_panda_course_id" = ?, "updated_at" = ? WHERE "coalescing_panda_sections"."id" = 1[0m [["coalescing_panda_course_id", 1], ["updated_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 15], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00], ["email", "test18@test.com"], ["name", "Factory User 18"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::User Load (0.1ms)[0m [1mSELECT "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[0m [["coalescing_panda_lti_account_id", 1]] [1m[35mCoalescingPanda::Section Load (0.1ms)[0m 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", 1]] [1m[36m (0.9ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 118' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 118' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "117"], ["created_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00], ["key", "Key 118"], ["name", "Account 118"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 118"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 119' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 119' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "118"], ["created_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00], ["key", "Key 119"], ["name", "Account 119"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 119"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 51], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 46], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.9ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 120' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 120' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "119"], ["created_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00], ["key", "Key 120"], ["name", "Account 120"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 120"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 121' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 121' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "120"], ["created_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00], ["key", "Key 121"], ["name", "Account 121"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 121"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 52], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 47], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_assignment_id", "9"], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00], ["name", "test assignment"], ["submission_types", nil], ["updated_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 16], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00], ["email", "test19@test.com"], ["name", "Factory User 19"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 00:04:27 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::User Load (0.1ms)[0m [1mSELECT "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[0m [["coalescing_panda_lti_account_id", 1]] [1m[35mCoalescingPanda::Assignment Load (0.1ms)[0m 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]] [1m[36m (0.8ms)[0m [1mrollback transaction[0m [1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m [1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations" [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m Processing by CoalescingPanda::LtiController#lti_config as HTML Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m Processing by CoalescingPanda::LtiController#lti_config as HTML Completed 500 Internal Server Error in 1ms [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m Processing by CoalescingPanda::Oauth2Controller#redirect as HTML Parameters: {"user_id"=>"1", "api_domain"=>"foo.com", "code"=>"bar"} Completed 200 OK in 5ms (Views: 5.0ms | ActiveRecord: 0.0ms) [1m[35mCoalescingPanda::CanvasApiAuth Load (0.2ms)[0m 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 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction Processing by CoalescingPanda::Oauth2Controller#redirect as HTML Parameters: {"error"=>"your face"} Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "coalescing_panda_canvas_api_auths"[0m [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 1' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 1' LIMIT 1 [1m[36mSQL (2.6ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "1"], ["created_at", Thu, 08 Jan 2015 00:04: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", Thu, 08 Jan 2015 00:04:40 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 2' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 2' LIMIT 1[0m [1m[35mSQL (1.3ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:04: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", Thu, 08 Jan 2015 00:04:40 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 1], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:04:40 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:40 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 00:04:40 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:04:40 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (1.5ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 3' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 3' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "3"], ["created_at", Thu, 08 Jan 2015 00:04: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", Thu, 08 Jan 2015 00:04:40 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 4' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 4' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:04:40 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", Thu, 08 Jan 2015 00:04:40 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 2], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:04:40 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:40 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 00:04:40 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:04:40 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 5' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 5' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "5"], ["created_at", Thu, 08 Jan 2015 00:04:40 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", Thu, 08 Jan 2015 00:04:40 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 6' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 6' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:04:40 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", Thu, 08 Jan 2015 00:04:40 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 3], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:04:40 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:40 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 00:04:40 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:04:40 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_assignment_id", "1"], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 00:04:40 UTC +00:00], ["name", "test assignment"], ["submission_types", nil], ["updated_at", Thu, 08 Jan 2015 00:04:40 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_assignment_id", "1"], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 00:04:40 UTC +00:00], ["name", "test assignment"], ["submission_types", nil], ["updated_at", Thu, 08 Jan 2015 00:04:40 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", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m [1m[35m (0.8ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 7' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 7' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "7"], ["created_at", Thu, 08 Jan 2015 00:04:40 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", Thu, 08 Jan 2015 00:04:40 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 8' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 8' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:04:40 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", Thu, 08 Jan 2015 00:04:40 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 4], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:04:40 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:40 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 00:04:40 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:04:40 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.6ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mCoalescingPanda::CanvasApiAuth Load (0.1ms)[0m SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" ORDER BY "coalescing_panda_canvas_api_auths"."id" ASC LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_panda_canvas_api_auths" ("created_at", "updated_at", "user_id") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 00:04:40 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:40 UTC +00:00], ["user_id", "a"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::CanvasApiAuth Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1 [1m[36mCoalescingPanda::CanvasApiAuth Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1[0m [1m[35mCoalescingPanda::CanvasApiAuth Load (0.1ms)[0m SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" [1m[36mCoalescingPanda::CanvasApiAuth Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" = '1') LIMIT 1[0m [1m[35mCoalescingPanda::CanvasApiAuth Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" = '1') LIMIT 1 [1m[36m (0.5ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mCoalescingPanda::CanvasApiAuth Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1[0m [1m[35mCoalescingPanda::CanvasApiAuth Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mCoalescingPanda::CanvasApiAuth Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1[0m [1m[35mCoalescingPanda::CanvasApiAuth Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 00:04:40 UTC +00:00], ["status", "Pending"], ["updated_at", Thu, 08 Jan 2015 00:04:40 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Thu, 08 Jan 2015 00:04:40 UTC +00:00], ["status", "Pending"], ["updated_at", Thu, 08 Jan 2015 00:04:40 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 00:04:40 UTC +00:00], ["status", "Pending"], ["updated_at", Thu, 08 Jan 2015 00:04:40 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::CanvasBatch Load (0.1ms)[0m SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" ORDER BY created_at DESC [1m[36m (1.0ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 9' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 9' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:04:40 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", Thu, 08 Jan 2015 00:04:40 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 10' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 10' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "10"], ["created_at", Thu, 08 Jan 2015 00:04:40 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", Thu, 08 Jan 2015 00:04:40 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 00:04:40 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:40 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.5ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 11' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 11' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "11"], ["created_at", Thu, 08 Jan 2015 00:04:40 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", Thu, 08 Jan 2015 00:04:40 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 12' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 12' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:04:40 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", Thu, 08 Jan 2015 00:04:40 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 6], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:04:40 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:40 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.6ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 13' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 13' LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:04:40 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", Thu, 08 Jan 2015 00:04:40 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 14' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 14' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "14"], ["created_at", Thu, 08 Jan 2015 00:04:40 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", Thu, 08 Jan 2015 00:04:40 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 00:04:40 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:40 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 00:04:40 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:04:40 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 15' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 15' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:04:40 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", Thu, 08 Jan 2015 00:04:40 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 8], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 00:04:40 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:40 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 00:04:40 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:04:40 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 (?, ?, ?, ?, ?, ?) [1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m [1m[35m (0.6ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 16' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 16' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "16"], ["created_at", Thu, 08 Jan 2015 00:04:40 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", Thu, 08 Jan 2015 00:04:40 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.5ms)[0m 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", Thu, 08 Jan 2015 00:04:40 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:40 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 17' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 17' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "17"], ["created_at", Thu, 08 Jan 2015 00:04:40 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", Thu, 08 Jan 2015 00:04:40 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 00:04:40 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:04:40 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 18' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 18' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "18"], ["created_at", Thu, 08 Jan 2015 00:04:40 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", Thu, 08 Jan 2015 00:04:40 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 00:04:40 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:04:40 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 (?, ?, ?, ?, ?, ?) [1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m [1m[35m (0.9ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 19' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 19' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "19"], ["created_at", Thu, 08 Jan 2015 00:04:40 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", Thu, 08 Jan 2015 00:04:40 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 20' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 20' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:04:40 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", Thu, 08 Jan 2015 00:04:40 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 10], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:04:40 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:40 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 21' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 21' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:04:40 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", Thu, 08 Jan 2015 00:04:40 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.7ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 00:04:40 UTC +00:00], ["email", "test1@test.com"], ["name", "Factory User 1"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 00:04:40 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 22' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 22' LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:04:40 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", Thu, 08 Jan 2015 00:04:40 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 23' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 23' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "23"], ["created_at", Thu, 08 Jan 2015 00:04:40 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", Thu, 08 Jan 2015 00:04:40 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 00:04:40 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:40 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 7], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 00:04:40 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:04:40 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m 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", Thu, 08 Jan 2015 00:04:40 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:40 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 24' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 24' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "24"], ["created_at", Thu, 08 Jan 2015 00:04:40 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", Thu, 08 Jan 2015 00:04:40 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.4ms)[0m 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", Thu, 08 Jan 2015 00:04:40 UTC +00:00], ["email", "test2@test.com"], ["name", "Factory User 2"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 00:04:40 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 25' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 25' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "25"], ["created_at", Thu, 08 Jan 2015 00:04:40 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", Thu, 08 Jan 2015 00:04:40 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 26' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 26' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:04:40 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", Thu, 08 Jan 2015 00:04:40 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 12], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 00:04:40 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:40 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 00:04:40 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:04:40 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_section_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 00:04:40 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:40 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.6ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 27' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 27' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:04:40 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", Thu, 08 Jan 2015 00:04:40 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 00:04:40 UTC +00:00], ["email", "test3@test.com"], ["name", "Factory User 3"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 00:04:40 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 28' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 28' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:04:40 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", Thu, 08 Jan 2015 00:04:40 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 29' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 29' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "29"], ["created_at", Thu, 08 Jan 2015 00:04:40 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", Thu, 08 Jan 2015 00:04:40 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m 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", Thu, 08 Jan 2015 00:04:40 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:40 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 9], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 00:04:40 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:04:40 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 00:04:40 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:40 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 30' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 30' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "30"], ["created_at", Thu, 08 Jan 2015 00:04:40 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", Thu, 08 Jan 2015 00:04:40 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.6ms)[0m 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", Thu, 08 Jan 2015 00:04:40 UTC +00:00], ["email", "test4@test.com"], ["name", "Factory User 4"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 00:04:40 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 31' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 31' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "31"], ["created_at", Thu, 08 Jan 2015 00:04:40 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", Thu, 08 Jan 2015 00:04:40 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 32' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 32' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:04:40 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", Thu, 08 Jan 2015 00:04:40 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 14], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 00:04:40 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:40 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 00:04:40 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:04:40 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_section_id", 4], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 00:04:40 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:40 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m 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", Thu, 08 Jan 2015 00:04:40 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Thu, 08 Jan 2015 00:04:40 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_enrollment_id", 4], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Thu, 08 Jan 2015 00:04:40 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Thu, 08 Jan 2015 00:04:40 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 (?, ?, ?, ?, ?, ?) [1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1 [1m[36m (2.7ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 33' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 33' LIMIT 1[0m [1m[35mSQL (0.8ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:04:40 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", Thu, 08 Jan 2015 00:04:40 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 5], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 00:04:40 UTC +00:00], ["email", "test5@test.com"], ["name", "Factory User 5"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 00:04:40 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 34' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 34' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:04:40 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", Thu, 08 Jan 2015 00:04:40 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 35' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 35' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "35"], ["created_at", Thu, 08 Jan 2015 00:04:40 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", Thu, 08 Jan 2015 00:04:40 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 00:04:40 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:40 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 11], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 00:04:40 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:04:40 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 00:04:40 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:40 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_enrollment_id", 5], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Thu, 08 Jan 2015 00:04:40 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Thu, 08 Jan 2015 00:04:40 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 00:04:40 UTC +00:00], ["enrollment_type", "TeacherEnrollment"], ["updated_at", Thu, 08 Jan 2015 00:04:40 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.8ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 36' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 36' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "36"], ["created_at", Thu, 08 Jan 2015 00:04:40 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", Thu, 08 Jan 2015 00:04:40 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.4ms)[0m 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", Thu, 08 Jan 2015 00:04:40 UTC +00:00], ["email", "test6@test.com"], ["name", "Factory User 6"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 00:04:40 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 37' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 37' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "37"], ["created_at", Thu, 08 Jan 2015 00:04:40 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", Thu, 08 Jan 2015 00:04:40 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 38' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 38' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:04:40 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", Thu, 08 Jan 2015 00:04:40 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 16], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 00:04:40 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:40 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 00:04:40 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:04:40 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_section_id", 6], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 00:04:40 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:40 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 39' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 39' LIMIT 1 [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 40' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 40' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:04:40 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", Thu, 08 Jan 2015 00:04:40 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 41' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 41' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "40"], ["created_at", Thu, 08 Jan 2015 00:04:40 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", Thu, 08 Jan 2015 00:04:40 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 00:04:40 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:40 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 13], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 00:04:40 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:04:40 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.9ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 42' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 42' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:04:40 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", Thu, 08 Jan 2015 00:04:40 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 43' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 43' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "42"], ["created_at", Thu, 08 Jan 2015 00:04:40 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", Thu, 08 Jan 2015 00:04:40 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 00:04:40 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:40 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 14], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 00:04:40 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:04:40 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.6ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 44' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 44' LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:04:40 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", Thu, 08 Jan 2015 00:04:40 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 45' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 45' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "44"], ["created_at", Thu, 08 Jan 2015 00:04:40 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", Thu, 08 Jan 2015 00:04:40 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 00:04:40 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:40 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 15], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 00:04:40 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:04:40 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 00:04:40 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:40 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_section_id", "1"], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 00:04:40 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:40 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 (?, ?, ?, ?) [1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1 [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 46' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 46' LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:04:40 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", Thu, 08 Jan 2015 00:04:40 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 47' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 47' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "46"], ["created_at", Thu, 08 Jan 2015 00:04:40 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", Thu, 08 Jan 2015 00:04:40 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 00:04:40 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:40 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 16], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 00:04:40 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:04:40 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.6ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 48' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 48' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:04:40 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", Thu, 08 Jan 2015 00:04:40 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 7], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 00:04:40 UTC +00:00], ["email", "test7@test.com"], ["name", "Factory User 7"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 00:04:40 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 49' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 49' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:04:40 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", Thu, 08 Jan 2015 00:04:40 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 50' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 50' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "49"], ["created_at", Thu, 08 Jan 2015 00:04:40 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", Thu, 08 Jan 2015 00:04:40 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 00:04:40 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:40 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 17], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 00:04:40 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:04:40 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_assignment_id", "3"], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 00:04:40 UTC +00:00], ["name", "test assignment"], ["submission_types", nil], ["updated_at", Thu, 08 Jan 2015 00:04:40 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.8ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 51' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 51' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "50"], ["created_at", Thu, 08 Jan 2015 00:04:40 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", Thu, 08 Jan 2015 00:04:40 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.6ms)[0m 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", Thu, 08 Jan 2015 00:04:40 UTC +00:00], ["email", "test8@test.com"], ["name", "Factory User 8"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 00:04:40 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 52' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 52' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "51"], ["created_at", Thu, 08 Jan 2015 00:04:40 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", Thu, 08 Jan 2015 00:04:40 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 53' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 53' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:04:40 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", Thu, 08 Jan 2015 00:04:40 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 22], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 00:04:40 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:40 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 00:04:40 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:04:40 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_assignment_id", "4"], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 00:04:40 UTC +00:00], ["name", "test assignment"], ["submission_types", nil], ["updated_at", Thu, 08 Jan 2015 00:04:40 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (1.0ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 54' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 54' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:04:40 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", Thu, 08 Jan 2015 00:04:40 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 9], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 00:04:40 UTC +00:00], ["email", "test9@test.com"], ["name", "Factory User 9"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 00:04:40 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 55' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 55' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:04:41 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", Thu, 08 Jan 2015 00:04:41 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 56' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 56' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "55"], ["created_at", Thu, 08 Jan 2015 00:04:41 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", Thu, 08 Jan 2015 00:04:41 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 00:04:41 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 19], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_assignment_id", "5"], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00], ["name", "test assignment"], ["submission_types", nil], ["updated_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 57' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 57' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "56"], ["created_at", Thu, 08 Jan 2015 00:04:41 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", Thu, 08 Jan 2015 00:04:41 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.5ms)[0m 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", Thu, 08 Jan 2015 00:04:41 UTC +00:00], ["email", "test10@test.com"], ["name", "Factory User 10"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 58' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 58' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "57"], ["created_at", Thu, 08 Jan 2015 00:04:41 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", Thu, 08 Jan 2015 00:04:41 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 59' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 59' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:04:41 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", Thu, 08 Jan 2015 00:04:41 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 24], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 00:04:41 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_assignment_id", "6"], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00], ["name", "test assignment"], ["submission_types", nil], ["updated_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m 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", Thu, 08 Jan 2015 00:04:41 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["canvas_submission_id", "1"], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:41 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 (?, ?, ?, ?, ?) [1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1 [1m[36m (1.0ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 60' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 60' LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:04:41 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", Thu, 08 Jan 2015 00:04:41 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 11], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00], ["email", "test11@test.com"], ["name", "Factory User 11"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 61' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 61' LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:04:41 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", Thu, 08 Jan 2015 00:04:41 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 62' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 62' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "61"], ["created_at", Thu, 08 Jan 2015 00:04:41 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", Thu, 08 Jan 2015 00:04:41 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m 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", Thu, 08 Jan 2015 00:04:41 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 21], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_assignment_id", "7"], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00], ["name", "test assignment"], ["submission_types", nil], ["updated_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["canvas_submission_id", "1"], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m 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", Thu, 08 Jan 2015 00:04:41 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (1.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 63' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 63' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "62"], ["created_at", Thu, 08 Jan 2015 00:04:41 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", Thu, 08 Jan 2015 00:04:41 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.5ms)[0m 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", Thu, 08 Jan 2015 00:04:41 UTC +00:00], ["email", "test12@test.com"], ["name", "Factory User 12"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 64' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 64' LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "63"], ["created_at", Thu, 08 Jan 2015 00:04:41 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", Thu, 08 Jan 2015 00:04:41 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 65' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 65' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:04:41 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", Thu, 08 Jan 2015 00:04:41 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 26], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 00:04:41 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_assignment_id", "8"], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00], ["name", "test assignment"], ["submission_types", nil], ["updated_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 66' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 66' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:04:41 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", Thu, 08 Jan 2015 00:04:41 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.3ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 67' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 67' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "66"], ["created_at", Thu, 08 Jan 2015 00:04:41 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", Thu, 08 Jan 2015 00:04:41 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.5ms)[0m 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", Thu, 08 Jan 2015 00:04:41 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:41 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 (?, ?, ?, ?) [1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1 [1m[36m (0.6ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 68' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 68' LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:04:41 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", Thu, 08 Jan 2015 00:04:41 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.4ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 69' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 69' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "68"], ["created_at", Thu, 08 Jan 2015 00:04:41 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", Thu, 08 Jan 2015 00:04:41 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.4ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 70' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 70' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:04:41 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", Thu, 08 Jan 2015 00:04:41 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.7ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00], ["email", "test15@test.com"], ["name", "Factory User 15"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m 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", Thu, 08 Jan 2015 00:04:41 UTC +00:00], ["email", "test16@test.com"], ["name", "Factory User 16"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 00:04:41 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 (?, ?, ?, ?, ?, ?, ?) [1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m [1m[35m (0.5ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 71' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 71' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "70"], ["created_at", Thu, 08 Jan 2015 00:04:41 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", Thu, 08 Jan 2015 00:04:41 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.3ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (53.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 72' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 72' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:04:41 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", Thu, 08 Jan 2015 00:04:41 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 73' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 73' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "72"], ["created_at", Thu, 08 Jan 2015 00:04:41 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", Thu, 08 Jan 2015 00:04:41 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 00:04:41 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 23], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::CanvasBatch Load (0.1ms)[0m SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" ORDER BY created_at ASC LIMIT 1 [1m[36m (0.8ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 74' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 74' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:04:41 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", Thu, 08 Jan 2015 00:04:41 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 75' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 75' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "74"], ["created_at", Thu, 08 Jan 2015 00:04:41 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", Thu, 08 Jan 2015 00:04:41 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 00:04:41 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 24], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 76' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 76' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "75"], ["created_at", Thu, 08 Jan 2015 00:04:41 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", Thu, 08 Jan 2015 00:04:41 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 77' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 77' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:04:41 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", Thu, 08 Jan 2015 00:04:41 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 30], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 00:04:41 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m UPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["status", "Started"], ["updated_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Section Load (0.1ms)[0m SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00], ["name", "Course1"], ["updated_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mUPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1[0m [["percent_complete", 14.3], ["updated_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::User Load (0.1ms)[0m [1mSELECT "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[0m [["coalescing_panda_lti_account_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00], ["name", "teacher@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::User Load (0.1ms)[0m [1mSELECT "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[0m [["coalescing_panda_lti_account_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00], ["name", "student1@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::User Load (0.1ms)[0m [1mSELECT "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[0m [["coalescing_panda_lti_account_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00], ["name", "student2@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 28.6], ["updated_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Enrollment Load (0.1ms)[0m SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '1') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36mCoalescingPanda::User Load (0.1ms)[0m [1mSELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '1' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1[0m [["coalescing_panda_lti_account_id", 1]] [1m[35mCoalescingPanda::Section Load (0.1ms)[0m SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "coalescing_panda_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"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Enrollment Load (0.1ms)[0m SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '2') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36mCoalescingPanda::User Load (0.1ms)[0m [1mSELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1[0m [["coalescing_panda_lti_account_id", 1]] [1m[35mCoalescingPanda::Section Load (0.0ms)[0m SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_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"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Enrollment Load (0.1ms)[0m SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '3') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36mCoalescingPanda::User Load (0.1ms)[0m [1mSELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1[0m [["coalescing_panda_lti_account_id", 1]] [1m[35mCoalescingPanda::Section Load (0.0ms)[0m SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_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"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mUPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1[0m [["percent_complete", 42.9], ["updated_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::Assignment Load (0.1ms)[0m [1mSELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "grade_group_students_individually", "name", "points_possible", "published", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_assignment_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 18:04:38 UTC +00:00], ["description", "What is your name?
"], ["grade_group_students_individually", false], ["name", "Gimme your name"], ["points_possible", 100.0], ["published", true], ["submission_types", "---\n- online_text_entry\n"], ["updated_at", Tue, 18 Nov 2014 18:04:42 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::Assignment Load (0.1ms)[0m [1mSELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "grade_group_students_individually", "name", "points_possible", "published", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_assignment_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 19:10:28 UTC +00:00], ["description", "What is your Favorite Color?
"], ["grade_group_students_individually", false], ["name", "Favorite Color"], ["points_possible", 100.0], ["published", true], ["submission_types", "---\n- online_text_entry\n"], ["updated_at", Tue, 18 Nov 2014 19:10:30 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 57.1], ["updated_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Assignment Load (0.1ms)[0m SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? [["coalescing_panda_course_id", 1]] [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 71.4], ["updated_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Group Load (0.1ms)[0m SELECT "coalescing_panda_groups".* FROM "coalescing_panda_groups" WHERE "coalescing_panda_groups"."context_id" = ? AND "coalescing_panda_groups"."context_type" = ? AND (canvas_group_id = '4') ORDER BY "coalescing_panda_groups"."id" ASC LIMIT 1 [["context_id", 1], ["context_type", "CoalescingPanda::Course"]] CoalescingPanda::Group not created: Batch: 1, Message: uninitialized constant Course, values: {"description"=>nil, "group_category_id"=>3, "id"=>4, "is_public"=>false, "join_level"=>"invitation_only", "max_membership"=>5, "name"=>"Student Group 1", "members_count"=>2, "storage_quota_mb"=>50, "context_type"=>"Course", "course_id"=>3709, "avatar_url"=>nil, "role"=>nil, "leader"=>nil, "canvas_group_id"=>4} [1m[36mCoalescingPanda::Group Load (0.1ms)[0m [1mSELECT "coalescing_panda_groups".* FROM "coalescing_panda_groups" WHERE "coalescing_panda_groups"."context_id" = ? AND "coalescing_panda_groups"."context_type" = ? AND (canvas_group_id = '5') ORDER BY "coalescing_panda_groups"."id" ASC LIMIT 1[0m [["context_id", 1], ["context_type", "CoalescingPanda::Course"]] CoalescingPanda::Group not created: Batch: 1, Message: uninitialized constant Course, values: {"description"=>nil, "group_category_id"=>3, "id"=>5, "is_public"=>false, "join_level"=>"invitation_only", "max_membership"=>5, "name"=>"Student Group 2", "members_count"=>2, "storage_quota_mb"=>50, "context_type"=>"Course", "course_id"=>3709, "avatar_url"=>nil, "role"=>nil, "leader"=>nil, "canvas_group_id"=>5} [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mUPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1[0m [["percent_complete", 85.7], ["updated_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::Group Load (0.1ms)[0m [1mSELECT "coalescing_panda_groups".* FROM "coalescing_panda_groups" WHERE "coalescing_panda_groups"."context_id" = ? AND "coalescing_panda_groups"."context_type" = ?[0m [["context_id", 1], ["context_type", "CoalescingPanda::Course"]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mUPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1[0m [["percent_complete", 100.0], ["updated_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["status", "Completed"], ["updated_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (1.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 78' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 78' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "77"], ["created_at", Thu, 08 Jan 2015 00:04:41 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", Thu, 08 Jan 2015 00:04:41 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 79' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 79' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:04:41 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", Thu, 08 Jan 2015 00:04:41 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 31], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 00:04:41 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 80' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 80' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:04:41 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", Thu, 08 Jan 2015 00:04:41 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 81' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 81' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "80"], ["created_at", Thu, 08 Jan 2015 00:04:41 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", Thu, 08 Jan 2015 00:04:41 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 00:04:41 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 27], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mCoalescingPanda::Section Load (0.1ms)[0m SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 82' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 82' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:04:41 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", Thu, 08 Jan 2015 00:04:41 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 83' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 83' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "82"], ["created_at", Thu, 08 Jan 2015 00:04:41 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", Thu, 08 Jan 2015 00:04:41 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 00:04:41 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 28], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Section Load (0.0ms)[0m SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00], ["name", "Course1"], ["updated_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "coalescing_panda_sections" [1m[36m (0.8ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mCoalescingPanda::User Load (0.2ms)[0m [1mSELECT "coalescing_panda_users".* FROM "coalescing_panda_users"[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 84' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 84' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "83"], ["created_at", Thu, 08 Jan 2015 00:04:41 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", Thu, 08 Jan 2015 00:04:41 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 85' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 85' LIMIT 1[0m [1m[35mSQL (0.6ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:04:41 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", Thu, 08 Jan 2015 00:04:41 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 34], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 00:04:41 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::User Load (0.0ms)[0m [1mSELECT "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[0m [["coalescing_panda_lti_account_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00], ["name", "teacher@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::User Load (0.0ms)[0m [1mSELECT "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[0m [["coalescing_panda_lti_account_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00], ["name", "student1@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::User Load (0.0ms)[0m [1mSELECT "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[0m [["coalescing_panda_lti_account_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00], ["name", "student2@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "coalescing_panda_users"[0m [1m[35m (0.8ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mCoalescingPanda::Enrollment Load (0.1ms)[0m SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 86' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 86' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:04:41 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", Thu, 08 Jan 2015 00:04:41 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 87' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 87' LIMIT 1 [1m[36mSQL (0.7ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "86"], ["created_at", Thu, 08 Jan 2015 00:04:41 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", Thu, 08 Jan 2015 00:04:41 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 00:04:41 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 30], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Section Load (0.0ms)[0m SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00], ["name", "Course1"], ["updated_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::User Load (0.0ms)[0m 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]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00], ["name", "teacher@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::User Load (0.0ms)[0m 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]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00], ["name", "student1@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::User Load (0.0ms)[0m 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]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00], ["name", "student2@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Enrollment Load (0.0ms)[0m SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '1') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36mCoalescingPanda::User Load (0.0ms)[0m [1mSELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '1' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1[0m [["coalescing_panda_lti_account_id", 1]] [1m[35mCoalescingPanda::Section Load (0.0ms)[0m SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_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"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Enrollment Load (0.0ms)[0m SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '2') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36mCoalescingPanda::User Load (0.0ms)[0m [1mSELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1[0m [["coalescing_panda_lti_account_id", 1]] [1m[35mCoalescingPanda::Section Load (0.0ms)[0m SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_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"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Enrollment Load (0.0ms)[0m SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '3') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36mCoalescingPanda::User Load (0.0ms)[0m [1mSELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1[0m [["coalescing_panda_lti_account_id", 1]] [1m[35mCoalescingPanda::Section Load (0.0ms)[0m SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_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"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "coalescing_panda_enrollments" [1m[36mCoalescingPanda::Enrollment Load (0.1ms)[0m [1mSELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" ORDER BY "coalescing_panda_enrollments"."id" DESC LIMIT 1[0m [1m[35m (0.9ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mCoalescingPanda::Assignment Load (0.2ms)[0m SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 88' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 88' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:04:41 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", Thu, 08 Jan 2015 00:04:41 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 89' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 89' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "88"], ["created_at", Thu, 08 Jan 2015 00:04:41 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", Thu, 08 Jan 2015 00:04:41 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 00:04:41 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 31], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Assignment Load (0.0ms)[0m SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "grade_group_students_individually", "name", "points_possible", "published", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 18:04:38 UTC +00:00], ["description", "What is your name?
"], ["grade_group_students_individually", false], ["name", "Gimme your name"], ["points_possible", 100.0], ["published", true], ["submission_types", "---\n- online_text_entry\n"], ["updated_at", Tue, 18 Nov 2014 18:04:42 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Assignment Load (0.0ms)[0m SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "grade_group_students_individually", "name", "points_possible", "published", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 19:10:28 UTC +00:00], ["description", "What is your Favorite Color?
"], ["grade_group_students_individually", false], ["name", "Favorite Color"], ["points_possible", 100.0], ["published", true], ["submission_types", "---\n- online_text_entry\n"], ["updated_at", Tue, 18 Nov 2014 19:10:30 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "coalescing_panda_assignments" [1m[36m (1.0ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mCoalescingPanda::Submission Load (0.2ms)[0m [1mSELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions"[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 90' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 90' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "89"], ["created_at", Thu, 08 Jan 2015 00:04:41 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", Thu, 08 Jan 2015 00:04:41 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 91' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 91' LIMIT 1[0m [1m[35mSQL (0.6ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:04:41 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", Thu, 08 Jan 2015 00:04:41 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 37], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 00:04:41 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::User Load (0.0ms)[0m [1mSELECT "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[0m [["coalescing_panda_lti_account_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00], ["name", "teacher@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::User Load (0.0ms)[0m [1mSELECT "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[0m [["coalescing_panda_lti_account_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00], ["name", "student1@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::User Load (0.0ms)[0m [1mSELECT "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[0m [["coalescing_panda_lti_account_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00], ["name", "student2@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::Assignment Load (0.0ms)[0m [1mSELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "grade_group_students_individually", "name", "points_possible", "published", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_assignment_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 18:04:38 UTC +00:00], ["description", "What is your name?
"], ["grade_group_students_individually", false], ["name", "Gimme your name"], ["points_possible", 100.0], ["published", true], ["submission_types", "---\n- online_text_entry\n"], ["updated_at", Tue, 18 Nov 2014 18:04:42 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::Assignment Load (0.0ms)[0m [1mSELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "grade_group_students_individually", "name", "points_possible", "published", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_assignment_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 19:10:28 UTC +00:00], ["description", "What is your Favorite Color?
"], ["grade_group_students_individually", false], ["name", "Favorite Color"], ["points_possible", 100.0], ["published", true], ["submission_types", "---\n- online_text_entry\n"], ["updated_at", Tue, 18 Nov 2014 19:10:30 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::Submission Load (0.2ms)[0m [1mSELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '3') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35mCoalescingPanda::User Load (0.0ms)[0m SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] [1m[36mCoalescingPanda::Assignment Load (0.1ms)[0m [1mSELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_submission_id", 3], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 3], ["created_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00], ["grade", "70"], ["score", 70], ["updated_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00], ["workflow_state", "graded"]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::Submission Load (0.2ms)[0m [1mSELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '1') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35mCoalescingPanda::User Load (0.1ms)[0m SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] [1m[36mCoalescingPanda::Assignment Load (0.1ms)[0m [1mSELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_submission_id", 1], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 2], ["created_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00], ["grade", "100"], ["score", 100], ["updated_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00], ["workflow_state", "graded"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::Submission Load (0.2ms)[0m [1mSELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '4') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35mCoalescingPanda::User Load (0.0ms)[0m SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] [1m[36mCoalescingPanda::Assignment Load (0.1ms)[0m [1mSELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_submission_id", 4], ["coalescing_panda_assignment_id", 2], ["coalescing_panda_user_id", 3], ["created_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00], ["grade", "90"], ["score", 90], ["updated_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00], ["workflow_state", "graded"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::Submission Load (0.1ms)[0m [1mSELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '2') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35mCoalescingPanda::User Load (0.0ms)[0m SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] [1m[36mCoalescingPanda::Assignment Load (0.0ms)[0m [1mSELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_submission_id", 2], ["coalescing_panda_assignment_id", 2], ["coalescing_panda_user_id", 2], ["created_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00], ["grade", "80"], ["score", 80], ["updated_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00], ["workflow_state", "graded"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "coalescing_panda_submissions"[0m [1m[35m (1.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mCoalescingPanda::Group Load (0.2ms)[0m SELECT "coalescing_panda_groups".* FROM "coalescing_panda_groups" [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 92' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 92' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:04:41 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", Thu, 08 Jan 2015 00:04:41 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 93' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 93' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "92"], ["created_at", Thu, 08 Jan 2015 00:04:41 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", Thu, 08 Jan 2015 00:04:41 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 00:04:41 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 33], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Group Load (0.0ms)[0m SELECT "coalescing_panda_groups".* FROM "coalescing_panda_groups" WHERE "coalescing_panda_groups"."context_id" = ? AND "coalescing_panda_groups"."context_type" = ? AND (canvas_group_id = '4') ORDER BY "coalescing_panda_groups"."id" ASC LIMIT 1 [["context_id", 1], ["context_type", "CoalescingPanda::Course"]] CoalescingPanda::Group not created: Batch: 1, Message: uninitialized constant Course, values: {"description"=>nil, "group_category_id"=>3, "id"=>4, "is_public"=>false, "join_level"=>"invitation_only", "max_membership"=>5, "name"=>"Student Group 1", "members_count"=>2, "storage_quota_mb"=>50, "context_type"=>"Course", "course_id"=>3709, "avatar_url"=>nil, "role"=>nil, "leader"=>nil, "canvas_group_id"=>4} [1m[36mCoalescingPanda::Group Load (0.0ms)[0m [1mSELECT "coalescing_panda_groups".* FROM "coalescing_panda_groups" WHERE "coalescing_panda_groups"."context_id" = ? AND "coalescing_panda_groups"."context_type" = ? AND (canvas_group_id = '5') ORDER BY "coalescing_panda_groups"."id" ASC LIMIT 1[0m [["context_id", 1], ["context_type", "CoalescingPanda::Course"]] CoalescingPanda::Group not created: Batch: 1, Message: uninitialized constant Course, values: {"description"=>nil, "group_category_id"=>3, "id"=>5, "is_public"=>false, "join_level"=>"invitation_only", "max_membership"=>5, "name"=>"Student Group 2", "members_count"=>2, "storage_quota_mb"=>50, "context_type"=>"Course", "course_id"=>3709, "avatar_url"=>nil, "role"=>nil, "leader"=>nil, "canvas_group_id"=>5} [1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "coalescing_panda_groups" [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 94' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 94' LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:04:41 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", Thu, 08 Jan 2015 00:04:41 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 95' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 95' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "94"], ["created_at", Thu, 08 Jan 2015 00:04:41 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", Thu, 08 Jan 2015 00:04:41 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 00:04:41 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 34], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (2.7ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.2ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 96' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 96' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "95"], ["created_at", Thu, 08 Jan 2015 00:04:41 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", Thu, 08 Jan 2015 00:04:41 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 97' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 97' LIMIT 1[0m [1m[35mSQL (0.6ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:04:41 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", Thu, 08 Jan 2015 00:04:41 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 40], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 00:04:41 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.9ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 98' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 98' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:04:41 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", Thu, 08 Jan 2015 00:04:41 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 99' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 99' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "98"], ["created_at", Thu, 08 Jan 2015 00:04:41 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", Thu, 08 Jan 2015 00:04:41 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 00:04:41 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 36], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.8ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 100' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 100' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "99"], ["created_at", Thu, 08 Jan 2015 00:04:41 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", Thu, 08 Jan 2015 00:04:41 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 101' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 101' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:04:41 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", Thu, 08 Jan 2015 00:04:41 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 42], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 00:04:41 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 102' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 102' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:04:41 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", Thu, 08 Jan 2015 00:04:41 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 103' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 103' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "102"], ["created_at", Thu, 08 Jan 2015 00:04:41 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", Thu, 08 Jan 2015 00:04:41 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 00:04:41 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 38], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 104' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 104' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "103"], ["created_at", Thu, 08 Jan 2015 00:04:41 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", Thu, 08 Jan 2015 00:04:41 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 105' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 105' LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:04:41 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", Thu, 08 Jan 2015 00:04:41 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 44], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 00:04:41 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.6ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 106' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 106' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:04:41 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", Thu, 08 Jan 2015 00:04:41 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 107' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 107' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "106"], ["created_at", Thu, 08 Jan 2015 00:04:41 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", Thu, 08 Jan 2015 00:04:41 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 00:04:41 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 40], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.8ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 108' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 108' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "107"], ["created_at", Thu, 08 Jan 2015 00:04:41 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", Thu, 08 Jan 2015 00:04:41 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 109' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 109' LIMIT 1[0m [1m[35mSQL (0.6ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:04:41 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", Thu, 08 Jan 2015 00:04:41 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 46], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 00:04:41 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.8ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 110' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 110' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:04:41 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", Thu, 08 Jan 2015 00:04:41 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 111' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 111' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "110"], ["created_at", Thu, 08 Jan 2015 00:04:41 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", Thu, 08 Jan 2015 00:04:41 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 00:04:41 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 42], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.9ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 112' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 112' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "111"], ["created_at", Thu, 08 Jan 2015 00:04:41 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", Thu, 08 Jan 2015 00:04:41 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 113' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 113' LIMIT 1[0m [1m[35mSQL (0.6ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:04:41 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", Thu, 08 Jan 2015 00:04:41 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 48], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 00:04:41 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_section_id", 9], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 114' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 114' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:04:41 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", Thu, 08 Jan 2015 00:04:41 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 115' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 115' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "114"], ["created_at", Thu, 08 Jan 2015 00:04:41 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", Thu, 08 Jan 2015 00:04:41 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", 4], ["created_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 44], ["coalescing_panda_lti_account_id", 3], ["coalescing_panda_term_id", 2], ["created_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Course Load (0.1ms)[0m SELECT "coalescing_panda_courses".* FROM "coalescing_panda_courses" WHERE "coalescing_panda_courses"."id" = ? LIMIT 1 [["id", 2]] [1m[36mSQL (0.2ms)[0m [1mUPDATE "coalescing_panda_sections" SET "coalescing_panda_course_id" = ?, "updated_at" = ? WHERE "coalescing_panda_sections"."id" = 1[0m [["coalescing_panda_course_id", 2], ["updated_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 15], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00], ["email", "test18@test.com"], ["name", "Factory User 18"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::User Load (0.1ms)[0m [1mSELECT "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[0m [["coalescing_panda_lti_account_id", 3]] [1m[35mCoalescingPanda::Section Load (0.1ms)[0m 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]] [1m[36m (0.8ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 116' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 116' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:04:41 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", Thu, 08 Jan 2015 00:04:41 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 117' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 117' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "116"], ["created_at", Thu, 08 Jan 2015 00:04:41 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", Thu, 08 Jan 2015 00:04:41 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 00:04:41 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 45], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 118' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 118' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "117"], ["created_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00], ["key", "Key 118"], ["name", "Account 118"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 118"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 119' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 119' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "118"], ["created_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00], ["key", "Key 119"], ["name", "Account 119"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 119"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 51], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 46], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_assignment_id", "9"], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00], ["name", "test assignment"], ["submission_types", nil], ["updated_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 16], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00], ["email", "test19@test.com"], ["name", "Factory User 19"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 00:04:41 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::User Load (0.1ms)[0m [1mSELECT "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[0m [["coalescing_panda_lti_account_id", 1]] [1m[35mCoalescingPanda::Assignment Load (0.1ms)[0m 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]] [1m[36m (0.8ms)[0m [1mrollback transaction[0m [1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m [1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations" [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m Processing by CoalescingPanda::LtiController#lti_config as HTML Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms) [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m Processing by CoalescingPanda::LtiController#lti_config as HTML Completed 500 Internal Server Error in 1ms [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m Processing by CoalescingPanda::Oauth2Controller#redirect as HTML Parameters: {"user_id"=>"1", "api_domain"=>"foo.com", "code"=>"bar"} Completed 200 OK in 5ms (Views: 4.9ms | ActiveRecord: 0.0ms) [1m[35mCoalescingPanda::CanvasApiAuth Load (0.2ms)[0m 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 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction Processing by CoalescingPanda::Oauth2Controller#redirect as HTML Parameters: {"error"=>"your face"} Completed 200 OK in 1ms (Views: 0.8ms | ActiveRecord: 0.0ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "coalescing_panda_canvas_api_auths"[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 1' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 1' LIMIT 1 [1m[36mSQL (2.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "1"], ["created_at", Thu, 08 Jan 2015 00:04: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", Thu, 08 Jan 2015 00:04:52 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 2' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 2' LIMIT 1[0m [1m[35mSQL (1.3ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:04: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", Thu, 08 Jan 2015 00:04:52 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 1], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:04:52 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:52 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 00:04:52 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:04:52 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (1.3ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 3' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 3' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "3"], ["created_at", Thu, 08 Jan 2015 00:04: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", Thu, 08 Jan 2015 00:04:52 UTC +00:00]] [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 4' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 4' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:04:52 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", Thu, 08 Jan 2015 00:04:52 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 2], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:04:52 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:52 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 00:04:52 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:04:52 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.6ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 5' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 5' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "5"], ["created_at", Thu, 08 Jan 2015 00:04:52 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", Thu, 08 Jan 2015 00:04:52 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 6' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 6' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:04:52 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", Thu, 08 Jan 2015 00:04:52 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 3], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:04:52 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:52 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 00:04:52 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:04:52 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_assignment_id", "1"], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 00:04:52 UTC +00:00], ["name", "test assignment"], ["submission_types", nil], ["updated_at", Thu, 08 Jan 2015 00:04:52 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_assignment_id", "1"], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 00:04:52 UTC +00:00], ["name", "test assignment"], ["submission_types", nil], ["updated_at", Thu, 08 Jan 2015 00:04:52 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", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m [1m[35m (0.6ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 7' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 7' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "7"], ["created_at", Thu, 08 Jan 2015 00:04:52 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", Thu, 08 Jan 2015 00:04:52 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 8' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 8' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:04:52 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", Thu, 08 Jan 2015 00:04:52 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 4], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:04:52 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:52 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 00:04:52 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:04:52 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.6ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mCoalescingPanda::CanvasApiAuth Load (0.1ms)[0m SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" ORDER BY "coalescing_panda_canvas_api_auths"."id" ASC LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_panda_canvas_api_auths" ("created_at", "updated_at", "user_id") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 00:04:52 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:52 UTC +00:00], ["user_id", "a"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::CanvasApiAuth Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1 [1m[36mCoalescingPanda::CanvasApiAuth Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1[0m [1m[35mCoalescingPanda::CanvasApiAuth Load (0.1ms)[0m SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" [1m[36mCoalescingPanda::CanvasApiAuth Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" = '1') LIMIT 1[0m [1m[35mCoalescingPanda::CanvasApiAuth Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" = '1') LIMIT 1 [1m[36m (0.5ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mCoalescingPanda::CanvasApiAuth Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1[0m [1m[35mCoalescingPanda::CanvasApiAuth Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mCoalescingPanda::CanvasApiAuth Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1[0m [1m[35mCoalescingPanda::CanvasApiAuth Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1 [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 00:04:52 UTC +00:00], ["status", "Pending"], ["updated_at", Thu, 08 Jan 2015 00:04:52 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.7ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Thu, 08 Jan 2015 00:04:52 UTC +00:00], ["status", "Pending"], ["updated_at", Thu, 08 Jan 2015 00:04:52 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 00:04:52 UTC +00:00], ["status", "Pending"], ["updated_at", Thu, 08 Jan 2015 00:04:52 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::CanvasBatch Load (0.1ms)[0m SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" ORDER BY created_at DESC [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 9' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 9' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:04:52 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", Thu, 08 Jan 2015 00:04:52 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 10' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 10' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "10"], ["created_at", Thu, 08 Jan 2015 00:04:52 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", Thu, 08 Jan 2015 00:04:52 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 00:04:52 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:52 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.8ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 11' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 11' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "11"], ["created_at", Thu, 08 Jan 2015 00:04:52 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", Thu, 08 Jan 2015 00:04:52 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 12' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 12' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:04:52 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", Thu, 08 Jan 2015 00:04:52 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 6], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:04:52 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:52 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.6ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.2ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 13' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 13' LIMIT 1[0m [1m[35mSQL (0.6ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:04:52 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", Thu, 08 Jan 2015 00:04:52 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 14' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 14' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "14"], ["created_at", Thu, 08 Jan 2015 00:04:52 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", Thu, 08 Jan 2015 00:04:52 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 00:04:52 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:52 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 00:04:52 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:04:52 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 15' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 15' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:04: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", Thu, 08 Jan 2015 00:04:52 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 8], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 00:04:52 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:52 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 00:04:52 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:04:52 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 (?, ?, ?, ?, ?, ?) [1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 16' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 16' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "16"], ["created_at", Thu, 08 Jan 2015 00:04:52 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", Thu, 08 Jan 2015 00:04:52 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.6ms)[0m 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", Thu, 08 Jan 2015 00:04:52 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:52 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 17' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 17' LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "17"], ["created_at", Thu, 08 Jan 2015 00:04: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", Thu, 08 Jan 2015 00:04:52 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 00:04:52 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:04:52 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 18' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 18' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "18"], ["created_at", Thu, 08 Jan 2015 00:04: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", Thu, 08 Jan 2015 00:04:52 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 00:04:52 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:04:52 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 (?, ?, ?, ?, ?, ?) [1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 19' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 19' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "19"], ["created_at", Thu, 08 Jan 2015 00:04: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", Thu, 08 Jan 2015 00:04:52 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 20' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 20' LIMIT 1[0m [1m[35mSQL (0.6ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:04: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", Thu, 08 Jan 2015 00:04:52 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 10], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:04:52 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:52 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 21' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 21' LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:04:52 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", Thu, 08 Jan 2015 00:04:52 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 00:04:52 UTC +00:00], ["email", "test1@test.com"], ["name", "Factory User 1"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 00:04:52 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 22' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 22' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:04:52 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", Thu, 08 Jan 2015 00:04:52 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 23' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 23' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "23"], ["created_at", Thu, 08 Jan 2015 00:04:52 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", Thu, 08 Jan 2015 00:04:52 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 00:04:52 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:52 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 7], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 00:04:52 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:04:52 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.4ms)[0m 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", Thu, 08 Jan 2015 00:04:52 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:52 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.9ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 24' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 24' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "24"], ["created_at", Thu, 08 Jan 2015 00:04:52 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", Thu, 08 Jan 2015 00:04:52 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.5ms)[0m 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", Thu, 08 Jan 2015 00:04:52 UTC +00:00], ["email", "test2@test.com"], ["name", "Factory User 2"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 00:04:52 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 25' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 25' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "25"], ["created_at", Thu, 08 Jan 2015 00:04:52 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", Thu, 08 Jan 2015 00:04:52 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 26' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 26' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:04:52 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", Thu, 08 Jan 2015 00:04:52 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 12], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 00:04:52 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:52 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 00:04:52 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:04:52 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_section_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 00:04:52 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:52 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.9ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 27' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 27' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:04:52 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", Thu, 08 Jan 2015 00:04:52 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 00:04:52 UTC +00:00], ["email", "test3@test.com"], ["name", "Factory User 3"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 00:04:52 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 28' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 28' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:04:52 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", Thu, 08 Jan 2015 00:04:52 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 29' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 29' LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "29"], ["created_at", Thu, 08 Jan 2015 00:04:52 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", Thu, 08 Jan 2015 00:04:52 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m 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", Thu, 08 Jan 2015 00:04:52 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:52 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 9], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 00:04:52 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:04:52 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m 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", Thu, 08 Jan 2015 00:04:52 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:52 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (1.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 30' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 30' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "30"], ["created_at", Thu, 08 Jan 2015 00:04: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", Thu, 08 Jan 2015 00:04:53 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.6ms)[0m 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", Thu, 08 Jan 2015 00:04:53 UTC +00:00], ["email", "test4@test.com"], ["name", "Factory User 4"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 00:04:53 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 31' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 31' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "31"], ["created_at", Thu, 08 Jan 2015 00:04: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", Thu, 08 Jan 2015 00:04:53 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 32' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 32' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:04: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", Thu, 08 Jan 2015 00:04:53 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 14], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 00:04:53 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:53 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 00:04:53 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:04:53 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_section_id", 4], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 00:04:53 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:53 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m 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", Thu, 08 Jan 2015 00:04:53 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Thu, 08 Jan 2015 00:04:53 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_enrollment_id", 4], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Thu, 08 Jan 2015 00:04:53 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Thu, 08 Jan 2015 00:04:53 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 (?, ?, ?, ?, ?, ?) [1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1 [1m[36m (1.0ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 33' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 33' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:04: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", Thu, 08 Jan 2015 00:04:53 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 5], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 00:04:53 UTC +00:00], ["email", "test5@test.com"], ["name", "Factory User 5"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 00:04:53 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 34' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 34' LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:04: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", Thu, 08 Jan 2015 00:04:53 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 35' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 35' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "35"], ["created_at", Thu, 08 Jan 2015 00:04: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", Thu, 08 Jan 2015 00:04:53 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 00:04:53 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:53 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 11], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 00:04:53 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:04:53 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 00:04:53 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:53 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_enrollment_id", 5], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Thu, 08 Jan 2015 00:04:53 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Thu, 08 Jan 2015 00:04:53 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 00:04:53 UTC +00:00], ["enrollment_type", "TeacherEnrollment"], ["updated_at", Thu, 08 Jan 2015 00:04:53 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (1.0ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 36' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 36' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "36"], ["created_at", Thu, 08 Jan 2015 00:04: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", Thu, 08 Jan 2015 00:04:53 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.6ms)[0m 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", Thu, 08 Jan 2015 00:04:53 UTC +00:00], ["email", "test6@test.com"], ["name", "Factory User 6"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 00:04:53 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 37' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 37' LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "37"], ["created_at", Thu, 08 Jan 2015 00:04: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", Thu, 08 Jan 2015 00:04:53 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 38' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 38' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:04: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", Thu, 08 Jan 2015 00:04:53 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 16], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 00:04:53 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:53 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 00:04:53 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:04:53 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_section_id", 6], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 00:04:53 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:53 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.8ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 39' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 39' LIMIT 1 [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 40' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 40' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:04: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", Thu, 08 Jan 2015 00:04:53 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 41' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 41' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "40"], ["created_at", Thu, 08 Jan 2015 00:04: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", Thu, 08 Jan 2015 00:04:53 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 00:04:53 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:53 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 13], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 00:04:53 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:04:53 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.8ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 42' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 42' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:04: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", Thu, 08 Jan 2015 00:04:53 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 43' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 43' LIMIT 1 [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "42"], ["created_at", Thu, 08 Jan 2015 00:04: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", Thu, 08 Jan 2015 00:04:53 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 00:04:53 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:53 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 14], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 00:04:53 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:04:53 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.9ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 44' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 44' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:04: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", Thu, 08 Jan 2015 00:04:53 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 45' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 45' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "44"], ["created_at", Thu, 08 Jan 2015 00:04: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", Thu, 08 Jan 2015 00:04:53 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 00:04:53 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:53 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 15], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 00:04:53 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:04:53 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m 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", Thu, 08 Jan 2015 00:04:53 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:53 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_section_id", "1"], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 00:04:53 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:53 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 (?, ?, ?, ?) [1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1 [1m[36m (0.9ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 46' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 46' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:04: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", Thu, 08 Jan 2015 00:04:53 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 47' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 47' LIMIT 1 [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "46"], ["created_at", Thu, 08 Jan 2015 00:04: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", Thu, 08 Jan 2015 00:04:53 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m 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", Thu, 08 Jan 2015 00:04:53 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:53 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 16], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 00:04:53 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:04:53 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.8ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 48' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 48' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:04: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", Thu, 08 Jan 2015 00:04:53 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 7], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 00:04:53 UTC +00:00], ["email", "test7@test.com"], ["name", "Factory User 7"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 00:04:53 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 49' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 49' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:04: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", Thu, 08 Jan 2015 00:04:53 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 50' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 50' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "49"], ["created_at", Thu, 08 Jan 2015 00:04: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", Thu, 08 Jan 2015 00:04:53 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 00:04:53 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:53 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 17], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 00:04:53 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:04:53 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_assignment_id", "3"], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 00:04:53 UTC +00:00], ["name", "test assignment"], ["submission_types", nil], ["updated_at", Thu, 08 Jan 2015 00:04:53 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (1.0ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 51' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 51' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "50"], ["created_at", Thu, 08 Jan 2015 00:04: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", Thu, 08 Jan 2015 00:04:53 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.7ms)[0m 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", Thu, 08 Jan 2015 00:04:53 UTC +00:00], ["email", "test8@test.com"], ["name", "Factory User 8"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 00:04:53 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 52' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 52' LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "51"], ["created_at", Thu, 08 Jan 2015 00:04: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", Thu, 08 Jan 2015 00:04:53 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 53' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 53' LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:04: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", Thu, 08 Jan 2015 00:04:53 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 22], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 00:04:53 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:53 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 00:04:53 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:04:53 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_assignment_id", "4"], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 00:04:53 UTC +00:00], ["name", "test assignment"], ["submission_types", nil], ["updated_at", Thu, 08 Jan 2015 00:04:53 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (1.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 54' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 54' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:04:53 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", Thu, 08 Jan 2015 00:04:53 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 9], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 00:04:53 UTC +00:00], ["email", "test9@test.com"], ["name", "Factory User 9"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 00:04:53 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 55' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 55' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:04:53 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", Thu, 08 Jan 2015 00:04:53 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 56' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 56' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "55"], ["created_at", Thu, 08 Jan 2015 00:04:53 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", Thu, 08 Jan 2015 00:04:53 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 00:04:53 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:53 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 19], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 00:04:53 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:04:53 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_assignment_id", "5"], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 00:04:53 UTC +00:00], ["name", "test assignment"], ["submission_types", nil], ["updated_at", Thu, 08 Jan 2015 00:04:53 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 57' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 57' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "56"], ["created_at", Thu, 08 Jan 2015 00:04:53 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", Thu, 08 Jan 2015 00:04:53 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.5ms)[0m 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", Thu, 08 Jan 2015 00:04:53 UTC +00:00], ["email", "test10@test.com"], ["name", "Factory User 10"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 00:04:53 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 58' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 58' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "57"], ["created_at", Thu, 08 Jan 2015 00:04:53 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", Thu, 08 Jan 2015 00:04:53 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 59' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 59' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:04:53 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", Thu, 08 Jan 2015 00:04:53 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 24], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 00:04:53 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:53 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 00:04:53 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:04:53 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_assignment_id", "6"], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 00:04:53 UTC +00:00], ["name", "test assignment"], ["submission_types", nil], ["updated_at", Thu, 08 Jan 2015 00:04:53 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m 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", Thu, 08 Jan 2015 00:04:53 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:53 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["canvas_submission_id", "1"], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Thu, 08 Jan 2015 00:04:53 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:53 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 (?, ?, ?, ?, ?) [1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1 [1m[36m (0.8ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 60' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 60' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:04:53 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", Thu, 08 Jan 2015 00:04:53 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 11], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 00:04:53 UTC +00:00], ["email", "test11@test.com"], ["name", "Factory User 11"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 00:04:53 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 61' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 61' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:04:53 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", Thu, 08 Jan 2015 00:04:53 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 62' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 62' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "61"], ["created_at", Thu, 08 Jan 2015 00:04:53 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", Thu, 08 Jan 2015 00:04:53 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m 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", Thu, 08 Jan 2015 00:04:53 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:53 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 21], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 00:04:53 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:04:53 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_assignment_id", "7"], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 00:04:53 UTC +00:00], ["name", "test assignment"], ["submission_types", nil], ["updated_at", Thu, 08 Jan 2015 00:04:53 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["canvas_submission_id", "1"], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Thu, 08 Jan 2015 00:04:53 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:53 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.4ms)[0m 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", Thu, 08 Jan 2015 00:04:53 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:53 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.8ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 63' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 63' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "62"], ["created_at", Thu, 08 Jan 2015 00:04:53 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", Thu, 08 Jan 2015 00:04:53 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.5ms)[0m 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", Thu, 08 Jan 2015 00:04:53 UTC +00:00], ["email", "test12@test.com"], ["name", "Factory User 12"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 00:04:53 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 64' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 64' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "63"], ["created_at", Thu, 08 Jan 2015 00:04:53 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", Thu, 08 Jan 2015 00:04:53 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 65' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 65' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:04:53 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", Thu, 08 Jan 2015 00:04:53 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 26], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 00:04:53 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:53 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 00:04:53 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:04:53 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_assignment_id", "8"], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 00:04:53 UTC +00:00], ["name", "test assignment"], ["submission_types", nil], ["updated_at", Thu, 08 Jan 2015 00:04:53 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.8ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 66' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 66' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:04:53 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", Thu, 08 Jan 2015 00:04:53 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.4ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 67' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 67' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "66"], ["created_at", Thu, 08 Jan 2015 00:04:53 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", Thu, 08 Jan 2015 00:04:53 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.7ms)[0m 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", Thu, 08 Jan 2015 00:04:53 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:53 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 00:04:53 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:53 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 (?, ?, ?, ?) [1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1 [1m[36m (0.6ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 68' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 68' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:04:53 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", Thu, 08 Jan 2015 00:04:53 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.3ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 69' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 69' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "68"], ["created_at", Thu, 08 Jan 2015 00:04:53 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", Thu, 08 Jan 2015 00:04:53 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.4ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 70' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 70' LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:04:53 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", Thu, 08 Jan 2015 00:04:53 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 00:04:53 UTC +00:00], ["email", "test15@test.com"], ["name", "Factory User 15"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 00:04:53 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m 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", Thu, 08 Jan 2015 00:04:53 UTC +00:00], ["email", "test16@test.com"], ["name", "Factory User 16"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 00:04:53 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 (?, ?, ?, ?, ?, ?, ?) [1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 71' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 71' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "70"], ["created_at", Thu, 08 Jan 2015 00:04:53 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", Thu, 08 Jan 2015 00:04:53 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.4ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (53.6ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.2ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 72' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 72' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:04:53 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", Thu, 08 Jan 2015 00:04:53 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 73' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 73' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "72"], ["created_at", Thu, 08 Jan 2015 00:04:53 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", Thu, 08 Jan 2015 00:04:53 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 00:04:53 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:53 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 23], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 00:04:53 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:04:53 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 00:04:53 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 00:04:53 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::CanvasBatch Load (0.1ms)[0m SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" ORDER BY created_at ASC LIMIT 1 [1m[36m (0.9ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 74' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 74' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:04:53 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", Thu, 08 Jan 2015 00:04:53 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 75' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 75' LIMIT 1 [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "74"], ["created_at", Thu, 08 Jan 2015 00:04:53 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", Thu, 08 Jan 2015 00:04:53 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m 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", Thu, 08 Jan 2015 00:04:53 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:53 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 24], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 00:04:53 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:04:53 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 00:04:53 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 00:04:53 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 76' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 76' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "75"], ["created_at", Thu, 08 Jan 2015 00:04:53 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", Thu, 08 Jan 2015 00:04:53 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 77' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 77' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:04:53 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", Thu, 08 Jan 2015 00:04:53 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 30], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:04:53 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:53 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 00:04:53 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:04:53 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Thu, 08 Jan 2015 00:04:53 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 00:04:53 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m UPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["status", "Started"], ["updated_at", Thu, 08 Jan 2015 00:04:53 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Section Load (0.1ms)[0m SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 00:04:53 UTC +00:00], ["name", "Course1"], ["updated_at", Thu, 08 Jan 2015 00:04:53 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mUPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1[0m [["percent_complete", 14.3], ["updated_at", Thu, 08 Jan 2015 00:04:53 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::User Load (0.1ms)[0m [1mSELECT "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[0m [["coalescing_panda_lti_account_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 00:04:53 UTC +00:00], ["name", "teacher@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 00:04:53 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::User Load (0.1ms)[0m [1mSELECT "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[0m [["coalescing_panda_lti_account_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 00:04:53 UTC +00:00], ["name", "student1@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 00:04:53 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::User Load (0.1ms)[0m [1mSELECT "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[0m [["coalescing_panda_lti_account_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 00:04:53 UTC +00:00], ["name", "student2@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 00:04:53 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 28.6], ["updated_at", Thu, 08 Jan 2015 00:04:53 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Enrollment Load (0.2ms)[0m SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '1') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36mCoalescingPanda::User Load (0.1ms)[0m [1mSELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '1' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1[0m [["coalescing_panda_lti_account_id", 1]] [1m[35mCoalescingPanda::Section Load (0.1ms)[0m SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "coalescing_panda_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"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Enrollment Load (0.1ms)[0m SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '2') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36mCoalescingPanda::User Load (0.1ms)[0m [1mSELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1[0m [["coalescing_panda_lti_account_id", 1]] [1m[35mCoalescingPanda::Section Load (0.0ms)[0m SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_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"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Enrollment Load (0.1ms)[0m SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '3') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36mCoalescingPanda::User Load (0.1ms)[0m [1mSELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1[0m [["coalescing_panda_lti_account_id", 1]] [1m[35mCoalescingPanda::Section Load (0.1ms)[0m SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_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"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mUPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1[0m [["percent_complete", 42.9], ["updated_at", Thu, 08 Jan 2015 00:04:53 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::Assignment Load (0.2ms)[0m [1mSELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "grade_group_students_individually", "name", "points_possible", "published", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_assignment_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 18:04:38 UTC +00:00], ["description", "What is your name?
"], ["grade_group_students_individually", false], ["name", "Gimme your name"], ["points_possible", 100.0], ["published", true], ["submission_types", "---\n- online_text_entry\n"], ["updated_at", Tue, 18 Nov 2014 18:04:42 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::Assignment Load (0.1ms)[0m [1mSELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "grade_group_students_individually", "name", "points_possible", "published", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_assignment_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 19:10:28 UTC +00:00], ["description", "What is your Favorite Color?
"], ["grade_group_students_individually", false], ["name", "Favorite Color"], ["points_possible", 100.0], ["published", true], ["submission_types", "---\n- online_text_entry\n"], ["updated_at", Tue, 18 Nov 2014 19:10:30 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 57.1], ["updated_at", Thu, 08 Jan 2015 00:04:53 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Assignment Load (0.1ms)[0m SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? [["coalescing_panda_course_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 71.4], ["updated_at", Thu, 08 Jan 2015 00:04:53 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Group Load (0.1ms)[0m SELECT "coalescing_panda_groups".* FROM "coalescing_panda_groups" WHERE "coalescing_panda_groups"."context_id" = ? AND "coalescing_panda_groups"."context_type" = ? AND (canvas_group_id = '4') ORDER BY "coalescing_panda_groups"."id" ASC LIMIT 1 [["context_id", 1], ["context_type", "CoalescingPanda::Course"]] CoalescingPanda::Group not created: Batch: 1, Message: uninitialized constant Course, values: {"description"=>nil, "group_category_id"=>3, "id"=>4, "is_public"=>false, "join_level"=>"invitation_only", "max_membership"=>5, "name"=>"Student Group 1", "members_count"=>2, "storage_quota_mb"=>50, "context_type"=>"Course", "course_id"=>3709, "avatar_url"=>nil, "role"=>nil, "leader"=>nil, "canvas_group_id"=>4} [1m[36mCoalescingPanda::Group Load (0.1ms)[0m [1mSELECT "coalescing_panda_groups".* FROM "coalescing_panda_groups" WHERE "coalescing_panda_groups"."context_id" = ? AND "coalescing_panda_groups"."context_type" = ? AND (canvas_group_id = '5') ORDER BY "coalescing_panda_groups"."id" ASC LIMIT 1[0m [["context_id", 1], ["context_type", "CoalescingPanda::Course"]] CoalescingPanda::Group not created: Batch: 1, Message: uninitialized constant Course, values: {"description"=>nil, "group_category_id"=>3, "id"=>5, "is_public"=>false, "join_level"=>"invitation_only", "max_membership"=>5, "name"=>"Student Group 2", "members_count"=>2, "storage_quota_mb"=>50, "context_type"=>"Course", "course_id"=>3709, "avatar_url"=>nil, "role"=>nil, "leader"=>nil, "canvas_group_id"=>5} [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mUPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1[0m [["percent_complete", 85.7], ["updated_at", Thu, 08 Jan 2015 00:04:53 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::Group Load (0.1ms)[0m [1mSELECT "coalescing_panda_groups".* FROM "coalescing_panda_groups" WHERE "coalescing_panda_groups"."context_id" = ? AND "coalescing_panda_groups"."context_type" = ?[0m [["context_id", 1], ["context_type", "CoalescingPanda::Course"]] [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mUPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1[0m [["percent_complete", 100.0], ["updated_at", Thu, 08 Jan 2015 00:04:53 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["status", "Completed"], ["updated_at", Thu, 08 Jan 2015 00:04:53 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (1.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 78' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 78' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "77"], ["created_at", Thu, 08 Jan 2015 00:04:53 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", Thu, 08 Jan 2015 00:04:53 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 79' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 79' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:04:53 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", Thu, 08 Jan 2015 00:04:53 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 31], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:04:53 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:53 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 00:04:53 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:04:53 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Thu, 08 Jan 2015 00:04:53 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 00:04:53 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.8ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 80' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 80' LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:04:53 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", Thu, 08 Jan 2015 00:04:53 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 81' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 81' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "80"], ["created_at", Thu, 08 Jan 2015 00:04:53 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", Thu, 08 Jan 2015 00:04:53 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 00:04:53 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:53 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 27], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 00:04:53 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:04:53 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 00:04:53 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 00:04:53 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mCoalescingPanda::Section Load (0.1ms)[0m SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 82' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 82' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:04:53 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", Thu, 08 Jan 2015 00:04:53 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 83' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 83' LIMIT 1 [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "82"], ["created_at", Thu, 08 Jan 2015 00:04:53 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", Thu, 08 Jan 2015 00:04:53 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 00:04:53 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:53 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 28], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 00:04:53 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:04:53 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 00:04:53 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 00:04:53 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Section Load (0.0ms)[0m SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 00:04:53 UTC +00:00], ["name", "Course1"], ["updated_at", Thu, 08 Jan 2015 00:04:53 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "coalescing_panda_sections" [1m[36m (1.0ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mCoalescingPanda::User Load (0.1ms)[0m [1mSELECT "coalescing_panda_users".* FROM "coalescing_panda_users"[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 84' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 84' LIMIT 1 [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "83"], ["created_at", Thu, 08 Jan 2015 00:04:53 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", Thu, 08 Jan 2015 00:04:53 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 85' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 85' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:04:53 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", Thu, 08 Jan 2015 00:04:53 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 34], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:04:53 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:53 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 00:04:53 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:04:53 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Thu, 08 Jan 2015 00:04:53 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 00:04:53 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::User Load (0.0ms)[0m [1mSELECT "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[0m [["coalescing_panda_lti_account_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 00:04:53 UTC +00:00], ["name", "teacher@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 00:04:53 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::User Load (0.0ms)[0m [1mSELECT "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[0m [["coalescing_panda_lti_account_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 00:04:53 UTC +00:00], ["name", "student1@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 00:04:53 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::User Load (0.0ms)[0m [1mSELECT "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[0m [["coalescing_panda_lti_account_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 00:04:53 UTC +00:00], ["name", "student2@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 00:04:53 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "coalescing_panda_users"[0m [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mCoalescingPanda::Enrollment Load (0.3ms)[0m SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 86' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 86' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:04:53 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", Thu, 08 Jan 2015 00:04:53 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 87' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 87' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "86"], ["created_at", Thu, 08 Jan 2015 00:04:53 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", Thu, 08 Jan 2015 00:04:53 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 00:04:53 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:53 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 30], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 00:04:53 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:04:53 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 00:04:53 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 00:04:53 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Section Load (0.0ms)[0m SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 00:04:53 UTC +00:00], ["name", "Course1"], ["updated_at", Thu, 08 Jan 2015 00:04:53 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::User Load (0.1ms)[0m 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]] [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 00:04:53 UTC +00:00], ["name", "teacher@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 00:04:53 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::User Load (0.0ms)[0m 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]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 00:04:53 UTC +00:00], ["name", "student1@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 00:04:53 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::User Load (0.0ms)[0m 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]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 00:04:53 UTC +00:00], ["name", "student2@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 00:04:53 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Enrollment Load (0.0ms)[0m SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '1') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36mCoalescingPanda::User Load (0.1ms)[0m [1mSELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '1' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1[0m [["coalescing_panda_lti_account_id", 1]] [1m[35mCoalescingPanda::Section Load (0.1ms)[0m SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "coalescing_panda_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"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Enrollment Load (0.0ms)[0m SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '2') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36mCoalescingPanda::User Load (0.0ms)[0m [1mSELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1[0m [["coalescing_panda_lti_account_id", 1]] [1m[35mCoalescingPanda::Section Load (0.0ms)[0m SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_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"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Enrollment Load (0.0ms)[0m SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '3') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36mCoalescingPanda::User Load (0.0ms)[0m [1mSELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1[0m [["coalescing_panda_lti_account_id", 1]] [1m[35mCoalescingPanda::Section Load (0.0ms)[0m SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_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"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "coalescing_panda_enrollments" [1m[36mCoalescingPanda::Enrollment Load (0.1ms)[0m [1mSELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" ORDER BY "coalescing_panda_enrollments"."id" DESC LIMIT 1[0m [1m[35m (1.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mCoalescingPanda::Assignment Load (0.2ms)[0m SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 88' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 88' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:04:53 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", Thu, 08 Jan 2015 00:04:53 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 89' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 89' LIMIT 1 [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "88"], ["created_at", Thu, 08 Jan 2015 00:04:53 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", Thu, 08 Jan 2015 00:04:53 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 00:04:53 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:53 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 31], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 00:04:53 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:04:53 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 00:04:53 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 00:04:53 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Assignment Load (0.0ms)[0m SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "grade_group_students_individually", "name", "points_possible", "published", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 18:04:38 UTC +00:00], ["description", "What is your name?
"], ["grade_group_students_individually", false], ["name", "Gimme your name"], ["points_possible", 100.0], ["published", true], ["submission_types", "---\n- online_text_entry\n"], ["updated_at", Tue, 18 Nov 2014 18:04:42 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Assignment Load (0.0ms)[0m SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "grade_group_students_individually", "name", "points_possible", "published", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 19:10:28 UTC +00:00], ["description", "What is your Favorite Color?
"], ["grade_group_students_individually", false], ["name", "Favorite Color"], ["points_possible", 100.0], ["published", true], ["submission_types", "---\n- online_text_entry\n"], ["updated_at", Tue, 18 Nov 2014 19:10:30 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "coalescing_panda_assignments" [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mCoalescingPanda::Submission Load (0.1ms)[0m [1mSELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions"[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 90' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 90' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "89"], ["created_at", Thu, 08 Jan 2015 00:04:53 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", Thu, 08 Jan 2015 00:04:53 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 91' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 91' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:04:53 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", Thu, 08 Jan 2015 00:04:53 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 37], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:04:53 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:53 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 00:04:53 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:04:53 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Thu, 08 Jan 2015 00:04:53 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 00:04:53 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::User Load (0.0ms)[0m [1mSELECT "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[0m [["coalescing_panda_lti_account_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 00:04:53 UTC +00:00], ["name", "teacher@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 00:04:53 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::User Load (0.0ms)[0m [1mSELECT "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[0m [["coalescing_panda_lti_account_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 00:04:53 UTC +00:00], ["name", "student1@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 00:04:53 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::User Load (0.0ms)[0m [1mSELECT "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[0m [["coalescing_panda_lti_account_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 00:04:53 UTC +00:00], ["name", "student2@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 00:04:53 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::Assignment Load (0.0ms)[0m [1mSELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "grade_group_students_individually", "name", "points_possible", "published", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_assignment_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 18:04:38 UTC +00:00], ["description", "What is your name?
"], ["grade_group_students_individually", false], ["name", "Gimme your name"], ["points_possible", 100.0], ["published", true], ["submission_types", "---\n- online_text_entry\n"], ["updated_at", Tue, 18 Nov 2014 18:04:42 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::Assignment Load (0.0ms)[0m [1mSELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "grade_group_students_individually", "name", "points_possible", "published", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_assignment_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 19:10:28 UTC +00:00], ["description", "What is your Favorite Color?
"], ["grade_group_students_individually", false], ["name", "Favorite Color"], ["points_possible", 100.0], ["published", true], ["submission_types", "---\n- online_text_entry\n"], ["updated_at", Tue, 18 Nov 2014 19:10:30 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::Submission Load (0.2ms)[0m [1mSELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '3') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35mCoalescingPanda::User Load (0.0ms)[0m SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] [1m[36mCoalescingPanda::Assignment Load (0.1ms)[0m [1mSELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_submission_id", 3], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 3], ["created_at", Thu, 08 Jan 2015 00:04:53 UTC +00:00], ["grade", "70"], ["score", 70], ["updated_at", Thu, 08 Jan 2015 00:04:53 UTC +00:00], ["workflow_state", "graded"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::Submission Load (0.1ms)[0m [1mSELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '1') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35mCoalescingPanda::User Load (0.0ms)[0m SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] [1m[36mCoalescingPanda::Assignment Load (0.0ms)[0m [1mSELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_submission_id", 1], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 2], ["created_at", Thu, 08 Jan 2015 00:04:53 UTC +00:00], ["grade", "100"], ["score", 100], ["updated_at", Thu, 08 Jan 2015 00:04:53 UTC +00:00], ["workflow_state", "graded"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::Submission Load (0.1ms)[0m [1mSELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '4') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35mCoalescingPanda::User Load (0.0ms)[0m SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] [1m[36mCoalescingPanda::Assignment Load (0.1ms)[0m [1mSELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_submission_id", 4], ["coalescing_panda_assignment_id", 2], ["coalescing_panda_user_id", 3], ["created_at", Thu, 08 Jan 2015 00:04:53 UTC +00:00], ["grade", "90"], ["score", 90], ["updated_at", Thu, 08 Jan 2015 00:04:53 UTC +00:00], ["workflow_state", "graded"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::Submission Load (0.1ms)[0m [1mSELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '2') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35mCoalescingPanda::User Load (0.0ms)[0m SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] [1m[36mCoalescingPanda::Assignment Load (0.0ms)[0m [1mSELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_submission_id", 2], ["coalescing_panda_assignment_id", 2], ["coalescing_panda_user_id", 2], ["created_at", Thu, 08 Jan 2015 00:04:53 UTC +00:00], ["grade", "80"], ["score", 80], ["updated_at", Thu, 08 Jan 2015 00:04:53 UTC +00:00], ["workflow_state", "graded"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "coalescing_panda_submissions"[0m [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mCoalescingPanda::Group Load (0.1ms)[0m SELECT "coalescing_panda_groups".* FROM "coalescing_panda_groups" [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 92' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 92' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:04:55 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", Thu, 08 Jan 2015 00:04:55 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 93' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 93' LIMIT 1 [1m[36mSQL (0.7ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "92"], ["created_at", Thu, 08 Jan 2015 00:04:55 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", Thu, 08 Jan 2015 00:04:55 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 00:04:55 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:04:55 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 33], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 00:04:55 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:04:55 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 00:04:55 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 00:04:55 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Group Load (0.0ms)[0m SELECT "coalescing_panda_groups".* FROM "coalescing_panda_groups" WHERE "coalescing_panda_groups"."context_id" = ? AND "coalescing_panda_groups"."context_type" = ? AND (canvas_group_id = '4') ORDER BY "coalescing_panda_groups"."id" ASC LIMIT 1 [["context_id", 1], ["context_type", "CoalescingPanda::Course"]] CoalescingPanda::Group not created: Batch: 1, Message: uninitialized constant Course, values: {"description"=>nil, "group_category_id"=>3, "id"=>4, "is_public"=>false, "join_level"=>"invitation_only", "max_membership"=>5, "name"=>"Student Group 1", "members_count"=>2, "storage_quota_mb"=>50, "context_type"=>"Course", "course_id"=>3709, "avatar_url"=>nil, "role"=>nil, "leader"=>nil, "canvas_group_id"=>4} [1m[36mCoalescingPanda::Group Load (0.0ms)[0m [1mSELECT "coalescing_panda_groups".* FROM "coalescing_panda_groups" WHERE "coalescing_panda_groups"."context_id" = ? AND "coalescing_panda_groups"."context_type" = ? AND (canvas_group_id = '5') ORDER BY "coalescing_panda_groups"."id" ASC LIMIT 1[0m [["context_id", 1], ["context_type", "CoalescingPanda::Course"]] CoalescingPanda::Group not created: Batch: 1, Message: uninitialized constant Course, values: {"description"=>nil, "group_category_id"=>3, "id"=>5, "is_public"=>false, "join_level"=>"invitation_only", "max_membership"=>5, "name"=>"Student Group 2", "members_count"=>2, "storage_quota_mb"=>50, "context_type"=>"Course", "course_id"=>3709, "avatar_url"=>nil, "role"=>nil, "leader"=>nil, "canvas_group_id"=>5} [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "coalescing_panda_groups" [1m[36mCoalescingPanda::Group Load (0.1ms)[0m [1mSELECT "coalescing_panda_groups".* FROM "coalescing_panda_groups" WHERE "coalescing_panda_groups"."context_id" = ? AND "coalescing_panda_groups"."context_type" = ? AND (canvas_group_id = '4') ORDER BY "coalescing_panda_groups"."id" ASC LIMIT 1[0m [["context_id", 1], ["context_type", "CoalescingPanda::Course"]] CoalescingPanda::Group not created: Batch: 1, Message: uninitialized constant Course, values: {"description"=>nil, "group_category_id"=>3, "id"=>4, "is_public"=>false, "join_level"=>"invitation_only", "max_membership"=>5, "name"=>"Student Group 1", "members_count"=>2, "storage_quota_mb"=>50, "context_type"=>"Course", "course_id"=>3709, "avatar_url"=>nil, "role"=>nil, "leader"=>nil, "canvas_group_id"=>4} [1m[35mCoalescingPanda::Group Load (0.0ms)[0m SELECT "coalescing_panda_groups".* FROM "coalescing_panda_groups" WHERE "coalescing_panda_groups"."context_id" = ? AND "coalescing_panda_groups"."context_type" = ? AND (canvas_group_id = '5') ORDER BY "coalescing_panda_groups"."id" ASC LIMIT 1 [["context_id", 1], ["context_type", "CoalescingPanda::Course"]] CoalescingPanda::Group not created: Batch: 1, Message: uninitialized constant Course, values: {"description"=>nil, "group_category_id"=>3, "id"=>5, "is_public"=>false, "join_level"=>"invitation_only", "max_membership"=>5, "name"=>"Student Group 2", "members_count"=>2, "storage_quota_mb"=>50, "context_type"=>"Course", "course_id"=>3709, "avatar_url"=>nil, "role"=>nil, "leader"=>nil, "canvas_group_id"=>5} [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "coalescing_panda_groups"[0m [1m[35m (0.2ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 94' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 94' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "93"], ["created_at", Thu, 08 Jan 2015 00:05: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", Thu, 08 Jan 2015 00:05:56 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 95' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 95' LIMIT 1[0m [1m[35mSQL (0.6ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:05: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", Thu, 08 Jan 2015 00:05:56 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 39], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:05:56 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:05:56 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 00:05:56 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:05:56 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Thu, 08 Jan 2015 00:05:56 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 00:05:56 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (1.5ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.2ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 96' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 96' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:05:57 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", Thu, 08 Jan 2015 00:05:57 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 97' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 97' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "96"], ["created_at", Thu, 08 Jan 2015 00:05:57 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", Thu, 08 Jan 2015 00:05:57 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 00:05:57 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:05:57 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 35], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 00:05:57 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:05:57 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 00:05:57 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 00:05:57 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 98' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 98' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "97"], ["created_at", Thu, 08 Jan 2015 00:05:57 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", Thu, 08 Jan 2015 00:05:57 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 99' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 99' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:05:57 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", Thu, 08 Jan 2015 00:05:57 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 41], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:05:57 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:05:57 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 00:05:57 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:05:57 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Thu, 08 Jan 2015 00:05:57 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 00:05:57 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.2ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.2ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 100' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 100' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:05:57 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", Thu, 08 Jan 2015 00:05:57 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 101' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 101' LIMIT 1 [1m[36mSQL (0.7ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "100"], ["created_at", Thu, 08 Jan 2015 00:05:57 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", Thu, 08 Jan 2015 00:05:57 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 00:05:57 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:05:57 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 37], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 00:05:57 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:05:57 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 00:05:57 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 00:05:57 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 102' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 102' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "101"], ["created_at", Thu, 08 Jan 2015 00:05:57 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", Thu, 08 Jan 2015 00:05:57 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 103' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 103' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:05:57 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", Thu, 08 Jan 2015 00:05:57 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 43], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:05:57 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:05:57 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 00:05:57 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:05:57 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Thu, 08 Jan 2015 00:05:57 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 00:05:57 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 104' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 104' LIMIT 1[0m [1m[35mSQL (0.7ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:05:57 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", Thu, 08 Jan 2015 00:05:57 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 105' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 105' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "104"], ["created_at", Thu, 08 Jan 2015 00:05:57 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", Thu, 08 Jan 2015 00:05:57 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 00:05:57 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:05:57 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 39], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 00:05:57 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:05:57 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 00:05:57 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 00:05:57 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 106' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 106' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "105"], ["created_at", Thu, 08 Jan 2015 00:05:57 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", Thu, 08 Jan 2015 00:05:57 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 107' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 107' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:05:57 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", Thu, 08 Jan 2015 00:05:57 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 45], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:05:57 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:05:57 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 00:05:57 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:05:57 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Thu, 08 Jan 2015 00:05:57 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 00:05:57 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.9ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 108' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 108' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:05:57 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", Thu, 08 Jan 2015 00:05:57 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 109' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 109' LIMIT 1 [1m[36mSQL (0.7ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "108"], ["created_at", Thu, 08 Jan 2015 00:05:57 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", Thu, 08 Jan 2015 00:05:57 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 00:05:57 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:05:57 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 41], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 00:05:57 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:05:57 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 00:05:57 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 00:05:57 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.6ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 110' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 110' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "109"], ["created_at", Thu, 08 Jan 2015 00:05:57 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", Thu, 08 Jan 2015 00:05:57 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 111' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 111' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:05:57 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", Thu, 08 Jan 2015 00:05:57 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 47], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:05:57 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:05:57 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 00:05:57 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:05:57 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Thu, 08 Jan 2015 00:05:57 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 00:05:57 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (1.0ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 112' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 112' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:05:57 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", Thu, 08 Jan 2015 00:05:57 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 113' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 113' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "112"], ["created_at", Thu, 08 Jan 2015 00:05:57 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", Thu, 08 Jan 2015 00:05:57 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 00:05:57 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:05:57 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 43], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 00:05:57 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:05:57 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 00:05:57 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:05:57 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 114' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 114' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "113"], ["created_at", Thu, 08 Jan 2015 00:05:57 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", Thu, 08 Jan 2015 00:05:57 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 115' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 115' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:05:57 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", Thu, 08 Jan 2015 00:05:57 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 49], ["coalescing_panda_lti_account_id", 4], ["created_at", Thu, 08 Jan 2015 00:05:57 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:05:57 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", 3], ["coalescing_panda_term_id", 2], ["created_at", Thu, 08 Jan 2015 00:05:57 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:05:57 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::Course Load (0.1ms)[0m [1mSELECT "coalescing_panda_courses".* FROM "coalescing_panda_courses" WHERE "coalescing_panda_courses"."id" = ? LIMIT 1[0m [["id", 2]] [1m[35mSQL (0.2ms)[0m UPDATE "coalescing_panda_sections" SET "coalescing_panda_course_id" = ?, "updated_at" = ? WHERE "coalescing_panda_sections"."id" = 1 [["coalescing_panda_course_id", 2], ["updated_at", Thu, 08 Jan 2015 00:05:57 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Thu, 08 Jan 2015 00:05:57 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 00:05:57 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 00:05:57 UTC +00:00], ["email", "test18@test.com"], ["name", "Factory User 18"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 00:05:57 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::User Load (0.1ms)[0m 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]] [1m[36mCoalescingPanda::Section Load (0.1ms)[0m [1mSELECT "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[0m [["coalescing_panda_course_id", 2]] [1m[35m (1.2ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 116' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 116' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "115"], ["created_at", Thu, 08 Jan 2015 00:05:57 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", Thu, 08 Jan 2015 00:05:57 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 117' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 117' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:05:57 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", Thu, 08 Jan 2015 00:05:57 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 50], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:05:57 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:05:57 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 00:05:57 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:05:57 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Thu, 08 Jan 2015 00:05:57 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 00:05:57 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.6ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.2ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 118' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 118' LIMIT 1[0m [1m[35mSQL (0.8ms)[0m INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "117"], ["created_at", Thu, 08 Jan 2015 00:05:57 UTC +00:00], ["key", "Key 118"], ["name", "Account 118"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 118"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Thu, 08 Jan 2015 00:05:57 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 119' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 119' LIMIT 1 [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "118"], ["created_at", Thu, 08 Jan 2015 00:05:57 UTC +00:00], ["key", "Key 119"], ["name", "Account 119"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 119"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Thu, 08 Jan 2015 00:05:57 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 51], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:05:57 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:05:57 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 46], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 00:05:57 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:05:57 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_assignment_id", "9"], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 00:05:57 UTC +00:00], ["name", "test assignment"], ["submission_types", nil], ["updated_at", Thu, 08 Jan 2015 00:05:57 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Thu, 08 Jan 2015 00:05:57 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 00:05:57 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m 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", Thu, 08 Jan 2015 00:05:57 UTC +00:00], ["email", "test19@test.com"], ["name", "Factory User 19"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 00:05:57 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::User Load (0.1ms)[0m 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]] [1m[36mCoalescingPanda::Assignment Load (0.1ms)[0m [1mSELECT "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[0m [["coalescing_panda_course_id", 1]] [1m[35m (0.6ms)[0m rollback transaction [1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m [1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations" [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m Processing by CoalescingPanda::LtiController#lti_config as HTML Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m Processing by CoalescingPanda::LtiController#lti_config as HTML Completed 500 Internal Server Error in 1ms [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m 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) [1m[35mCoalescingPanda::CanvasApiAuth Load (0.2ms)[0m 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 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction Processing by CoalescingPanda::Oauth2Controller#redirect as HTML Parameters: {"error"=>"your face"} Completed 200 OK in 1ms (Views: 0.8ms | ActiveRecord: 0.0ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "coalescing_panda_canvas_api_auths"[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 1' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 1' LIMIT 1 [1m[36mSQL (2.6ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "1"], ["created_at", Thu, 08 Jan 2015 00:06: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", Thu, 08 Jan 2015 00:06:09 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 2' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 2' LIMIT 1[0m [1m[35mSQL (1.6ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:06: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", Thu, 08 Jan 2015 00:06:09 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 1], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:06:09 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:06:09 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 00:06:09 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:06:09 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (1.4ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 3' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 3' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "3"], ["created_at", Thu, 08 Jan 2015 00:06: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", Thu, 08 Jan 2015 00:06:09 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 4' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 4' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:06: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", Thu, 08 Jan 2015 00:06:09 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 2], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:06:09 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:06:09 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 00:06:09 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:06:09 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.6ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 5' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 5' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "5"], ["created_at", Thu, 08 Jan 2015 00:06: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", Thu, 08 Jan 2015 00:06:09 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 6' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 6' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:06: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", Thu, 08 Jan 2015 00:06:09 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 3], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:06:09 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:06:09 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 00:06:09 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:06:09 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_assignment_id", "1"], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 00:06:09 UTC +00:00], ["name", "test assignment"], ["submission_types", nil], ["updated_at", Thu, 08 Jan 2015 00:06:09 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_assignment_id", "1"], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 00:06:09 UTC +00:00], ["name", "test assignment"], ["submission_types", nil], ["updated_at", Thu, 08 Jan 2015 00:06:09 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", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m [1m[35m (0.9ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 7' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 7' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "7"], ["created_at", Thu, 08 Jan 2015 00:06: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", Thu, 08 Jan 2015 00:06:09 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 8' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 8' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:06: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", Thu, 08 Jan 2015 00:06:09 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 4], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:06:09 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:06:09 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 00:06:09 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:06:09 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mCoalescingPanda::CanvasApiAuth Load (0.1ms)[0m SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" ORDER BY "coalescing_panda_canvas_api_auths"."id" ASC LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_panda_canvas_api_auths" ("created_at", "updated_at", "user_id") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 00:06:09 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:06:09 UTC +00:00], ["user_id", "a"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::CanvasApiAuth Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1 [1m[36mCoalescingPanda::CanvasApiAuth Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1[0m [1m[35mCoalescingPanda::CanvasApiAuth Load (0.0ms)[0m SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" [1m[36mCoalescingPanda::CanvasApiAuth Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" = '1') LIMIT 1[0m [1m[35mCoalescingPanda::CanvasApiAuth Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" = '1') LIMIT 1 [1m[36m (0.4ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mCoalescingPanda::CanvasApiAuth Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1[0m [1m[35mCoalescingPanda::CanvasApiAuth Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mCoalescingPanda::CanvasApiAuth Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1[0m [1m[35mCoalescingPanda::CanvasApiAuth Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1 [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 00:06:09 UTC +00:00], ["status", "Pending"], ["updated_at", Thu, 08 Jan 2015 00:06:09 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Thu, 08 Jan 2015 00:06:09 UTC +00:00], ["status", "Pending"], ["updated_at", Thu, 08 Jan 2015 00:06:09 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 00:06:09 UTC +00:00], ["status", "Pending"], ["updated_at", Thu, 08 Jan 2015 00:06:09 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::CanvasBatch Load (0.1ms)[0m SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" ORDER BY created_at DESC [1m[36m (0.5ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 9' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 9' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:06: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", Thu, 08 Jan 2015 00:06:09 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 10' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 10' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "10"], ["created_at", Thu, 08 Jan 2015 00:06: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", Thu, 08 Jan 2015 00:06:09 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 00:06:09 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:06:09 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.6ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 11' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 11' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "11"], ["created_at", Thu, 08 Jan 2015 00:06: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", Thu, 08 Jan 2015 00:06:09 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 12' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 12' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:06: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", Thu, 08 Jan 2015 00:06:09 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 6], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:06:09 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:06:09 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.6ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 13' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 13' LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:06: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", Thu, 08 Jan 2015 00:06:09 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 14' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 14' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "14"], ["created_at", Thu, 08 Jan 2015 00:06: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", Thu, 08 Jan 2015 00:06:09 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 00:06:09 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:06:09 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 00:06:09 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:06:09 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 15' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 15' LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:06: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", Thu, 08 Jan 2015 00:06:09 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 8], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 00:06:09 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:06:09 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 00:06:09 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:06:09 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 (?, ?, ?, ?, ?, ?) [1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m [1m[35m (1.0ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 16' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 16' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "16"], ["created_at", Thu, 08 Jan 2015 00:06: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", Thu, 08 Jan 2015 00:06:09 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.6ms)[0m 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", Thu, 08 Jan 2015 00:06:09 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:06:09 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 17' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 17' LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "17"], ["created_at", Thu, 08 Jan 2015 00:06: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", Thu, 08 Jan 2015 00:06:09 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 00:06:09 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:06:09 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 18' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 18' LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "18"], ["created_at", Thu, 08 Jan 2015 00:06: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", Thu, 08 Jan 2015 00:06:09 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 00:06:09 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:06:09 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 (?, ?, ?, ?, ?, ?) [1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m [1m[35m (1.0ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 19' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 19' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "19"], ["created_at", Thu, 08 Jan 2015 00:06: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", Thu, 08 Jan 2015 00:06:09 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 20' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 20' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:06: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", Thu, 08 Jan 2015 00:06:09 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 10], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:06:09 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:06:09 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.8ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 21' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 21' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:06: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", Thu, 08 Jan 2015 00:06:09 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.7ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 00:06:09 UTC +00:00], ["email", "test1@test.com"], ["name", "Factory User 1"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 00:06:09 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 22' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 22' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:06: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", Thu, 08 Jan 2015 00:06:09 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 23' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 23' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "23"], ["created_at", Thu, 08 Jan 2015 00:06: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", Thu, 08 Jan 2015 00:06:09 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 00:06:09 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:06:09 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 7], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 00:06:09 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:06:09 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m 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", Thu, 08 Jan 2015 00:06:09 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:06:09 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.9ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 24' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 24' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "24"], ["created_at", Thu, 08 Jan 2015 00:06: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", Thu, 08 Jan 2015 00:06:09 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.6ms)[0m 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", Thu, 08 Jan 2015 00:06:09 UTC +00:00], ["email", "test2@test.com"], ["name", "Factory User 2"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 00:06:09 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 25' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 25' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "25"], ["created_at", Thu, 08 Jan 2015 00:06: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", Thu, 08 Jan 2015 00:06:09 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 26' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 26' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:06: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", Thu, 08 Jan 2015 00:06:09 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 12], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 00:06:09 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:06:09 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 00:06:09 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:06:09 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_section_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 00:06:09 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:06:09 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (1.0ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.2ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 27' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 27' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:06: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", Thu, 08 Jan 2015 00:06:09 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 00:06:09 UTC +00:00], ["email", "test3@test.com"], ["name", "Factory User 3"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 00:06:09 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 28' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 28' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:06: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", Thu, 08 Jan 2015 00:06:09 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 29' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 29' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "29"], ["created_at", Thu, 08 Jan 2015 00:06: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", Thu, 08 Jan 2015 00:06:09 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 00:06:09 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:06:09 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 9], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 00:06:09 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:06:09 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 00:06:09 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:06:09 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 30' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 30' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "30"], ["created_at", Thu, 08 Jan 2015 00:06: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", Thu, 08 Jan 2015 00:06:09 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.6ms)[0m 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", Thu, 08 Jan 2015 00:06:09 UTC +00:00], ["email", "test4@test.com"], ["name", "Factory User 4"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 00:06:09 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 31' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 31' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "31"], ["created_at", Thu, 08 Jan 2015 00:06: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", Thu, 08 Jan 2015 00:06:09 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 32' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 32' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:06: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", Thu, 08 Jan 2015 00:06:09 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 14], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 00:06:09 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:06:09 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 00:06:09 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:06:09 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_section_id", 4], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 00:06:09 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:06:09 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m 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", Thu, 08 Jan 2015 00:06:09 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Thu, 08 Jan 2015 00:06:09 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_enrollment_id", 4], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Thu, 08 Jan 2015 00:06:09 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Thu, 08 Jan 2015 00:06:09 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 (?, ?, ?, ?, ?, ?) [1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1 [1m[36m (0.8ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 33' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 33' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:06: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", Thu, 08 Jan 2015 00:06:09 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 5], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 00:06:09 UTC +00:00], ["email", "test5@test.com"], ["name", "Factory User 5"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 00:06:09 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 34' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 34' LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:06: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", Thu, 08 Jan 2015 00:06:09 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 35' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 35' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "35"], ["created_at", Thu, 08 Jan 2015 00:06: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", Thu, 08 Jan 2015 00:06:09 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 00:06:09 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:06:09 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 11], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 00:06:09 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:06:09 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 00:06:09 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:06:09 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_enrollment_id", 5], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Thu, 08 Jan 2015 00:06:09 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Thu, 08 Jan 2015 00:06:09 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m 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", Thu, 08 Jan 2015 00:06:09 UTC +00:00], ["enrollment_type", "TeacherEnrollment"], ["updated_at", Thu, 08 Jan 2015 00:06:09 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.9ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 36' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 36' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "36"], ["created_at", Thu, 08 Jan 2015 00:06: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", Thu, 08 Jan 2015 00:06:09 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.5ms)[0m 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", Thu, 08 Jan 2015 00:06:09 UTC +00:00], ["email", "test6@test.com"], ["name", "Factory User 6"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 00:06:09 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 37' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 37' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "37"], ["created_at", Thu, 08 Jan 2015 00:06: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", Thu, 08 Jan 2015 00:06:09 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 38' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 38' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:06: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", Thu, 08 Jan 2015 00:06:09 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 16], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 00:06:09 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:06:09 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 00:06:09 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:06:09 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_section_id", 6], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 00:06:09 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:06:09 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.8ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 39' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 39' LIMIT 1 [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 40' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 40' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:06: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", Thu, 08 Jan 2015 00:06:09 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 41' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 41' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "40"], ["created_at", Thu, 08 Jan 2015 00:06: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", Thu, 08 Jan 2015 00:06:09 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 00:06:09 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:06:09 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 13], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 00:06:09 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:06:09 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.6ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 42' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 42' LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:06: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", Thu, 08 Jan 2015 00:06:09 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 43' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 43' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "42"], ["created_at", Thu, 08 Jan 2015 00:06: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", Thu, 08 Jan 2015 00:06:09 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 00:06:09 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:06:09 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 14], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 00:06:09 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:06:09 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.9ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 44' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 44' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:06: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", Thu, 08 Jan 2015 00:06:09 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 45' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 45' LIMIT 1 [1m[36mSQL (0.7ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "44"], ["created_at", Thu, 08 Jan 2015 00:06: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", Thu, 08 Jan 2015 00:06:09 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 00:06:09 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:06:09 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 15], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 00:06:09 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:06:09 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m 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", Thu, 08 Jan 2015 00:06:09 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:06:09 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_section_id", "1"], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 00:06:09 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:06:09 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 (?, ?, ?, ?) [1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1 [1m[36m (0.9ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 46' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 46' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:06: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", Thu, 08 Jan 2015 00:06:09 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 47' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 47' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "46"], ["created_at", Thu, 08 Jan 2015 00:06:09 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", Thu, 08 Jan 2015 00:06:09 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 00:06:09 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:06:09 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 16], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 00:06:09 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:06:09 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 48' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 48' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:06:09 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", Thu, 08 Jan 2015 00:06:09 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 7], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 00:06:09 UTC +00:00], ["email", "test7@test.com"], ["name", "Factory User 7"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 00:06:09 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.2ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 49' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 49' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:06:09 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", Thu, 08 Jan 2015 00:06:09 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 50' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 50' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "49"], ["created_at", Thu, 08 Jan 2015 00:06:09 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", Thu, 08 Jan 2015 00:06:09 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 00:06:09 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:06:09 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 17], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 00:06:09 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:06:09 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_assignment_id", "3"], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 00:06:09 UTC +00:00], ["name", "test assignment"], ["submission_types", nil], ["updated_at", Thu, 08 Jan 2015 00:06:09 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (1.0ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 51' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 51' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "50"], ["created_at", Thu, 08 Jan 2015 00:06:09 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", Thu, 08 Jan 2015 00:06:09 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.5ms)[0m 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", Thu, 08 Jan 2015 00:06:09 UTC +00:00], ["email", "test8@test.com"], ["name", "Factory User 8"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 00:06:09 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 52' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 52' LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "51"], ["created_at", Thu, 08 Jan 2015 00:06:09 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", Thu, 08 Jan 2015 00:06:09 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 53' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 53' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:06:09 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", Thu, 08 Jan 2015 00:06:09 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 22], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 00:06:09 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:06:09 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 00:06:09 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:06:09 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_assignment_id", "4"], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 00:06:09 UTC +00:00], ["name", "test assignment"], ["submission_types", nil], ["updated_at", Thu, 08 Jan 2015 00:06:09 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.9ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 54' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 54' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:06:09 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", Thu, 08 Jan 2015 00:06:09 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 9], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 00:06:09 UTC +00:00], ["email", "test9@test.com"], ["name", "Factory User 9"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 00:06:09 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 55' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 55' LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:06:09 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", Thu, 08 Jan 2015 00:06:09 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 56' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 56' LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "55"], ["created_at", Thu, 08 Jan 2015 00:06:09 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", Thu, 08 Jan 2015 00:06:09 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m 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", Thu, 08 Jan 2015 00:06:09 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:06:09 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 19], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 00:06:09 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:06:09 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_assignment_id", "5"], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 00:06:09 UTC +00:00], ["name", "test assignment"], ["submission_types", nil], ["updated_at", Thu, 08 Jan 2015 00:06:09 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.8ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 57' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 57' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "56"], ["created_at", Thu, 08 Jan 2015 00:06:09 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", Thu, 08 Jan 2015 00:06:09 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.5ms)[0m 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", Thu, 08 Jan 2015 00:06:09 UTC +00:00], ["email", "test10@test.com"], ["name", "Factory User 10"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 00:06:09 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 58' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 58' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "57"], ["created_at", Thu, 08 Jan 2015 00:06:09 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", Thu, 08 Jan 2015 00:06:09 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 59' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 59' LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:06:09 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", Thu, 08 Jan 2015 00:06:09 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 24], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 00:06:09 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:06:09 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 00:06:09 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:06:09 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_assignment_id", "6"], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 00:06:09 UTC +00:00], ["name", "test assignment"], ["submission_types", nil], ["updated_at", Thu, 08 Jan 2015 00:06:09 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m 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", Thu, 08 Jan 2015 00:06:09 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:06:09 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["canvas_submission_id", "1"], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Thu, 08 Jan 2015 00:06:09 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:06:09 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 (?, ?, ?, ?, ?) [1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1 [1m[36m (0.8ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 60' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 60' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:06:09 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", Thu, 08 Jan 2015 00:06:09 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 11], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 00:06:09 UTC +00:00], ["email", "test11@test.com"], ["name", "Factory User 11"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 00:06:09 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 61' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 61' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:06:09 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", Thu, 08 Jan 2015 00:06:09 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 62' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 62' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "61"], ["created_at", Thu, 08 Jan 2015 00:06:09 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", Thu, 08 Jan 2015 00:06:09 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 00:06:09 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:06:09 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 21], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 00:06:09 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:06:09 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_assignment_id", "7"], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 00:06:09 UTC +00:00], ["name", "test assignment"], ["submission_types", nil], ["updated_at", Thu, 08 Jan 2015 00:06:09 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["canvas_submission_id", "1"], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Thu, 08 Jan 2015 00:06:09 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:06:09 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 00:06:09 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:06:09 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.8ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 63' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 63' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "62"], ["created_at", Thu, 08 Jan 2015 00:06:09 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", Thu, 08 Jan 2015 00:06:09 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.5ms)[0m 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", Thu, 08 Jan 2015 00:06:09 UTC +00:00], ["email", "test12@test.com"], ["name", "Factory User 12"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 00:06:09 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 64' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 64' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "63"], ["created_at", Thu, 08 Jan 2015 00:06:09 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", Thu, 08 Jan 2015 00:06:09 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 65' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 65' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:06:09 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", Thu, 08 Jan 2015 00:06:09 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 26], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 00:06:09 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:06:09 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 00:06:09 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:06:09 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_assignment_id", "8"], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 00:06:09 UTC +00:00], ["name", "test assignment"], ["submission_types", nil], ["updated_at", Thu, 08 Jan 2015 00:06:09 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (1.0ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.3ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 66' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 66' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:06:09 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", Thu, 08 Jan 2015 00:06:09 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.4ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 67' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 67' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "66"], ["created_at", Thu, 08 Jan 2015 00:06:09 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", Thu, 08 Jan 2015 00:06:09 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.5ms)[0m 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", Thu, 08 Jan 2015 00:06:09 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:06:09 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 00:06:09 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:06:09 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 (?, ?, ?, ?) [1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1 [1m[36m (0.5ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 68' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 68' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:06:09 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", Thu, 08 Jan 2015 00:06:09 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.4ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 69' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 69' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "68"], ["created_at", Thu, 08 Jan 2015 00:06:09 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", Thu, 08 Jan 2015 00:06:09 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.4ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 70' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 70' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:06:09 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", Thu, 08 Jan 2015 00:06:09 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 00:06:09 UTC +00:00], ["email", "test15@test.com"], ["name", "Factory User 15"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 00:06:09 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m 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", Thu, 08 Jan 2015 00:06:09 UTC +00:00], ["email", "test16@test.com"], ["name", "Factory User 16"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 00:06:09 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 (?, ?, ?, ?, ?, ?, ?) [1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m [1m[35m (0.6ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 71' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 71' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "70"], ["created_at", Thu, 08 Jan 2015 00:06:09 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", Thu, 08 Jan 2015 00:06:09 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.4ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (56.8ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 72' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 72' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:06:09 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", Thu, 08 Jan 2015 00:06:09 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 73' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 73' LIMIT 1 [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "72"], ["created_at", Thu, 08 Jan 2015 00:06:09 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", Thu, 08 Jan 2015 00:06:09 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 00:06:09 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:06:09 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 23], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 00:06:09 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:06:09 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 00:06:09 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 00:06:09 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::CanvasBatch Load (0.1ms)[0m SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" ORDER BY created_at ASC LIMIT 1 [1m[36m (0.9ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 74' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 74' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:06:09 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", Thu, 08 Jan 2015 00:06:09 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 75' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 75' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "74"], ["created_at", Thu, 08 Jan 2015 00:06:09 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", Thu, 08 Jan 2015 00:06:09 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 00:06:09 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:06:09 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 24], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 00:06:09 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:06:09 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 00:06:09 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 00:06:09 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.9ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 76' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 76' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "75"], ["created_at", Thu, 08 Jan 2015 00:06:09 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", Thu, 08 Jan 2015 00:06:09 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 77' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 77' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:06:09 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", Thu, 08 Jan 2015 00:06:09 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 30], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:06:09 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:06:09 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 00:06:09 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:06:09 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Thu, 08 Jan 2015 00:06:09 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 00:06:09 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m UPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["status", "Started"], ["updated_at", Thu, 08 Jan 2015 00:06:09 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Section Load (0.1ms)[0m SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 00:06:09 UTC +00:00], ["name", "Course1"], ["updated_at", Thu, 08 Jan 2015 00:06:09 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mUPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1[0m [["percent_complete", 14.3], ["updated_at", Thu, 08 Jan 2015 00:06:09 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::User Load (0.2ms)[0m [1mSELECT "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[0m [["coalescing_panda_lti_account_id", 1]] [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 00:06:09 UTC +00:00], ["name", "teacher@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 00:06:09 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::User Load (0.1ms)[0m [1mSELECT "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[0m [["coalescing_panda_lti_account_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 00:06:09 UTC +00:00], ["name", "student1@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 00:06:09 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::User Load (0.1ms)[0m [1mSELECT "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[0m [["coalescing_panda_lti_account_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 00:06:09 UTC +00:00], ["name", "student2@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 00:06:09 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 28.6], ["updated_at", Thu, 08 Jan 2015 00:06:09 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Enrollment Load (0.1ms)[0m SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '1') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36mCoalescingPanda::User Load (0.1ms)[0m [1mSELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '1' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1[0m [["coalescing_panda_lti_account_id", 1]] [1m[35mCoalescingPanda::Section Load (0.1ms)[0m SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "coalescing_panda_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"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Enrollment Load (0.2ms)[0m SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '2') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36mCoalescingPanda::User Load (0.1ms)[0m [1mSELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1[0m [["coalescing_panda_lti_account_id", 1]] [1m[35mCoalescingPanda::Section Load (0.1ms)[0m SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_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"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Enrollment Load (0.1ms)[0m SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '3') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36mCoalescingPanda::User Load (0.1ms)[0m [1mSELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1[0m [["coalescing_panda_lti_account_id", 1]] [1m[35mCoalescingPanda::Section Load (0.1ms)[0m SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_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"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mUPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1[0m [["percent_complete", 42.9], ["updated_at", Thu, 08 Jan 2015 00:06:09 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::Assignment Load (0.1ms)[0m [1mSELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "grade_group_students_individually", "name", "points_possible", "published", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_assignment_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 18:04:38 UTC +00:00], ["description", "What is your name?
"], ["grade_group_students_individually", false], ["name", "Gimme your name"], ["points_possible", 100.0], ["published", true], ["submission_types", "---\n- online_text_entry\n"], ["updated_at", Tue, 18 Nov 2014 18:04:42 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::Assignment Load (0.1ms)[0m [1mSELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "grade_group_students_individually", "name", "points_possible", "published", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_assignment_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 19:10:28 UTC +00:00], ["description", "What is your Favorite Color?
"], ["grade_group_students_individually", false], ["name", "Favorite Color"], ["points_possible", 100.0], ["published", true], ["submission_types", "---\n- online_text_entry\n"], ["updated_at", Tue, 18 Nov 2014 19:10:30 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 57.1], ["updated_at", Thu, 08 Jan 2015 00:06:09 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Assignment Load (0.1ms)[0m SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? [["coalescing_panda_course_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 71.4], ["updated_at", Thu, 08 Jan 2015 00:06:09 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Group Load (0.1ms)[0m SELECT "coalescing_panda_groups".* FROM "coalescing_panda_groups" WHERE "coalescing_panda_groups"."context_id" = ? AND "coalescing_panda_groups"."context_type" = ? AND (canvas_group_id = '4') ORDER BY "coalescing_panda_groups"."id" ASC LIMIT 1 [["context_id", 1], ["context_type", "CoalescingPanda::Course"]] CoalescingPanda::Group not created: Batch: 1, Message: uninitialized constant Course, values: {"description"=>nil, "group_category_id"=>3, "id"=>4, "is_public"=>false, "join_level"=>"invitation_only", "max_membership"=>5, "name"=>"Student Group 1", "members_count"=>2, "storage_quota_mb"=>50, "context_type"=>"Course", "course_id"=>3709, "avatar_url"=>nil, "role"=>nil, "leader"=>nil, "canvas_group_id"=>4} [1m[36mCoalescingPanda::Group Load (0.2ms)[0m [1mSELECT "coalescing_panda_groups".* FROM "coalescing_panda_groups" WHERE "coalescing_panda_groups"."context_id" = ? AND "coalescing_panda_groups"."context_type" = ? AND (canvas_group_id = '5') ORDER BY "coalescing_panda_groups"."id" ASC LIMIT 1[0m [["context_id", 1], ["context_type", "CoalescingPanda::Course"]] CoalescingPanda::Group not created: Batch: 1, Message: uninitialized constant Course, values: {"description"=>nil, "group_category_id"=>3, "id"=>5, "is_public"=>false, "join_level"=>"invitation_only", "max_membership"=>5, "name"=>"Student Group 2", "members_count"=>2, "storage_quota_mb"=>50, "context_type"=>"Course", "course_id"=>3709, "avatar_url"=>nil, "role"=>nil, "leader"=>nil, "canvas_group_id"=>5} [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mUPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1[0m [["percent_complete", 85.7], ["updated_at", Thu, 08 Jan 2015 00:07:30 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::Group Load (0.1ms)[0m [1mSELECT "coalescing_panda_groups".* FROM "coalescing_panda_groups" WHERE "coalescing_panda_groups"."context_id" = ? AND "coalescing_panda_groups"."context_type" = ?[0m [["context_id", 1], ["context_type", "CoalescingPanda::Course"]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mUPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1[0m [["percent_complete", 100.0], ["updated_at", Thu, 08 Jan 2015 00:07:30 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["status", "Completed"], ["updated_at", Thu, 08 Jan 2015 00:07:30 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (1.0ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 78' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 78' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "77"], ["created_at", Thu, 08 Jan 2015 00:07:30 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", Thu, 08 Jan 2015 00:07:30 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 79' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 79' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:07:30 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", Thu, 08 Jan 2015 00:07:30 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 31], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:07:30 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:07:30 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 00:07:30 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:07:30 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Thu, 08 Jan 2015 00:07:30 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 00:07:30 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 80' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 80' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:07:30 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", Thu, 08 Jan 2015 00:07:30 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 81' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 81' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "80"], ["created_at", Thu, 08 Jan 2015 00:07:30 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", Thu, 08 Jan 2015 00:07:30 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 00:07:30 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:07:30 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 27], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 00:07:30 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:07:30 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 00:07:30 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 00:07:30 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mCoalescingPanda::Section Load (0.1ms)[0m SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 82' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 82' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:07:30 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", Thu, 08 Jan 2015 00:07:30 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 83' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 83' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "82"], ["created_at", Thu, 08 Jan 2015 00:07:30 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", Thu, 08 Jan 2015 00:07:30 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 00:07:30 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:07:30 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 28], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 00:07:30 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:07:30 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 00:07:30 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 00:07:30 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Section Load (0.1ms)[0m SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 00:07:30 UTC +00:00], ["name", "Course1"], ["updated_at", Thu, 08 Jan 2015 00:07:30 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "coalescing_panda_sections" [1m[36m (1.0ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mCoalescingPanda::User Load (0.2ms)[0m [1mSELECT "coalescing_panda_users".* FROM "coalescing_panda_users"[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 84' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 84' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "83"], ["created_at", Thu, 08 Jan 2015 00:07:30 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", Thu, 08 Jan 2015 00:07:30 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 85' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 85' LIMIT 1[0m [1m[35mSQL (0.6ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:07:30 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", Thu, 08 Jan 2015 00:07:30 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 34], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:07:30 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:07:30 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 00:07:30 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:07:30 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Thu, 08 Jan 2015 00:07:30 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 00:07:30 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::User Load (0.0ms)[0m [1mSELECT "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[0m [["coalescing_panda_lti_account_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 00:07:30 UTC +00:00], ["name", "teacher@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 00:07:30 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::User Load (0.0ms)[0m [1mSELECT "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[0m [["coalescing_panda_lti_account_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 00:07:30 UTC +00:00], ["name", "student1@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 00:07:30 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::User Load (0.0ms)[0m [1mSELECT "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[0m [["coalescing_panda_lti_account_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 00:07:30 UTC +00:00], ["name", "student2@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 00:07:30 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "coalescing_panda_users"[0m [1m[35m (0.9ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mCoalescingPanda::Enrollment Load (0.1ms)[0m SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 86' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 86' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:07:30 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", Thu, 08 Jan 2015 00:07:30 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 87' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 87' LIMIT 1 [1m[36mSQL (0.7ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "86"], ["created_at", Thu, 08 Jan 2015 00:07:30 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", Thu, 08 Jan 2015 00:07:30 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 00:07:30 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:07:30 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 30], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 00:07:30 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:07:30 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 00:07:30 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 00:07:30 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Section Load (0.1ms)[0m SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 00:07:30 UTC +00:00], ["name", "Course1"], ["updated_at", Thu, 08 Jan 2015 00:07:30 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::User Load (0.1ms)[0m 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]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 00:07:30 UTC +00:00], ["name", "teacher@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 00:07:30 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::User Load (0.0ms)[0m 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]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 00:07:30 UTC +00:00], ["name", "student1@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 00:07:30 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::User Load (0.0ms)[0m 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]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 00:07:30 UTC +00:00], ["name", "student2@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 00:07:30 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Enrollment Load (0.0ms)[0m SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '1') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36mCoalescingPanda::User Load (0.0ms)[0m [1mSELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '1' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1[0m [["coalescing_panda_lti_account_id", 1]] [1m[35mCoalescingPanda::Section Load (0.0ms)[0m SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_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"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Enrollment Load (0.0ms)[0m SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '2') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36mCoalescingPanda::User Load (0.0ms)[0m [1mSELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1[0m [["coalescing_panda_lti_account_id", 1]] [1m[35mCoalescingPanda::Section Load (0.0ms)[0m SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_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"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Enrollment Load (0.0ms)[0m SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '3') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36mCoalescingPanda::User Load (0.0ms)[0m [1mSELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1[0m [["coalescing_panda_lti_account_id", 1]] [1m[35mCoalescingPanda::Section Load (0.0ms)[0m SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_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"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "coalescing_panda_enrollments" [1m[36mCoalescingPanda::Enrollment Load (0.1ms)[0m [1mSELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" ORDER BY "coalescing_panda_enrollments"."id" DESC LIMIT 1[0m [1m[35m (1.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mCoalescingPanda::Assignment Load (0.7ms)[0m SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 88' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 88' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:07:30 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", Thu, 08 Jan 2015 00:07:30 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 89' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 89' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "88"], ["created_at", Thu, 08 Jan 2015 00:07:30 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", Thu, 08 Jan 2015 00:07:30 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 00:07:30 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:07:30 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 31], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 00:07:30 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:07:30 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 00:07:30 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 00:07:30 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Assignment Load (0.0ms)[0m SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "grade_group_students_individually", "name", "points_possible", "published", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 18:04:38 UTC +00:00], ["description", "What is your name?
"], ["grade_group_students_individually", false], ["name", "Gimme your name"], ["points_possible", 100.0], ["published", true], ["submission_types", "---\n- online_text_entry\n"], ["updated_at", Tue, 18 Nov 2014 18:04:42 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Assignment Load (0.0ms)[0m SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "grade_group_students_individually", "name", "points_possible", "published", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 19:10:28 UTC +00:00], ["description", "What is your Favorite Color?
"], ["grade_group_students_individually", false], ["name", "Favorite Color"], ["points_possible", 100.0], ["published", true], ["submission_types", "---\n- online_text_entry\n"], ["updated_at", Tue, 18 Nov 2014 19:10:30 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "coalescing_panda_assignments" [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mCoalescingPanda::Submission Load (0.1ms)[0m [1mSELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions"[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 90' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 90' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "89"], ["created_at", Thu, 08 Jan 2015 00:07:30 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", Thu, 08 Jan 2015 00:07:30 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 91' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 91' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:07:30 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", Thu, 08 Jan 2015 00:07:30 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 37], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:07:30 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:07:30 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 00:07:30 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:07:30 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Thu, 08 Jan 2015 00:07:30 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 00:07:30 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::User Load (0.0ms)[0m [1mSELECT "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[0m [["coalescing_panda_lti_account_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 00:07:30 UTC +00:00], ["name", "teacher@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 00:07:30 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::User Load (0.0ms)[0m [1mSELECT "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[0m [["coalescing_panda_lti_account_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 00:07:30 UTC +00:00], ["name", "student1@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 00:07:30 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::User Load (0.0ms)[0m [1mSELECT "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[0m [["coalescing_panda_lti_account_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 00:07:30 UTC +00:00], ["name", "student2@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 00:07:30 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::Assignment Load (0.0ms)[0m [1mSELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "grade_group_students_individually", "name", "points_possible", "published", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_assignment_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 18:04:38 UTC +00:00], ["description", "What is your name?
"], ["grade_group_students_individually", false], ["name", "Gimme your name"], ["points_possible", 100.0], ["published", true], ["submission_types", "---\n- online_text_entry\n"], ["updated_at", Tue, 18 Nov 2014 18:04:42 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::Assignment Load (0.0ms)[0m [1mSELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "grade_group_students_individually", "name", "points_possible", "published", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_assignment_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 19:10:28 UTC +00:00], ["description", "What is your Favorite Color?
"], ["grade_group_students_individually", false], ["name", "Favorite Color"], ["points_possible", 100.0], ["published", true], ["submission_types", "---\n- online_text_entry\n"], ["updated_at", Tue, 18 Nov 2014 19:10:30 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::Submission Load (0.1ms)[0m [1mSELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '3') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35mCoalescingPanda::User Load (0.0ms)[0m SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] [1m[36mCoalescingPanda::Assignment Load (0.1ms)[0m [1mSELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_submission_id", 3], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 3], ["created_at", Thu, 08 Jan 2015 00:07:30 UTC +00:00], ["grade", "70"], ["score", 70], ["updated_at", Thu, 08 Jan 2015 00:07:30 UTC +00:00], ["workflow_state", "graded"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::Submission Load (0.1ms)[0m [1mSELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '1') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35mCoalescingPanda::User Load (0.0ms)[0m SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] [1m[36mCoalescingPanda::Assignment Load (0.0ms)[0m [1mSELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_submission_id", 1], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 2], ["created_at", Thu, 08 Jan 2015 00:07:30 UTC +00:00], ["grade", "100"], ["score", 100], ["updated_at", Thu, 08 Jan 2015 00:07:30 UTC +00:00], ["workflow_state", "graded"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::Submission Load (0.1ms)[0m [1mSELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '4') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35mCoalescingPanda::User Load (0.0ms)[0m SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] [1m[36mCoalescingPanda::Assignment Load (0.1ms)[0m [1mSELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_submission_id", 4], ["coalescing_panda_assignment_id", 2], ["coalescing_panda_user_id", 3], ["created_at", Thu, 08 Jan 2015 00:07:30 UTC +00:00], ["grade", "90"], ["score", 90], ["updated_at", Thu, 08 Jan 2015 00:07:30 UTC +00:00], ["workflow_state", "graded"]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::Submission Load (0.1ms)[0m [1mSELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '2') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35mCoalescingPanda::User Load (0.0ms)[0m SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] [1m[36mCoalescingPanda::Assignment Load (0.0ms)[0m [1mSELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_submission_id", 2], ["coalescing_panda_assignment_id", 2], ["coalescing_panda_user_id", 2], ["created_at", Thu, 08 Jan 2015 00:07:30 UTC +00:00], ["grade", "80"], ["score", 80], ["updated_at", Thu, 08 Jan 2015 00:07:30 UTC +00:00], ["workflow_state", "graded"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "coalescing_panda_submissions"[0m [1m[35m (0.8ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mCoalescingPanda::Group Load (0.1ms)[0m SELECT "coalescing_panda_groups".* FROM "coalescing_panda_groups" [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 92' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 92' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:07:30 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", Thu, 08 Jan 2015 00:07:30 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 93' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 93' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "92"], ["created_at", Thu, 08 Jan 2015 00:07:30 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", Thu, 08 Jan 2015 00:07:30 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 00:07:30 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:07:30 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 33], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 00:07:30 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:07:30 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 00:07:30 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 00:07:30 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Group Load (0.0ms)[0m SELECT "coalescing_panda_groups".* FROM "coalescing_panda_groups" WHERE "coalescing_panda_groups"."context_id" = ? AND "coalescing_panda_groups"."context_type" = ? AND (canvas_group_id = '4') ORDER BY "coalescing_panda_groups"."id" ASC LIMIT 1 [["context_id", 1], ["context_type", "CoalescingPanda::Course"]] CoalescingPanda::Group not created: Batch: 1, Message: uninitialized constant Course, values: {"description"=>nil, "group_category_id"=>3, "id"=>4, "is_public"=>false, "join_level"=>"invitation_only", "max_membership"=>5, "name"=>"Student Group 1", "members_count"=>2, "storage_quota_mb"=>50, "context_type"=>"Course", "course_id"=>3709, "avatar_url"=>nil, "role"=>nil, "leader"=>nil, "canvas_group_id"=>4} [1m[36mCoalescingPanda::Group Load (0.1ms)[0m [1mSELECT "coalescing_panda_groups".* FROM "coalescing_panda_groups" WHERE "coalescing_panda_groups"."context_id" = ? AND "coalescing_panda_groups"."context_type" = ? AND (canvas_group_id = '5') ORDER BY "coalescing_panda_groups"."id" ASC LIMIT 1[0m [["context_id", 1], ["context_type", "CoalescingPanda::Course"]] CoalescingPanda::Group not created: Batch: 1, Message: uninitialized constant Course, values: {"description"=>nil, "group_category_id"=>3, "id"=>5, "is_public"=>false, "join_level"=>"invitation_only", "max_membership"=>5, "name"=>"Student Group 2", "members_count"=>2, "storage_quota_mb"=>50, "context_type"=>"Course", "course_id"=>3709, "avatar_url"=>nil, "role"=>nil, "leader"=>nil, "canvas_group_id"=>5} [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "coalescing_panda_groups" [1m[36m (1.2ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 94' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 94' LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:07:33 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", Thu, 08 Jan 2015 00:07:33 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 95' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 95' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "94"], ["created_at", Thu, 08 Jan 2015 00:07:33 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", Thu, 08 Jan 2015 00:07:33 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 00:07:33 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:07:33 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 34], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 00:07:33 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:07:33 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 00:07:33 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 00:07:33 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.9ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 96' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 96' LIMIT 1 [1m[36mSQL (0.7ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "95"], ["created_at", Thu, 08 Jan 2015 00:07:33 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", Thu, 08 Jan 2015 00:07:33 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 97' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 97' LIMIT 1[0m [1m[35mSQL (0.6ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:07:33 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", Thu, 08 Jan 2015 00:07:33 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 40], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:07:33 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:07:33 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 00:07:33 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:07:33 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Thu, 08 Jan 2015 00:07:33 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 00:07:33 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.6ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 98' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 98' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:07:33 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", Thu, 08 Jan 2015 00:07:33 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 99' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 99' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "98"], ["created_at", Thu, 08 Jan 2015 00:07:33 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", Thu, 08 Jan 2015 00:07:33 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 00:07:33 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:07:33 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 36], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 00:07:33 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:07:33 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 00:07:33 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 00:07:33 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 100' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 100' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "99"], ["created_at", Thu, 08 Jan 2015 00:07:33 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", Thu, 08 Jan 2015 00:07:33 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 101' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 101' LIMIT 1[0m [1m[35mSQL (0.7ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:07:33 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", Thu, 08 Jan 2015 00:07:33 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 42], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:07:33 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:07:33 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 00:07:33 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:07:33 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Thu, 08 Jan 2015 00:07:33 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 00:07:33 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 102' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 102' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:07:33 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", Thu, 08 Jan 2015 00:07:33 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 103' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 103' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "102"], ["created_at", Thu, 08 Jan 2015 00:07:33 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", Thu, 08 Jan 2015 00:07:33 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 00:07:33 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:07:33 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 38], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 00:07:33 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:07:33 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 00:07:33 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 00:07:33 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.6ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 104' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 104' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "103"], ["created_at", Thu, 08 Jan 2015 00:07:33 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", Thu, 08 Jan 2015 00:07:33 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 105' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 105' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:07:33 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", Thu, 08 Jan 2015 00:07:33 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 44], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:07:33 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:07:33 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 00:07:33 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:07:33 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Thu, 08 Jan 2015 00:07:33 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 00:07:33 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.6ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 106' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 106' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:07:33 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", Thu, 08 Jan 2015 00:07:33 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 107' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 107' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "106"], ["created_at", Thu, 08 Jan 2015 00:07:33 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", Thu, 08 Jan 2015 00:07:33 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m 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", Thu, 08 Jan 2015 00:07:33 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:07:33 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 40], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 00:07:33 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:07:33 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 00:07:33 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 00:07:33 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 108' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 108' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "107"], ["created_at", Thu, 08 Jan 2015 00:07:33 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", Thu, 08 Jan 2015 00:07:33 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 109' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 109' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:07:33 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", Thu, 08 Jan 2015 00:07:33 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 46], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:07:33 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:07:33 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 00:07:33 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:07:33 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Thu, 08 Jan 2015 00:07:33 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 00:07:33 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 110' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 110' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:07:33 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", Thu, 08 Jan 2015 00:07:33 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 111' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 111' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "110"], ["created_at", Thu, 08 Jan 2015 00:07:33 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", Thu, 08 Jan 2015 00:07:33 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 00:07:33 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:07:33 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 42], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 00:07:33 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:07:33 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 00:07:33 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 00:07:33 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (1.0ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 112' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 112' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "111"], ["created_at", Thu, 08 Jan 2015 00:07:33 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", Thu, 08 Jan 2015 00:07:33 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 113' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 113' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:07:33 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", Thu, 08 Jan 2015 00:07:33 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 48], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:07:33 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:07:33 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 00:07:33 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:07:33 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_section_id", 9], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 00:07:33 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:07:33 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 114' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 114' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:07:33 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", Thu, 08 Jan 2015 00:07:33 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 115' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 115' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "114"], ["created_at", Thu, 08 Jan 2015 00:07:33 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", Thu, 08 Jan 2015 00:07:33 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m 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", 4], ["created_at", Thu, 08 Jan 2015 00:07:33 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:07:33 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 44], ["coalescing_panda_lti_account_id", 3], ["coalescing_panda_term_id", 2], ["created_at", Thu, 08 Jan 2015 00:07:33 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:07:33 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Course Load (0.1ms)[0m SELECT "coalescing_panda_courses".* FROM "coalescing_panda_courses" WHERE "coalescing_panda_courses"."id" = ? LIMIT 1 [["id", 2]] [1m[36mSQL (0.2ms)[0m [1mUPDATE "coalescing_panda_sections" SET "coalescing_panda_course_id" = ?, "updated_at" = ? WHERE "coalescing_panda_sections"."id" = 1[0m [["coalescing_panda_course_id", 2], ["updated_at", Thu, 08 Jan 2015 00:07:33 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 00:07:33 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 00:07:33 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 15], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 00:07:33 UTC +00:00], ["email", "test18@test.com"], ["name", "Factory User 18"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 00:07:33 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::User Load (0.1ms)[0m [1mSELECT "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[0m [["coalescing_panda_lti_account_id", 3]] [1m[35mCoalescingPanda::Section Load (0.1ms)[0m 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]] [1m[36m (0.8ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 116' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 116' LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:07:33 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", Thu, 08 Jan 2015 00:07:33 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 117' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 117' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "116"], ["created_at", Thu, 08 Jan 2015 00:07:33 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", Thu, 08 Jan 2015 00:07:33 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 00:07:33 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:07:33 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 45], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 00:07:33 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:07:33 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 00:07:33 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 00:07:33 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 118' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 118' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "117"], ["created_at", Thu, 08 Jan 2015 00:07:33 UTC +00:00], ["key", "Key 118"], ["name", "Account 118"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 118"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Thu, 08 Jan 2015 00:07:33 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 119' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 119' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "118"], ["created_at", Thu, 08 Jan 2015 00:07:33 UTC +00:00], ["key", "Key 119"], ["name", "Account 119"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 119"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Thu, 08 Jan 2015 00:07:33 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 51], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:07:33 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:07:33 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 46], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 00:07:33 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:07:33 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_assignment_id", "9"], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 00:07:33 UTC +00:00], ["name", "test assignment"], ["submission_types", nil], ["updated_at", Thu, 08 Jan 2015 00:07:33 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 00:07:33 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 00:07:33 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 16], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 00:07:33 UTC +00:00], ["email", "test19@test.com"], ["name", "Factory User 19"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 00:07:33 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::User Load (0.1ms)[0m [1mSELECT "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[0m [["coalescing_panda_lti_account_id", 1]] [1m[35mCoalescingPanda::Assignment Load (0.1ms)[0m 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]] [1m[36m (0.9ms)[0m [1mrollback transaction[0m [1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m [1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations" [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m Processing by CoalescingPanda::LtiController#lti_config as HTML Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m Processing by CoalescingPanda::LtiController#lti_config as HTML Completed 500 Internal Server Error in 1ms [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m 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) [1m[35mCoalescingPanda::CanvasApiAuth Load (0.2ms)[0m 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 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction Processing by CoalescingPanda::Oauth2Controller#redirect as HTML Parameters: {"error"=>"your face"} Completed 200 OK in 1ms (Views: 0.8ms | ActiveRecord: 0.0ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "coalescing_panda_canvas_api_auths"[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 1' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 1' LIMIT 1 [1m[36mSQL (2.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "1"], ["created_at", Thu, 08 Jan 2015 00:07: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", Thu, 08 Jan 2015 00:07:43 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 2' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 2' LIMIT 1[0m [1m[35mSQL (1.3ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:07: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", Thu, 08 Jan 2015 00:07:43 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 1], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:07:43 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:07:43 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 00:07:43 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:07:43 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (1.7ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 3' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 3' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "3"], ["created_at", Thu, 08 Jan 2015 00:07: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", Thu, 08 Jan 2015 00:07:43 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 4' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 4' LIMIT 1[0m [1m[35mSQL (0.7ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:07: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", Thu, 08 Jan 2015 00:07:43 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 2], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:07:43 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:07:43 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 00:07:43 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:07:43 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 5' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 5' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "5"], ["created_at", Thu, 08 Jan 2015 00:07: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", Thu, 08 Jan 2015 00:07:43 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 6' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 6' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:07: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", Thu, 08 Jan 2015 00:07:43 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 3], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:07:43 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:07:43 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 00:07:43 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:07:43 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_assignment_id", "1"], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 00:07:43 UTC +00:00], ["name", "test assignment"], ["submission_types", nil], ["updated_at", Thu, 08 Jan 2015 00:07:43 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_assignment_id", "1"], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 00:07:43 UTC +00:00], ["name", "test assignment"], ["submission_types", nil], ["updated_at", Thu, 08 Jan 2015 00:07:43 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", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m [1m[35m (0.8ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 7' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 7' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "7"], ["created_at", Thu, 08 Jan 2015 00:07: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", Thu, 08 Jan 2015 00:07:43 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 8' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 8' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:07: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", Thu, 08 Jan 2015 00:07:43 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 4], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:07:43 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:07:43 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 00:07:43 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:07:43 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.8ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mCoalescingPanda::CanvasApiAuth Load (0.1ms)[0m SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" ORDER BY "coalescing_panda_canvas_api_auths"."id" ASC LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_panda_canvas_api_auths" ("created_at", "updated_at", "user_id") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 00:07:43 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:07:43 UTC +00:00], ["user_id", "a"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::CanvasApiAuth Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1 [1m[36mCoalescingPanda::CanvasApiAuth Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1[0m [1m[35mCoalescingPanda::CanvasApiAuth Load (0.1ms)[0m SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" [1m[36mCoalescingPanda::CanvasApiAuth Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" = '1') LIMIT 1[0m [1m[35mCoalescingPanda::CanvasApiAuth Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" = '1') LIMIT 1 [1m[36m (0.4ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mCoalescingPanda::CanvasApiAuth Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1[0m [1m[35mCoalescingPanda::CanvasApiAuth Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1 [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mCoalescingPanda::CanvasApiAuth Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1[0m [1m[35mCoalescingPanda::CanvasApiAuth Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1 [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 00:07:43 UTC +00:00], ["status", "Pending"], ["updated_at", Thu, 08 Jan 2015 00:07:43 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Thu, 08 Jan 2015 00:07:43 UTC +00:00], ["status", "Pending"], ["updated_at", Thu, 08 Jan 2015 00:07:43 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 00:07:43 UTC +00:00], ["status", "Pending"], ["updated_at", Thu, 08 Jan 2015 00:07:43 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::CanvasBatch Load (0.1ms)[0m SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" ORDER BY created_at DESC [1m[36m (0.6ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 9' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 9' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:07: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", Thu, 08 Jan 2015 00:07:43 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 10' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 10' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "10"], ["created_at", Thu, 08 Jan 2015 00:07: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", Thu, 08 Jan 2015 00:07:43 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 00:07:43 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:07:43 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.8ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 11' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 11' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "11"], ["created_at", Thu, 08 Jan 2015 00:07: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", Thu, 08 Jan 2015 00:07:43 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 12' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 12' LIMIT 1[0m [1m[35mSQL (0.6ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:07: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", Thu, 08 Jan 2015 00:07:43 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 6], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:07:43 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:07:43 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.6ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.2ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 13' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 13' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:07: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", Thu, 08 Jan 2015 00:07:43 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 14' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 14' LIMIT 1 [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "14"], ["created_at", Thu, 08 Jan 2015 00:07: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", Thu, 08 Jan 2015 00:07:43 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 00:07:43 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:07:43 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 00:07:43 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:07:43 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 15' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 15' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:07: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", Thu, 08 Jan 2015 00:07:43 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 8], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 00:07:43 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:07:43 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 00:07:43 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:07:43 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 (?, ?, ?, ?, ?, ?) [1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m [1m[35m (0.8ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 16' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 16' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "16"], ["created_at", Thu, 08 Jan 2015 00:07: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", Thu, 08 Jan 2015 00:07:43 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.6ms)[0m 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", Thu, 08 Jan 2015 00:07:43 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:07:43 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 17' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 17' LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "17"], ["created_at", Thu, 08 Jan 2015 00:07: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", Thu, 08 Jan 2015 00:07:43 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 00:07:43 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:07:43 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 18' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 18' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "18"], ["created_at", Thu, 08 Jan 2015 00:07: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", Thu, 08 Jan 2015 00:07:43 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 00:07:43 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:07:43 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 (?, ?, ?, ?, ?, ?) [1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m [1m[35m (0.6ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 19' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 19' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "19"], ["created_at", Thu, 08 Jan 2015 00:07: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", Thu, 08 Jan 2015 00:07:43 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 20' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 20' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:07: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", Thu, 08 Jan 2015 00:07:43 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 10], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:07:43 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:07:43 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 21' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 21' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:07: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", Thu, 08 Jan 2015 00:07:43 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.7ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 00:07:43 UTC +00:00], ["email", "test1@test.com"], ["name", "Factory User 1"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 00:07:43 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 22' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 22' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:07: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", Thu, 08 Jan 2015 00:07:43 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 23' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 23' LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "23"], ["created_at", Thu, 08 Jan 2015 00:07: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", Thu, 08 Jan 2015 00:07:43 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m 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", Thu, 08 Jan 2015 00:07:43 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:07:43 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 7], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 00:07:43 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:07:43 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m 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", Thu, 08 Jan 2015 00:07:43 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:07:43 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 24' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 24' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "24"], ["created_at", Thu, 08 Jan 2015 00:07:43 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", Thu, 08 Jan 2015 00:07:43 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.5ms)[0m 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", Thu, 08 Jan 2015 00:07:43 UTC +00:00], ["email", "test2@test.com"], ["name", "Factory User 2"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 00:07:43 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 25' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 25' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "25"], ["created_at", Thu, 08 Jan 2015 00:07:43 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", Thu, 08 Jan 2015 00:07:43 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 26' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 26' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:07:43 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", Thu, 08 Jan 2015 00:07:43 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 12], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 00:07:43 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:07:43 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 00:07:43 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:07:43 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_section_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 00:07:43 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:07:43 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.9ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 27' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 27' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:07:43 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", Thu, 08 Jan 2015 00:07:43 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 00:07:43 UTC +00:00], ["email", "test3@test.com"], ["name", "Factory User 3"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 00:07:43 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 28' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 28' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:07:43 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", Thu, 08 Jan 2015 00:07:43 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 29' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 29' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "29"], ["created_at", Thu, 08 Jan 2015 00:07:43 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", Thu, 08 Jan 2015 00:07:43 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 00:07:43 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:07:43 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 9], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 00:07:43 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:07:43 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 00:07:43 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:07:43 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.8ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 30' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 30' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "30"], ["created_at", Thu, 08 Jan 2015 00:07:43 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", Thu, 08 Jan 2015 00:07:43 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.5ms)[0m 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", Thu, 08 Jan 2015 00:07:43 UTC +00:00], ["email", "test4@test.com"], ["name", "Factory User 4"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 00:07:43 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 31' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 31' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "31"], ["created_at", Thu, 08 Jan 2015 00:07:43 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", Thu, 08 Jan 2015 00:07:43 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 32' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 32' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:07:43 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", Thu, 08 Jan 2015 00:07:43 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 14], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 00:07:43 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:07:43 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 00:07:43 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:07:43 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_section_id", 4], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 00:07:43 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:07:43 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m 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", Thu, 08 Jan 2015 00:07:43 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Thu, 08 Jan 2015 00:07:43 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_enrollment_id", 4], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Thu, 08 Jan 2015 00:07:43 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Thu, 08 Jan 2015 00:07:43 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 (?, ?, ?, ?, ?, ?) [1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1 [1m[36m (0.8ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 33' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 33' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:07:43 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", Thu, 08 Jan 2015 00:07:43 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 5], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 00:07:43 UTC +00:00], ["email", "test5@test.com"], ["name", "Factory User 5"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 00:07:43 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 34' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 34' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:07:43 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", Thu, 08 Jan 2015 00:07:43 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 35' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 35' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "35"], ["created_at", Thu, 08 Jan 2015 00:07:43 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", Thu, 08 Jan 2015 00:07:43 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 00:07:43 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:07:43 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 11], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 00:07:43 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:07:43 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 00:07:43 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:07:43 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_enrollment_id", 5], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Thu, 08 Jan 2015 00:07:43 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Thu, 08 Jan 2015 00:07:43 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m 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", Thu, 08 Jan 2015 00:07:43 UTC +00:00], ["enrollment_type", "TeacherEnrollment"], ["updated_at", Thu, 08 Jan 2015 00:07:43 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (1.0ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 36' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 36' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "36"], ["created_at", Thu, 08 Jan 2015 00:07: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", Thu, 08 Jan 2015 00:07:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.6ms)[0m 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", Thu, 08 Jan 2015 00:07:44 UTC +00:00], ["email", "test6@test.com"], ["name", "Factory User 6"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 37' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 37' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "37"], ["created_at", Thu, 08 Jan 2015 00:07: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", Thu, 08 Jan 2015 00:07:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 38' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 38' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:07: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", Thu, 08 Jan 2015 00:07:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 16], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 00:07:44 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_section_id", 6], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (1.0ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mCoalescingPanda::LtiAccount Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 39' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 39' LIMIT 1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 40' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 40' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:07: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", Thu, 08 Jan 2015 00:07:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 41' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 41' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "40"], ["created_at", Thu, 08 Jan 2015 00:07: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", Thu, 08 Jan 2015 00:07:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 00:07:44 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 13], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.9ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.2ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 42' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 42' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:07: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", Thu, 08 Jan 2015 00:07:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 43' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 43' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "42"], ["created_at", Thu, 08 Jan 2015 00:07: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", Thu, 08 Jan 2015 00:07:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m 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", Thu, 08 Jan 2015 00:07:44 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 14], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 44' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 44' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:07: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", Thu, 08 Jan 2015 00:07:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 45' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 45' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "44"], ["created_at", Thu, 08 Jan 2015 00:07: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", Thu, 08 Jan 2015 00:07:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 00:07:44 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 15], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m 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", Thu, 08 Jan 2015 00:07:44 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_section_id", "1"], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:07:44 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 (?, ?, ?, ?) [1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1 [1m[36m (0.9ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.2ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 46' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 46' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:07: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", Thu, 08 Jan 2015 00:07:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 47' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 47' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "46"], ["created_at", Thu, 08 Jan 2015 00:07: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", Thu, 08 Jan 2015 00:07:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m 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", Thu, 08 Jan 2015 00:07:44 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 16], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 48' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 48' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:07: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", Thu, 08 Jan 2015 00:07:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (1.1ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 7], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00], ["email", "test7@test.com"], ["name", "Factory User 7"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 49' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 49' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:07: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", Thu, 08 Jan 2015 00:07:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 50' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 50' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "49"], ["created_at", Thu, 08 Jan 2015 00:07: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", Thu, 08 Jan 2015 00:07:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 00:07:44 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 17], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_assignment_id", "3"], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00], ["name", "test assignment"], ["submission_types", nil], ["updated_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (1.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 51' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 51' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "50"], ["created_at", Thu, 08 Jan 2015 00:07: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", Thu, 08 Jan 2015 00:07:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.6ms)[0m 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", Thu, 08 Jan 2015 00:07:44 UTC +00:00], ["email", "test8@test.com"], ["name", "Factory User 8"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 52' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 52' LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "51"], ["created_at", Thu, 08 Jan 2015 00:07: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", Thu, 08 Jan 2015 00:07:44 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 53' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 53' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:07: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", Thu, 08 Jan 2015 00:07:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 22], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 00:07:44 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_assignment_id", "4"], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00], ["name", "test assignment"], ["submission_types", nil], ["updated_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.9ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 54' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 54' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:07: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", Thu, 08 Jan 2015 00:07:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 9], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00], ["email", "test9@test.com"], ["name", "Factory User 9"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 55' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 55' LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:07: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", Thu, 08 Jan 2015 00:07:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 56' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 56' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "55"], ["created_at", Thu, 08 Jan 2015 00:07: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", Thu, 08 Jan 2015 00:07:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 00:07:44 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 19], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_assignment_id", "5"], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00], ["name", "test assignment"], ["submission_types", nil], ["updated_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.8ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 57' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 57' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "56"], ["created_at", Thu, 08 Jan 2015 00:07: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", Thu, 08 Jan 2015 00:07:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.6ms)[0m 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", Thu, 08 Jan 2015 00:07:44 UTC +00:00], ["email", "test10@test.com"], ["name", "Factory User 10"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 58' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 58' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "57"], ["created_at", Thu, 08 Jan 2015 00:07: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", Thu, 08 Jan 2015 00:07:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 59' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 59' LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:07: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", Thu, 08 Jan 2015 00:07:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 24], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 00:07:44 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_assignment_id", "6"], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00], ["name", "test assignment"], ["submission_types", nil], ["updated_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m 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", Thu, 08 Jan 2015 00:07:44 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["canvas_submission_id", "1"], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:07:44 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 (?, ?, ?, ?, ?) [1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1 [1m[36m (1.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.2ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 60' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 60' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:07: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", Thu, 08 Jan 2015 00:07:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 11], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00], ["email", "test11@test.com"], ["name", "Factory User 11"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 61' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 61' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:07: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", Thu, 08 Jan 2015 00:07:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 62' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 62' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "61"], ["created_at", Thu, 08 Jan 2015 00:07: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", Thu, 08 Jan 2015 00:07:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 00:07:44 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 21], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_assignment_id", "7"], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00], ["name", "test assignment"], ["submission_types", nil], ["updated_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["canvas_submission_id", "1"], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m 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", Thu, 08 Jan 2015 00:07:44 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.8ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 63' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 63' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "62"], ["created_at", Thu, 08 Jan 2015 00:07: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", Thu, 08 Jan 2015 00:07:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.6ms)[0m 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", Thu, 08 Jan 2015 00:07:44 UTC +00:00], ["email", "test12@test.com"], ["name", "Factory User 12"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 64' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 64' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "63"], ["created_at", Thu, 08 Jan 2015 00:07: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", Thu, 08 Jan 2015 00:07:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 65' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 65' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:07: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", Thu, 08 Jan 2015 00:07:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 26], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 00:07:44 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_assignment_id", "8"], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00], ["name", "test assignment"], ["submission_types", nil], ["updated_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.9ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 66' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 66' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:07: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", Thu, 08 Jan 2015 00:07:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.4ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 67' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 67' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "66"], ["created_at", Thu, 08 Jan 2015 00:07: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", Thu, 08 Jan 2015 00:07:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.7ms)[0m 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", Thu, 08 Jan 2015 00:07:44 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:07: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 (?, ?, ?, ?) [1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1 [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 68' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 68' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:07: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", Thu, 08 Jan 2015 00:07:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.4ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 69' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 69' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "68"], ["created_at", Thu, 08 Jan 2015 00:07: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", Thu, 08 Jan 2015 00:07:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.4ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.2ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 70' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.5ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 70' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:07: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", Thu, 08 Jan 2015 00:07:44 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.7ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00], ["email", "test15@test.com"], ["name", "Factory User 15"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m 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", Thu, 08 Jan 2015 00:07:44 UTC +00:00], ["email", "test16@test.com"], ["name", "Factory User 16"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 00:07:44 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 (?, ?, ?, ?, ?, ?, ?) [1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m [1m[35m (0.6ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 71' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 71' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "70"], ["created_at", Thu, 08 Jan 2015 00:07: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", Thu, 08 Jan 2015 00:07:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.3ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (48.7ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 72' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 72' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:07: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", Thu, 08 Jan 2015 00:07:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 73' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 73' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "72"], ["created_at", Thu, 08 Jan 2015 00:07: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", Thu, 08 Jan 2015 00:07:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 00:07:44 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 23], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::CanvasBatch Load (0.1ms)[0m SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" ORDER BY created_at ASC LIMIT 1 [1m[36m (0.9ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.2ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 74' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 74' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:07: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", Thu, 08 Jan 2015 00:07:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 75' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 75' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "74"], ["created_at", Thu, 08 Jan 2015 00:07: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", Thu, 08 Jan 2015 00:07:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m 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", Thu, 08 Jan 2015 00:07:44 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 24], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (1.0ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 76' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 76' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "75"], ["created_at", Thu, 08 Jan 2015 00:07: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", Thu, 08 Jan 2015 00:07:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 77' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 77' LIMIT 1[0m [1m[35mSQL (0.6ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:07: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", Thu, 08 Jan 2015 00:07:44 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 30], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 00:07:44 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m UPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["status", "Started"], ["updated_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Section Load (0.1ms)[0m SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00], ["name", "Course1"], ["updated_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mUPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1[0m [["percent_complete", 14.3], ["updated_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::User Load (0.1ms)[0m [1mSELECT "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[0m [["coalescing_panda_lti_account_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00], ["name", "teacher@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::User Load (0.1ms)[0m [1mSELECT "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[0m [["coalescing_panda_lti_account_id", 1]] [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00], ["name", "student1@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::User Load (0.1ms)[0m [1mSELECT "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[0m [["coalescing_panda_lti_account_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00], ["name", "student2@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 28.6], ["updated_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Enrollment Load (0.1ms)[0m SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '1') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36mCoalescingPanda::User Load (0.1ms)[0m [1mSELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '1' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1[0m [["coalescing_panda_lti_account_id", 1]] [1m[35mCoalescingPanda::Section Load (0.1ms)[0m SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "coalescing_panda_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"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Enrollment Load (0.1ms)[0m SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '2') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36mCoalescingPanda::User Load (0.1ms)[0m [1mSELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1[0m [["coalescing_panda_lti_account_id", 1]] [1m[35mCoalescingPanda::Section Load (0.0ms)[0m SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_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"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Enrollment Load (0.1ms)[0m SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '3') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36mCoalescingPanda::User Load (0.1ms)[0m [1mSELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1[0m [["coalescing_panda_lti_account_id", 1]] [1m[35mCoalescingPanda::Section Load (0.0ms)[0m SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_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"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mUPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1[0m [["percent_complete", 42.9], ["updated_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::Assignment Load (0.1ms)[0m [1mSELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "grade_group_students_individually", "name", "points_possible", "published", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_assignment_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 18:04:38 UTC +00:00], ["description", "What is your name?
"], ["grade_group_students_individually", false], ["name", "Gimme your name"], ["points_possible", 100.0], ["published", true], ["submission_types", "---\n- online_text_entry\n"], ["updated_at", Tue, 18 Nov 2014 18:04:42 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::Assignment Load (0.1ms)[0m [1mSELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "grade_group_students_individually", "name", "points_possible", "published", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_assignment_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 19:10:28 UTC +00:00], ["description", "What is your Favorite Color?
"], ["grade_group_students_individually", false], ["name", "Favorite Color"], ["points_possible", 100.0], ["published", true], ["submission_types", "---\n- online_text_entry\n"], ["updated_at", Tue, 18 Nov 2014 19:10:30 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 57.1], ["updated_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Assignment Load (0.1ms)[0m SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? [["coalescing_panda_course_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 71.4], ["updated_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Group Load (0.1ms)[0m SELECT "coalescing_panda_groups".* FROM "coalescing_panda_groups" WHERE "coalescing_panda_groups"."context_id" = ? AND "coalescing_panda_groups"."context_type" = ? AND (canvas_group_id = '4') ORDER BY "coalescing_panda_groups"."id" ASC LIMIT 1 [["context_id", 1], ["context_type", "CoalescingPanda::Course"]] CoalescingPanda::Group not created: Batch: 1, Message: uninitialized constant Course, values: {"description"=>nil, "group_category_id"=>3, "id"=>4, "is_public"=>false, "join_level"=>"invitation_only", "max_membership"=>5, "name"=>"Student Group 1", "members_count"=>2, "storage_quota_mb"=>50, "context_type"=>"Course", "course_id"=>3709, "avatar_url"=>nil, "role"=>nil, "leader"=>nil, "canvas_group_id"=>4} [1m[36mCoalescingPanda::Group Load (0.1ms)[0m [1mSELECT "coalescing_panda_groups".* FROM "coalescing_panda_groups" WHERE "coalescing_panda_groups"."context_id" = ? AND "coalescing_panda_groups"."context_type" = ? AND (canvas_group_id = '5') ORDER BY "coalescing_panda_groups"."id" ASC LIMIT 1[0m [["context_id", 1], ["context_type", "CoalescingPanda::Course"]] CoalescingPanda::Group not created: Batch: 1, Message: uninitialized constant Course, values: {"description"=>nil, "group_category_id"=>3, "id"=>5, "is_public"=>false, "join_level"=>"invitation_only", "max_membership"=>5, "name"=>"Student Group 2", "members_count"=>2, "storage_quota_mb"=>50, "context_type"=>"Course", "course_id"=>3709, "avatar_url"=>nil, "role"=>nil, "leader"=>nil, "canvas_group_id"=>5} [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mUPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1[0m [["percent_complete", 85.7], ["updated_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::Group Load (0.1ms)[0m [1mSELECT "coalescing_panda_groups".* FROM "coalescing_panda_groups" WHERE "coalescing_panda_groups"."context_id" = ? AND "coalescing_panda_groups"."context_type" = ?[0m [["context_id", 1], ["context_type", "CoalescingPanda::Course"]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mUPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1[0m [["percent_complete", 100.0], ["updated_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["status", "Completed"], ["updated_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (1.0ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 78' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 78' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "77"], ["created_at", Thu, 08 Jan 2015 00:07: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", Thu, 08 Jan 2015 00:07:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 79' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 79' LIMIT 1[0m [1m[35mSQL (0.7ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:07: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", Thu, 08 Jan 2015 00:07:44 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 31], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 00:07:44 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (1.0ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 80' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 80' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:07: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", Thu, 08 Jan 2015 00:07:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 81' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 81' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "80"], ["created_at", Thu, 08 Jan 2015 00:07: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", Thu, 08 Jan 2015 00:07:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 00:07:44 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 27], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.6ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mCoalescingPanda::Section Load (0.2ms)[0m SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 82' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 82' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:07: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", Thu, 08 Jan 2015 00:07:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 83' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 83' LIMIT 1 [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "82"], ["created_at", Thu, 08 Jan 2015 00:07: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", Thu, 08 Jan 2015 00:07:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m 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", Thu, 08 Jan 2015 00:07:44 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 28], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Section Load (0.0ms)[0m SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00], ["name", "Course1"], ["updated_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "coalescing_panda_sections" [1m[36m (1.0ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mCoalescingPanda::User Load (0.2ms)[0m [1mSELECT "coalescing_panda_users".* FROM "coalescing_panda_users"[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 84' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 84' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "83"], ["created_at", Thu, 08 Jan 2015 00:07: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", Thu, 08 Jan 2015 00:07:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 85' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 85' LIMIT 1[0m [1m[35mSQL (0.7ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:07: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", Thu, 08 Jan 2015 00:07:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 34], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 00:07:44 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::User Load (0.0ms)[0m [1mSELECT "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[0m [["coalescing_panda_lti_account_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00], ["name", "teacher@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::User Load (0.1ms)[0m [1mSELECT "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[0m [["coalescing_panda_lti_account_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00], ["name", "student1@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::User Load (0.0ms)[0m [1mSELECT "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[0m [["coalescing_panda_lti_account_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00], ["name", "student2@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "coalescing_panda_users"[0m [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mCoalescingPanda::Enrollment Load (0.1ms)[0m SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 86' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 86' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:07: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", Thu, 08 Jan 2015 00:07:44 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 87' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 87' LIMIT 1 [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "86"], ["created_at", Thu, 08 Jan 2015 00:07: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", Thu, 08 Jan 2015 00:07:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 00:07:44 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 30], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Section Load (0.0ms)[0m SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00], ["name", "Course1"], ["updated_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::User Load (0.0ms)[0m 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]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00], ["name", "teacher@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::User Load (0.0ms)[0m 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]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00], ["name", "student1@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::User Load (0.0ms)[0m 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]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00], ["name", "student2@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Enrollment Load (0.0ms)[0m SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '1') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36mCoalescingPanda::User Load (0.0ms)[0m [1mSELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '1' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1[0m [["coalescing_panda_lti_account_id", 1]] [1m[35mCoalescingPanda::Section Load (0.0ms)[0m SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_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"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Enrollment Load (0.0ms)[0m SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '2') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36mCoalescingPanda::User Load (0.0ms)[0m [1mSELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1[0m [["coalescing_panda_lti_account_id", 1]] [1m[35mCoalescingPanda::Section Load (0.0ms)[0m SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_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"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Enrollment Load (0.0ms)[0m SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '3') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36mCoalescingPanda::User Load (0.0ms)[0m [1mSELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1[0m [["coalescing_panda_lti_account_id", 1]] [1m[35mCoalescingPanda::Section Load (0.0ms)[0m SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_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"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "coalescing_panda_enrollments" [1m[36mCoalescingPanda::Enrollment Load (0.1ms)[0m [1mSELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" ORDER BY "coalescing_panda_enrollments"."id" DESC LIMIT 1[0m [1m[35m (0.9ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mCoalescingPanda::Assignment Load (0.1ms)[0m SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 88' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 88' LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:07: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", Thu, 08 Jan 2015 00:07:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 89' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 89' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "88"], ["created_at", Thu, 08 Jan 2015 00:07: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", Thu, 08 Jan 2015 00:07:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 00:07:44 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 31], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Assignment Load (0.1ms)[0m SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "grade_group_students_individually", "name", "points_possible", "published", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 18:04:38 UTC +00:00], ["description", "What is your name?
"], ["grade_group_students_individually", false], ["name", "Gimme your name"], ["points_possible", 100.0], ["published", true], ["submission_types", "---\n- online_text_entry\n"], ["updated_at", Tue, 18 Nov 2014 18:04:42 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Assignment Load (0.0ms)[0m SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "grade_group_students_individually", "name", "points_possible", "published", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 19:10:28 UTC +00:00], ["description", "What is your Favorite Color?
"], ["grade_group_students_individually", false], ["name", "Favorite Color"], ["points_possible", 100.0], ["published", true], ["submission_types", "---\n- online_text_entry\n"], ["updated_at", Tue, 18 Nov 2014 19:10:30 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "coalescing_panda_assignments" [1m[36m (1.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mCoalescingPanda::Submission Load (0.2ms)[0m [1mSELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions"[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 90' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 90' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "89"], ["created_at", Thu, 08 Jan 2015 00:07: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", Thu, 08 Jan 2015 00:07:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 91' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 91' LIMIT 1[0m [1m[35mSQL (0.6ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:07: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", Thu, 08 Jan 2015 00:07:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 37], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 00:07:44 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::User Load (0.0ms)[0m [1mSELECT "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[0m [["coalescing_panda_lti_account_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00], ["name", "teacher@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::User Load (0.0ms)[0m [1mSELECT "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[0m [["coalescing_panda_lti_account_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00], ["name", "student1@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::User Load (0.0ms)[0m [1mSELECT "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[0m [["coalescing_panda_lti_account_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00], ["name", "student2@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::Assignment Load (0.0ms)[0m [1mSELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "grade_group_students_individually", "name", "points_possible", "published", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_assignment_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 18:04:38 UTC +00:00], ["description", "What is your name?
"], ["grade_group_students_individually", false], ["name", "Gimme your name"], ["points_possible", 100.0], ["published", true], ["submission_types", "---\n- online_text_entry\n"], ["updated_at", Tue, 18 Nov 2014 18:04:42 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::Assignment Load (0.2ms)[0m [1mSELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "grade_group_students_individually", "name", "points_possible", "published", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_assignment_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 19:10:28 UTC +00:00], ["description", "What is your Favorite Color?
"], ["grade_group_students_individually", false], ["name", "Favorite Color"], ["points_possible", 100.0], ["published", true], ["submission_types", "---\n- online_text_entry\n"], ["updated_at", Tue, 18 Nov 2014 19:10:30 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::Submission Load (0.2ms)[0m [1mSELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '3') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35mCoalescingPanda::User Load (0.1ms)[0m SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] [1m[36mCoalescingPanda::Assignment Load (0.1ms)[0m [1mSELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_submission_id", 3], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 3], ["created_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00], ["grade", "70"], ["score", 70], ["updated_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00], ["workflow_state", "graded"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::Submission Load (0.1ms)[0m [1mSELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '1') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35mCoalescingPanda::User Load (0.0ms)[0m SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] [1m[36mCoalescingPanda::Assignment Load (0.0ms)[0m [1mSELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_submission_id", 1], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 2], ["created_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00], ["grade", "100"], ["score", 100], ["updated_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00], ["workflow_state", "graded"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::Submission Load (0.1ms)[0m [1mSELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '4') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35mCoalescingPanda::User Load (0.0ms)[0m SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] [1m[36mCoalescingPanda::Assignment Load (0.1ms)[0m [1mSELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_submission_id", 4], ["coalescing_panda_assignment_id", 2], ["coalescing_panda_user_id", 3], ["created_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00], ["grade", "90"], ["score", 90], ["updated_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00], ["workflow_state", "graded"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::Submission Load (0.1ms)[0m [1mSELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '2') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35mCoalescingPanda::User Load (0.0ms)[0m SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] [1m[36mCoalescingPanda::Assignment Load (0.0ms)[0m [1mSELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_submission_id", 2], ["coalescing_panda_assignment_id", 2], ["coalescing_panda_user_id", 2], ["created_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00], ["grade", "80"], ["score", 80], ["updated_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00], ["workflow_state", "graded"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "coalescing_panda_submissions"[0m [1m[35m (0.8ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mCoalescingPanda::Group Load (0.1ms)[0m SELECT "coalescing_panda_groups".* FROM "coalescing_panda_groups" [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 92' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 92' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:07: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", Thu, 08 Jan 2015 00:07:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 93' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 93' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "92"], ["created_at", Thu, 08 Jan 2015 00:07: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", Thu, 08 Jan 2015 00:07:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 00:07:44 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 33], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Group Load (0.0ms)[0m SELECT "coalescing_panda_groups".* FROM "coalescing_panda_groups" WHERE "coalescing_panda_groups"."context_id" = ? AND "coalescing_panda_groups"."context_type" = ? AND (canvas_group_id = '4') ORDER BY "coalescing_panda_groups"."id" ASC LIMIT 1 [["context_id", 1], ["context_type", "CoalescingPanda::Course"]] CoalescingPanda::Group not created: Batch: 1, Message: uninitialized constant Course, values: {"description"=>nil, "group_category_id"=>3, "id"=>4, "is_public"=>false, "join_level"=>"invitation_only", "max_membership"=>5, "name"=>"Student Group 1", "members_count"=>2, "storage_quota_mb"=>50, "context_type"=>"Course", "course_id"=>3709, "avatar_url"=>nil, "role"=>nil, "leader"=>nil, "canvas_group_id"=>4} [1m[36mCoalescingPanda::Group Load (0.0ms)[0m [1mSELECT "coalescing_panda_groups".* FROM "coalescing_panda_groups" WHERE "coalescing_panda_groups"."context_id" = ? AND "coalescing_panda_groups"."context_type" = ? AND (canvas_group_id = '5') ORDER BY "coalescing_panda_groups"."id" ASC LIMIT 1[0m [["context_id", 1], ["context_type", "CoalescingPanda::Course"]] CoalescingPanda::Group not created: Batch: 1, Message: uninitialized constant Course, values: {"description"=>nil, "group_category_id"=>3, "id"=>5, "is_public"=>false, "join_level"=>"invitation_only", "max_membership"=>5, "name"=>"Student Group 2", "members_count"=>2, "storage_quota_mb"=>50, "context_type"=>"Course", "course_id"=>3709, "avatar_url"=>nil, "role"=>nil, "leader"=>nil, "canvas_group_id"=>5} [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "coalescing_panda_groups" [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 94' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 94' LIMIT 1[0m [1m[35mSQL (0.6ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:07: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", Thu, 08 Jan 2015 00:07:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 95' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 95' LIMIT 1 [1m[36mSQL (1.0ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "94"], ["created_at", Thu, 08 Jan 2015 00:07: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", Thu, 08 Jan 2015 00:07:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 00:07:44 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 34], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (1.0ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 96' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 96' LIMIT 1 [1m[36mSQL (0.7ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "95"], ["created_at", Thu, 08 Jan 2015 00:07: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", Thu, 08 Jan 2015 00:07:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 97' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 97' LIMIT 1[0m [1m[35mSQL (0.9ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:07: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", Thu, 08 Jan 2015 00:07:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 40], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 00:07:44 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 98' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 98' LIMIT 1[0m [1m[35mSQL (0.6ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:07: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", Thu, 08 Jan 2015 00:07:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 99' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 99' LIMIT 1 [1m[36mSQL (0.7ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "98"], ["created_at", Thu, 08 Jan 2015 00:07: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", Thu, 08 Jan 2015 00:07:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 00:07:44 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 36], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.6ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 100' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 100' LIMIT 1 [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "99"], ["created_at", Thu, 08 Jan 2015 00:07: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", Thu, 08 Jan 2015 00:07:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 101' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 101' LIMIT 1[0m [1m[35mSQL (0.7ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:07:44 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", Thu, 08 Jan 2015 00:07:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 42], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 00:07:44 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.8ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 102' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 102' LIMIT 1[0m [1m[35mSQL (0.6ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:07:44 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", Thu, 08 Jan 2015 00:07:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 103' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 103' LIMIT 1 [1m[36mSQL (0.8ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "102"], ["created_at", Thu, 08 Jan 2015 00:07:44 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", Thu, 08 Jan 2015 00:07:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 00:07:44 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 38], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.8ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 104' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 104' LIMIT 1 [1m[36mSQL (0.7ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "103"], ["created_at", Thu, 08 Jan 2015 00:07:44 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", Thu, 08 Jan 2015 00:07:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 105' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 105' LIMIT 1[0m [1m[35mSQL (0.9ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:07:44 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", Thu, 08 Jan 2015 00:07:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 44], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 00:07:44 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 106' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 106' LIMIT 1[0m [1m[35mSQL (0.6ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:07:44 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", Thu, 08 Jan 2015 00:07:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 107' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.3ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 107' LIMIT 1 [1m[36mSQL (1.0ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "106"], ["created_at", Thu, 08 Jan 2015 00:07:44 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", Thu, 08 Jan 2015 00:07:44 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m 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", Thu, 08 Jan 2015 00:07:44 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 40], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.8ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 108' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 108' LIMIT 1 [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "107"], ["created_at", Thu, 08 Jan 2015 00:07:44 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", Thu, 08 Jan 2015 00:07:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 109' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 109' LIMIT 1[0m [1m[35mSQL (0.7ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:07:44 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", Thu, 08 Jan 2015 00:07:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 46], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 00:07:44 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 110' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 110' LIMIT 1[0m [1m[35mSQL (0.7ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:07:44 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", Thu, 08 Jan 2015 00:07:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 111' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 111' LIMIT 1 [1m[36mSQL (0.8ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "110"], ["created_at", Thu, 08 Jan 2015 00:07:44 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", Thu, 08 Jan 2015 00:07:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m 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", Thu, 08 Jan 2015 00:07:44 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 42], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 112' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 112' LIMIT 1 [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "111"], ["created_at", Thu, 08 Jan 2015 00:07:44 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", Thu, 08 Jan 2015 00:07:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 113' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 113' LIMIT 1[0m [1m[35mSQL (0.7ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:07:44 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", Thu, 08 Jan 2015 00:07:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 48], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 00:07:44 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_section_id", 9], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 114' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 114' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:07:44 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", Thu, 08 Jan 2015 00:07:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 115' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 115' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "114"], ["created_at", Thu, 08 Jan 2015 00:07:44 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", Thu, 08 Jan 2015 00:07:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", 4], ["created_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 44], ["coalescing_panda_lti_account_id", 3], ["coalescing_panda_term_id", 2], ["created_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Course Load (0.1ms)[0m SELECT "coalescing_panda_courses".* FROM "coalescing_panda_courses" WHERE "coalescing_panda_courses"."id" = ? LIMIT 1 [["id", 2]] [1m[36mSQL (0.1ms)[0m [1mUPDATE "coalescing_panda_sections" SET "coalescing_panda_course_id" = ?, "updated_at" = ? WHERE "coalescing_panda_sections"."id" = 1[0m [["coalescing_panda_course_id", 2], ["updated_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 15], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00], ["email", "test18@test.com"], ["name", "Factory User 18"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::User Load (0.1ms)[0m [1mSELECT "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[0m [["coalescing_panda_lti_account_id", 3]] [1m[35mCoalescingPanda::Section Load (0.1ms)[0m 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]] [1m[36m (1.2ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 116' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 116' LIMIT 1[0m [1m[35mSQL (0.7ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:07:44 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", Thu, 08 Jan 2015 00:07:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 117' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 117' LIMIT 1 [1m[36mSQL (0.8ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "116"], ["created_at", Thu, 08 Jan 2015 00:07:44 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", Thu, 08 Jan 2015 00:07:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m 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", Thu, 08 Jan 2015 00:07:44 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 45], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (1.0ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 118' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 118' LIMIT 1 [1m[36mSQL (0.8ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "117"], ["created_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00], ["key", "Key 118"], ["name", "Account 118"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 118"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 119' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 119' LIMIT 1[0m [1m[35mSQL (1.1ms)[0m INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "118"], ["created_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00], ["key", "Key 119"], ["name", "Account 119"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 119"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 51], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 46], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_assignment_id", "9"], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00], ["name", "test assignment"], ["submission_types", nil], ["updated_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 16], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00], ["email", "test19@test.com"], ["name", "Factory User 19"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 00:07:44 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::User Load (0.1ms)[0m [1mSELECT "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[0m [["coalescing_panda_lti_account_id", 1]] [1m[35mCoalescingPanda::Assignment Load (0.1ms)[0m 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]] [1m[36m (0.8ms)[0m [1mrollback transaction[0m [1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m [1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations" [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m Processing by CoalescingPanda::LtiController#lti_config as HTML Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m Processing by CoalescingPanda::LtiController#lti_config as HTML Completed 500 Internal Server Error in 1ms [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m 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) [1m[35mCoalescingPanda::CanvasApiAuth Load (0.1ms)[0m 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 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction Processing by CoalescingPanda::Oauth2Controller#redirect as HTML Parameters: {"error"=>"your face"} Completed 200 OK in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "coalescing_panda_canvas_api_auths"[0m [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 1' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 1' LIMIT 1 [1m[36mSQL (2.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "1"], ["created_at", Thu, 08 Jan 2015 00:08: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", Thu, 08 Jan 2015 00:08:26 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 2' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 2' LIMIT 1[0m [1m[35mSQL (1.3ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:08: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", Thu, 08 Jan 2015 00:08:26 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 1], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:08:26 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:08:26 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 00:08:26 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:08:26 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (1.3ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 3' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 3' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "3"], ["created_at", Thu, 08 Jan 2015 00:08: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", Thu, 08 Jan 2015 00:08:26 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 4' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 4' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:08: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", Thu, 08 Jan 2015 00:08:26 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 2], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:08:26 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:08:26 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 00:08:26 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:08:26 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.8ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 5' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 5' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "5"], ["created_at", Thu, 08 Jan 2015 00:08: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", Thu, 08 Jan 2015 00:08:26 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 6' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 6' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:08: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", Thu, 08 Jan 2015 00:08:26 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 3], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:08:26 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:08:26 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 00:08:26 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:08:26 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_assignment_id", "1"], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 00:08:26 UTC +00:00], ["name", "test assignment"], ["submission_types", nil], ["updated_at", Thu, 08 Jan 2015 00:08:26 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_assignment_id", "1"], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 00:08:26 UTC +00:00], ["name", "test assignment"], ["submission_types", nil], ["updated_at", Thu, 08 Jan 2015 00:08:26 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", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m [1m[35m (0.8ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 7' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 7' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "7"], ["created_at", Thu, 08 Jan 2015 00:08: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", Thu, 08 Jan 2015 00:08:26 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 8' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 8' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:08: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", Thu, 08 Jan 2015 00:08:26 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 4], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:08:26 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:08:26 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 00:08:26 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:08:26 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.6ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mCoalescingPanda::CanvasApiAuth Load (0.1ms)[0m SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" ORDER BY "coalescing_panda_canvas_api_auths"."id" ASC LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_panda_canvas_api_auths" ("created_at", "updated_at", "user_id") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 00:08:26 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:08:26 UTC +00:00], ["user_id", "a"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::CanvasApiAuth Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1 [1m[36mCoalescingPanda::CanvasApiAuth Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1[0m [1m[35mCoalescingPanda::CanvasApiAuth Load (0.1ms)[0m SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" [1m[36mCoalescingPanda::CanvasApiAuth Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" = '1') LIMIT 1[0m [1m[35mCoalescingPanda::CanvasApiAuth Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" = '1') LIMIT 1 [1m[36m (0.5ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mCoalescingPanda::CanvasApiAuth Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1[0m [1m[35mCoalescingPanda::CanvasApiAuth Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1 [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mCoalescingPanda::CanvasApiAuth Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1[0m [1m[35mCoalescingPanda::CanvasApiAuth Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 00:08:26 UTC +00:00], ["status", "Pending"], ["updated_at", Thu, 08 Jan 2015 00:08:26 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Thu, 08 Jan 2015 00:08:26 UTC +00:00], ["status", "Pending"], ["updated_at", Thu, 08 Jan 2015 00:08:26 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 00:08:26 UTC +00:00], ["status", "Pending"], ["updated_at", Thu, 08 Jan 2015 00:08:26 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::CanvasBatch Load (0.1ms)[0m SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" ORDER BY created_at DESC [1m[36m (0.5ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 9' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 9' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:08: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", Thu, 08 Jan 2015 00:08:26 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 10' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 10' LIMIT 1 [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "10"], ["created_at", Thu, 08 Jan 2015 00:08: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", Thu, 08 Jan 2015 00:08:26 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m 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", Thu, 08 Jan 2015 00:08:26 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:08:26 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 11' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 11' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "11"], ["created_at", Thu, 08 Jan 2015 00:08: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", Thu, 08 Jan 2015 00:08:26 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 12' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 12' LIMIT 1[0m [1m[35mSQL (0.6ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:08:26 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", Thu, 08 Jan 2015 00:08:26 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 6], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:08:26 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:08:26 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.6ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 13' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 13' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:08:26 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", Thu, 08 Jan 2015 00:08:26 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 14' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 14' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "14"], ["created_at", Thu, 08 Jan 2015 00:08:26 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", Thu, 08 Jan 2015 00:08:26 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 00:08:26 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:08:26 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 00:08:26 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:08:26 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 15' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 15' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:08:26 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", Thu, 08 Jan 2015 00:08:26 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 8], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 00:08:26 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:08:26 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 00:08:26 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:08:26 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 (?, ?, ?, ?, ?, ?) [1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m [1m[35m (0.6ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 16' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 16' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "16"], ["created_at", Thu, 08 Jan 2015 00:08:26 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", Thu, 08 Jan 2015 00:08:26 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.5ms)[0m 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", Thu, 08 Jan 2015 00:08:26 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:08:26 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 17' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 17' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "17"], ["created_at", Thu, 08 Jan 2015 00:08:26 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", Thu, 08 Jan 2015 00:08:26 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 00:08:26 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:08:26 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 18' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 18' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "18"], ["created_at", Thu, 08 Jan 2015 00:08:26 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", Thu, 08 Jan 2015 00:08:26 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 00:08:26 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:08:26 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 (?, ?, ?, ?, ?, ?) [1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m [1m[35m (0.6ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 19' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 19' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "19"], ["created_at", Thu, 08 Jan 2015 00:08:26 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", Thu, 08 Jan 2015 00:08:26 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 20' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 20' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:08:27 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", Thu, 08 Jan 2015 00:08:27 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 10], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.6ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 21' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 21' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:08:27 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", Thu, 08 Jan 2015 00:08:27 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.7ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00], ["email", "test1@test.com"], ["name", "Factory User 1"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 22' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 22' LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:08:27 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", Thu, 08 Jan 2015 00:08:27 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 23' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 23' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "23"], ["created_at", Thu, 08 Jan 2015 00:08:27 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", Thu, 08 Jan 2015 00:08:27 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 00:08:27 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 7], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m 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", Thu, 08 Jan 2015 00:08:27 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.8ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 24' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 24' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "24"], ["created_at", Thu, 08 Jan 2015 00:08:27 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", Thu, 08 Jan 2015 00:08:27 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.5ms)[0m 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", Thu, 08 Jan 2015 00:08:27 UTC +00:00], ["email", "test2@test.com"], ["name", "Factory User 2"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 25' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 25' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "25"], ["created_at", Thu, 08 Jan 2015 00:08:27 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", Thu, 08 Jan 2015 00:08:27 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 26' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 26' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:08:27 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", Thu, 08 Jan 2015 00:08:27 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 12], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 00:08:27 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_section_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.6ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 27' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 27' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:08:27 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", Thu, 08 Jan 2015 00:08:27 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00], ["email", "test3@test.com"], ["name", "Factory User 3"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 28' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 28' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:08:27 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", Thu, 08 Jan 2015 00:08:27 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 29' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 29' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "29"], ["created_at", Thu, 08 Jan 2015 00:08:27 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", Thu, 08 Jan 2015 00:08:27 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 00:08:27 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 9], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 00:08:27 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 30' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 30' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "30"], ["created_at", Thu, 08 Jan 2015 00:08:27 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", Thu, 08 Jan 2015 00:08:27 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.5ms)[0m 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", Thu, 08 Jan 2015 00:08:27 UTC +00:00], ["email", "test4@test.com"], ["name", "Factory User 4"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 31' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 31' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "31"], ["created_at", Thu, 08 Jan 2015 00:08:27 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", Thu, 08 Jan 2015 00:08:27 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 32' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 32' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:08:27 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", Thu, 08 Jan 2015 00:08:27 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 14], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 00:08:27 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_section_id", 4], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m 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", Thu, 08 Jan 2015 00:08:27 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_enrollment_id", 4], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Thu, 08 Jan 2015 00:08:27 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 (?, ?, ?, ?, ?, ?) [1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1 [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 33' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 33' LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:08:27 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", Thu, 08 Jan 2015 00:08:27 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 5], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00], ["email", "test5@test.com"], ["name", "Factory User 5"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 34' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 34' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:08:27 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", Thu, 08 Jan 2015 00:08:27 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 35' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 35' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "35"], ["created_at", Thu, 08 Jan 2015 00:08:27 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", Thu, 08 Jan 2015 00:08:27 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 00:08:27 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 11], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m 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", Thu, 08 Jan 2015 00:08:27 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_enrollment_id", 5], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 00:08:27 UTC +00:00], ["enrollment_type", "TeacherEnrollment"], ["updated_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 36' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 36' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "36"], ["created_at", Thu, 08 Jan 2015 00:08:27 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", Thu, 08 Jan 2015 00:08:27 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.6ms)[0m 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", Thu, 08 Jan 2015 00:08:27 UTC +00:00], ["email", "test6@test.com"], ["name", "Factory User 6"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 37' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 37' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "37"], ["created_at", Thu, 08 Jan 2015 00:08:27 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", Thu, 08 Jan 2015 00:08:27 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 38' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 38' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:08:27 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", Thu, 08 Jan 2015 00:08:27 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 16], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 00:08:27 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_section_id", 6], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 39' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 39' LIMIT 1 [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 40' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 40' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:08:27 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", Thu, 08 Jan 2015 00:08:27 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 41' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 41' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "40"], ["created_at", Thu, 08 Jan 2015 00:08:27 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", Thu, 08 Jan 2015 00:08:27 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 00:08:27 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 13], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 42' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 42' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:08:27 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", Thu, 08 Jan 2015 00:08:27 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 43' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 43' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "42"], ["created_at", Thu, 08 Jan 2015 00:08:27 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", Thu, 08 Jan 2015 00:08:27 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 00:08:27 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 14], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.6ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 44' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 44' LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:08:27 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", Thu, 08 Jan 2015 00:08:27 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 45' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 45' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "44"], ["created_at", Thu, 08 Jan 2015 00:08:27 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", Thu, 08 Jan 2015 00:08:27 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m 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", Thu, 08 Jan 2015 00:08:27 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 15], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m 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", Thu, 08 Jan 2015 00:08:27 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_section_id", "1"], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:08:27 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 (?, ?, ?, ?) [1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1 [1m[36m (0.9ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 46' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 46' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:08:27 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", Thu, 08 Jan 2015 00:08:27 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 47' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 47' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "46"], ["created_at", Thu, 08 Jan 2015 00:08:27 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", Thu, 08 Jan 2015 00:08:27 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 00:08:27 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 16], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.8ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 48' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 48' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:08:27 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", Thu, 08 Jan 2015 00:08:27 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 7], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00], ["email", "test7@test.com"], ["name", "Factory User 7"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 49' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 49' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:08:27 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", Thu, 08 Jan 2015 00:08:27 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 50' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 50' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "49"], ["created_at", Thu, 08 Jan 2015 00:08:27 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", Thu, 08 Jan 2015 00:08:27 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 00:08:27 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 17], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_assignment_id", "3"], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00], ["name", "test assignment"], ["submission_types", nil], ["updated_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.8ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 51' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 51' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "50"], ["created_at", Thu, 08 Jan 2015 00:08:27 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", Thu, 08 Jan 2015 00:08:27 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.5ms)[0m 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", Thu, 08 Jan 2015 00:08:27 UTC +00:00], ["email", "test8@test.com"], ["name", "Factory User 8"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 52' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 52' LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "51"], ["created_at", Thu, 08 Jan 2015 00:08:27 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", Thu, 08 Jan 2015 00:08:27 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 53' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 53' LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:08:27 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", Thu, 08 Jan 2015 00:08:27 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 22], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 00:08:27 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_assignment_id", "4"], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00], ["name", "test assignment"], ["submission_types", nil], ["updated_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 54' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 54' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:08:27 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", Thu, 08 Jan 2015 00:08:27 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 9], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00], ["email", "test9@test.com"], ["name", "Factory User 9"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 55' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 55' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:08:27 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", Thu, 08 Jan 2015 00:08:27 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 56' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 56' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "55"], ["created_at", Thu, 08 Jan 2015 00:08:27 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", Thu, 08 Jan 2015 00:08:27 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m 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", Thu, 08 Jan 2015 00:08:27 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 19], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_assignment_id", "5"], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00], ["name", "test assignment"], ["submission_types", nil], ["updated_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.6ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 57' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 57' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "56"], ["created_at", Thu, 08 Jan 2015 00:08:27 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", Thu, 08 Jan 2015 00:08:27 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.6ms)[0m 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", Thu, 08 Jan 2015 00:08:27 UTC +00:00], ["email", "test10@test.com"], ["name", "Factory User 10"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 58' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 58' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "57"], ["created_at", Thu, 08 Jan 2015 00:08:27 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", Thu, 08 Jan 2015 00:08:27 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 59' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 59' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:08:27 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", Thu, 08 Jan 2015 00:08:27 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 24], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 00:08:27 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_assignment_id", "6"], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00], ["name", "test assignment"], ["submission_types", nil], ["updated_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m 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", Thu, 08 Jan 2015 00:08:27 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["canvas_submission_id", "1"], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:08:27 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 (?, ?, ?, ?, ?) [1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1 [1m[36m (1.2ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.2ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 60' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 60' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:08:27 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", Thu, 08 Jan 2015 00:08:27 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 11], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00], ["email", "test11@test.com"], ["name", "Factory User 11"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 61' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 61' LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:08:27 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", Thu, 08 Jan 2015 00:08:27 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 62' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 62' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "61"], ["created_at", Thu, 08 Jan 2015 00:08:27 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", Thu, 08 Jan 2015 00:08:27 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 00:08:27 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 21], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_assignment_id", "7"], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00], ["name", "test assignment"], ["submission_types", nil], ["updated_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["canvas_submission_id", "1"], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m 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", Thu, 08 Jan 2015 00:08:27 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.9ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 63' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 63' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "62"], ["created_at", Thu, 08 Jan 2015 00:08:27 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", Thu, 08 Jan 2015 00:08:27 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.6ms)[0m 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", Thu, 08 Jan 2015 00:08:27 UTC +00:00], ["email", "test12@test.com"], ["name", "Factory User 12"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 64' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 64' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "63"], ["created_at", Thu, 08 Jan 2015 00:08:27 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", Thu, 08 Jan 2015 00:08:27 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 65' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 65' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:08:27 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", Thu, 08 Jan 2015 00:08:27 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 26], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 00:08:27 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_assignment_id", "8"], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00], ["name", "test assignment"], ["submission_types", nil], ["updated_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.8ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 66' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 66' LIMIT 1[0m [1m[35mSQL (0.6ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:08:27 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", Thu, 08 Jan 2015 00:08:27 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.5ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 67' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 67' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "66"], ["created_at", Thu, 08 Jan 2015 00:08:27 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", Thu, 08 Jan 2015 00:08:27 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.7ms)[0m 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", Thu, 08 Jan 2015 00:08:27 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:08:27 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 (?, ?, ?, ?) [1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1 [1m[36m (0.8ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.2ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 68' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 68' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:08:27 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", Thu, 08 Jan 2015 00:08:27 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.4ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 69' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 69' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "68"], ["created_at", Thu, 08 Jan 2015 00:08:27 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", Thu, 08 Jan 2015 00:08:27 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.4ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 70' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 70' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:08:27 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", Thu, 08 Jan 2015 00:08:27 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00], ["email", "test15@test.com"], ["name", "Factory User 15"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m 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", Thu, 08 Jan 2015 00:08:27 UTC +00:00], ["email", "test16@test.com"], ["name", "Factory User 16"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 00:08:27 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 (?, ?, ?, ?, ?, ?, ?) [1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m [1m[35m (0.6ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 71' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 71' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "70"], ["created_at", Thu, 08 Jan 2015 00:08:27 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", Thu, 08 Jan 2015 00:08:27 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.4ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (58.5ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 72' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 72' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:08:27 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", Thu, 08 Jan 2015 00:08:27 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 73' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 73' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "72"], ["created_at", Thu, 08 Jan 2015 00:08:27 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", Thu, 08 Jan 2015 00:08:27 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 00:08:27 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 23], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::CanvasBatch Load (0.1ms)[0m SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" ORDER BY created_at ASC LIMIT 1 [1m[36m (0.9ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 74' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 74' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:08:27 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", Thu, 08 Jan 2015 00:08:27 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 75' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 75' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "74"], ["created_at", Thu, 08 Jan 2015 00:08:27 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", Thu, 08 Jan 2015 00:08:27 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 00:08:27 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 24], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.8ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 76' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 76' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "75"], ["created_at", Thu, 08 Jan 2015 00:08:27 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", Thu, 08 Jan 2015 00:08:27 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 77' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 77' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:08:27 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", Thu, 08 Jan 2015 00:08:27 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 30], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 00:08:27 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m UPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["status", "Started"], ["updated_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Section Load (0.2ms)[0m SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00], ["name", "Course1"], ["updated_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mUPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1[0m [["percent_complete", 14.3], ["updated_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::User Load (0.1ms)[0m [1mSELECT "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[0m [["coalescing_panda_lti_account_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00], ["name", "teacher@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::User Load (0.1ms)[0m [1mSELECT "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[0m [["coalescing_panda_lti_account_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00], ["name", "student1@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::User Load (0.1ms)[0m [1mSELECT "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[0m [["coalescing_panda_lti_account_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00], ["name", "student2@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 28.6], ["updated_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Enrollment Load (0.1ms)[0m SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '1') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36mCoalescingPanda::User Load (0.1ms)[0m [1mSELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '1' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1[0m [["coalescing_panda_lti_account_id", 1]] [1m[35mCoalescingPanda::Section Load (0.1ms)[0m SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "coalescing_panda_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"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Enrollment Load (0.1ms)[0m SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '2') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36mCoalescingPanda::User Load (0.1ms)[0m [1mSELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1[0m [["coalescing_panda_lti_account_id", 1]] [1m[35mCoalescingPanda::Section Load (0.0ms)[0m SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_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"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Enrollment Load (0.1ms)[0m SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '3') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36mCoalescingPanda::User Load (0.1ms)[0m [1mSELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1[0m [["coalescing_panda_lti_account_id", 1]] [1m[35mCoalescingPanda::Section Load (0.0ms)[0m SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_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"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mUPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1[0m [["percent_complete", 42.9], ["updated_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::Assignment Load (0.1ms)[0m [1mSELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "grade_group_students_individually", "name", "points_possible", "published", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_assignment_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 18:04:38 UTC +00:00], ["description", "What is your name?
"], ["grade_group_students_individually", false], ["name", "Gimme your name"], ["points_possible", 100.0], ["published", true], ["submission_types", "---\n- online_text_entry\n"], ["updated_at", Tue, 18 Nov 2014 18:04:42 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::Assignment Load (0.1ms)[0m [1mSELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "grade_group_students_individually", "name", "points_possible", "published", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_assignment_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 19:10:28 UTC +00:00], ["description", "What is your Favorite Color?
"], ["grade_group_students_individually", false], ["name", "Favorite Color"], ["points_possible", 100.0], ["published", true], ["submission_types", "---\n- online_text_entry\n"], ["updated_at", Tue, 18 Nov 2014 19:10:30 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 57.1], ["updated_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Assignment Load (0.1ms)[0m SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? [["coalescing_panda_course_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 71.4], ["updated_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Group Load (0.1ms)[0m SELECT "coalescing_panda_groups".* FROM "coalescing_panda_groups" WHERE "coalescing_panda_groups"."context_id" = ? AND "coalescing_panda_groups"."context_type" = ? AND (canvas_group_id = '4') ORDER BY "coalescing_panda_groups"."id" ASC LIMIT 1 [["context_id", 1], ["context_type", "CoalescingPanda::Course"]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "coalescing_panda_groups" ("canvas_group_id", "context_id", "context_type", "created_at", "group_category_id", "members_count", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_group_id", 4], ["context_id", 1], ["context_type", "CoalescingPanda::Course"], ["created_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00], ["group_category_id", 3], ["members_count", 2], ["name", "Student Group 1"], ["updated_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Group Load (0.1ms)[0m SELECT "coalescing_panda_groups".* FROM "coalescing_panda_groups" WHERE "coalescing_panda_groups"."context_id" = ? AND "coalescing_panda_groups"."context_type" = ? AND (canvas_group_id = '5') ORDER BY "coalescing_panda_groups"."id" ASC LIMIT 1 [["context_id", 1], ["context_type", "CoalescingPanda::Course"]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_groups" ("canvas_group_id", "context_id", "context_type", "created_at", "group_category_id", "members_count", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_group_id", 5], ["context_id", 1], ["context_type", "CoalescingPanda::Course"], ["created_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00], ["group_category_id", 3], ["members_count", 2], ["name", "Student Group 2"], ["updated_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mUPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1[0m [["percent_complete", 85.7], ["updated_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::Group Load (0.1ms)[0m [1mSELECT "coalescing_panda_groups".* FROM "coalescing_panda_groups" WHERE "coalescing_panda_groups"."context_id" = ? AND "coalescing_panda_groups"."context_type" = ?[0m [["context_id", 1], ["context_type", "CoalescingPanda::Course"]] [1m[35mCoalescingPanda::GroupMembership Load (0.2ms)[0m 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 (canvas_group_membership_id = '13') ORDER BY "coalescing_panda_group_memberships"."id" ASC LIMIT 1 [["context_id", 1], ["context_type", "CoalescingPanda::Course"]] [1m[36mCoalescingPanda::Group Load (0.1ms)[0m [1mSELECT "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" = '4' LIMIT 1[0m [["context_id", 1], ["context_type", "CoalescingPanda::Course"]] [1m[35mCoalescingPanda::User Load (0.1ms)[0m SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' LIMIT 1 [["coalescing_panda_lti_account_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "coalescing_panda_group_memberships" ("canvas_group_membership_id", "coalescing_panda_group_id", "coalescing_panda_user_id", "created_at", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?) [["canvas_group_membership_id", 13], ["coalescing_panda_group_id", 1], ["coalescing_panda_user_id", 2], ["created_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00], ["workflow_state", "accepted"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::GroupMembership Load (0.1ms)[0m 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 (canvas_group_membership_id = '14') ORDER BY "coalescing_panda_group_memberships"."id" ASC LIMIT 1 [["context_id", 1], ["context_type", "CoalescingPanda::Course"]] [1m[36mCoalescingPanda::Group Load (0.0ms)[0m [1mSELECT "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" = '4' LIMIT 1[0m [["context_id", 1], ["context_type", "CoalescingPanda::Course"]] [1m[35mCoalescingPanda::User Load (0.1ms)[0m SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' LIMIT 1 [["coalescing_panda_lti_account_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_group_memberships" ("canvas_group_membership_id", "coalescing_panda_group_id", "coalescing_panda_user_id", "created_at", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?) [["canvas_group_membership_id", 14], ["coalescing_panda_group_id", 1], ["coalescing_panda_user_id", 3], ["created_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00], ["workflow_state", "accepted"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::GroupMembership Load (0.0ms)[0m 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 (canvas_group_membership_id = '13') ORDER BY "coalescing_panda_group_memberships"."id" ASC LIMIT 1 [["context_id", 1], ["context_type", "CoalescingPanda::Course"]] [1m[36mCoalescingPanda::Group Load (0.1ms)[0m [1mSELECT "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" = '4' LIMIT 1[0m [["context_id", 1], ["context_type", "CoalescingPanda::Course"]] [1m[35mCoalescingPanda::User Load (0.1ms)[0m SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' LIMIT 1 [["coalescing_panda_lti_account_id", 1]] [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m UPDATE "coalescing_panda_group_memberships" SET "canvas_group_membership_id" = ?, "updated_at" = ? WHERE "coalescing_panda_group_memberships"."id" = 1 [["canvas_group_membership_id", 13], ["updated_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::GroupMembership Load (0.1ms)[0m 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 (canvas_group_membership_id = '14') ORDER BY "coalescing_panda_group_memberships"."id" ASC LIMIT 1 [["context_id", 1], ["context_type", "CoalescingPanda::Course"]] [1m[36mCoalescingPanda::Group Load (0.0ms)[0m [1mSELECT "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" = '4' LIMIT 1[0m [["context_id", 1], ["context_type", "CoalescingPanda::Course"]] [1m[35mCoalescingPanda::User Load (0.0ms)[0m SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' LIMIT 1 [["coalescing_panda_lti_account_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "coalescing_panda_group_memberships" SET "canvas_group_membership_id" = ?, "updated_at" = ? WHERE "coalescing_panda_group_memberships"."id" = 2 [["canvas_group_membership_id", 14], ["updated_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mUPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1[0m [["percent_complete", 100.0], ["updated_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["status", "Completed"], ["updated_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (2.0ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 78' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 78' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "77"], ["created_at", Thu, 08 Jan 2015 00:08:27 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", Thu, 08 Jan 2015 00:08:27 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 79' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 79' LIMIT 1[0m [1m[35mSQL (0.6ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:08:27 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", Thu, 08 Jan 2015 00:08:27 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 31], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 00:08:27 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (1.0ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 80' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 80' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:08:27 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", Thu, 08 Jan 2015 00:08:27 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 81' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 81' LIMIT 1 [1m[36mSQL (0.7ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "80"], ["created_at", Thu, 08 Jan 2015 00:08:27 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", Thu, 08 Jan 2015 00:08:27 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m 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", Thu, 08 Jan 2015 00:08:27 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 27], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mCoalescingPanda::Section Load (0.2ms)[0m SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 82' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 82' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:08:27 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", Thu, 08 Jan 2015 00:08:27 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 83' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 83' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "82"], ["created_at", Thu, 08 Jan 2015 00:08:27 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", Thu, 08 Jan 2015 00:08:27 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 00:08:27 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 28], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Section Load (0.0ms)[0m SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00], ["name", "Course1"], ["updated_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "coalescing_panda_sections" [1m[36m (0.8ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mCoalescingPanda::User Load (0.1ms)[0m [1mSELECT "coalescing_panda_users".* FROM "coalescing_panda_users"[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 84' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 84' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "83"], ["created_at", Thu, 08 Jan 2015 00:08:27 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", Thu, 08 Jan 2015 00:08:27 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 85' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 85' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:08:27 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", Thu, 08 Jan 2015 00:08:27 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 34], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 00:08:27 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::User Load (0.1ms)[0m [1mSELECT "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[0m [["coalescing_panda_lti_account_id", 1]] [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00], ["name", "teacher@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::User Load (0.0ms)[0m [1mSELECT "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[0m [["coalescing_panda_lti_account_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00], ["name", "student1@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::User Load (0.0ms)[0m [1mSELECT "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[0m [["coalescing_panda_lti_account_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00], ["name", "student2@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "coalescing_panda_users"[0m [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mCoalescingPanda::Enrollment Load (0.1ms)[0m SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 86' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 86' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:08:27 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", Thu, 08 Jan 2015 00:08:27 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 87' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 87' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "86"], ["created_at", Thu, 08 Jan 2015 00:08:27 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", Thu, 08 Jan 2015 00:08:27 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m 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", Thu, 08 Jan 2015 00:08:27 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 30], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Section Load (0.0ms)[0m SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00], ["name", "Course1"], ["updated_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::User Load (0.0ms)[0m 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]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00], ["name", "teacher@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::User Load (0.0ms)[0m 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]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00], ["name", "student1@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::User Load (0.0ms)[0m 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]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00], ["name", "student2@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Enrollment Load (0.0ms)[0m SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '1') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36mCoalescingPanda::User Load (0.1ms)[0m [1mSELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '1' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1[0m [["coalescing_panda_lti_account_id", 1]] [1m[35mCoalescingPanda::Section Load (0.0ms)[0m SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_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"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Enrollment Load (0.0ms)[0m SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '2') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36mCoalescingPanda::User Load (0.0ms)[0m [1mSELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1[0m [["coalescing_panda_lti_account_id", 1]] [1m[35mCoalescingPanda::Section Load (0.0ms)[0m SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_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"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Enrollment Load (0.0ms)[0m SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '3') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36mCoalescingPanda::User Load (0.0ms)[0m [1mSELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1[0m [["coalescing_panda_lti_account_id", 1]] [1m[35mCoalescingPanda::Section Load (0.1ms)[0m SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_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"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "coalescing_panda_enrollments" [1m[36mCoalescingPanda::Enrollment Load (0.1ms)[0m [1mSELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" ORDER BY "coalescing_panda_enrollments"."id" DESC LIMIT 1[0m [1m[35m (0.9ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mCoalescingPanda::Assignment Load (0.1ms)[0m SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 88' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 88' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:08:27 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", Thu, 08 Jan 2015 00:08:27 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 89' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 89' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "88"], ["created_at", Thu, 08 Jan 2015 00:08:27 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", Thu, 08 Jan 2015 00:08:27 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m 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", Thu, 08 Jan 2015 00:08:27 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 31], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Assignment Load (0.0ms)[0m SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "grade_group_students_individually", "name", "points_possible", "published", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 18:04:38 UTC +00:00], ["description", "What is your name?
"], ["grade_group_students_individually", false], ["name", "Gimme your name"], ["points_possible", 100.0], ["published", true], ["submission_types", "---\n- online_text_entry\n"], ["updated_at", Tue, 18 Nov 2014 18:04:42 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Assignment Load (0.0ms)[0m SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "grade_group_students_individually", "name", "points_possible", "published", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 19:10:28 UTC +00:00], ["description", "What is your Favorite Color?
"], ["grade_group_students_individually", false], ["name", "Favorite Color"], ["points_possible", 100.0], ["published", true], ["submission_types", "---\n- online_text_entry\n"], ["updated_at", Tue, 18 Nov 2014 19:10:30 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "coalescing_panda_assignments" [1m[36m (1.0ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mCoalescingPanda::Submission Load (0.2ms)[0m [1mSELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions"[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 90' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 90' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "89"], ["created_at", Thu, 08 Jan 2015 00:08:27 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", Thu, 08 Jan 2015 00:08:27 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 91' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 91' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:08:27 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", Thu, 08 Jan 2015 00:08:27 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 37], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 00:08:27 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::User Load (0.0ms)[0m [1mSELECT "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[0m [["coalescing_panda_lti_account_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00], ["name", "teacher@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::User Load (0.0ms)[0m [1mSELECT "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[0m [["coalescing_panda_lti_account_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00], ["name", "student1@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::User Load (0.0ms)[0m [1mSELECT "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[0m [["coalescing_panda_lti_account_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00], ["name", "student2@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::Assignment Load (0.0ms)[0m [1mSELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "grade_group_students_individually", "name", "points_possible", "published", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_assignment_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 18:04:38 UTC +00:00], ["description", "What is your name?
"], ["grade_group_students_individually", false], ["name", "Gimme your name"], ["points_possible", 100.0], ["published", true], ["submission_types", "---\n- online_text_entry\n"], ["updated_at", Tue, 18 Nov 2014 18:04:42 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::Assignment Load (0.0ms)[0m [1mSELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "grade_group_students_individually", "name", "points_possible", "published", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_assignment_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 19:10:28 UTC +00:00], ["description", "What is your Favorite Color?
"], ["grade_group_students_individually", false], ["name", "Favorite Color"], ["points_possible", 100.0], ["published", true], ["submission_types", "---\n- online_text_entry\n"], ["updated_at", Tue, 18 Nov 2014 19:10:30 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::Submission Load (0.2ms)[0m [1mSELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '3') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35mCoalescingPanda::User Load (0.0ms)[0m SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] [1m[36mCoalescingPanda::Assignment Load (0.1ms)[0m [1mSELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_submission_id", 3], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 3], ["created_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00], ["grade", "70"], ["score", 70], ["updated_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00], ["workflow_state", "graded"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::Submission Load (0.1ms)[0m [1mSELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '1') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35mCoalescingPanda::User Load (0.0ms)[0m SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] [1m[36mCoalescingPanda::Assignment Load (0.0ms)[0m [1mSELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_submission_id", 1], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 2], ["created_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00], ["grade", "100"], ["score", 100], ["updated_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00], ["workflow_state", "graded"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::Submission Load (0.1ms)[0m [1mSELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '4') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35mCoalescingPanda::User Load (0.0ms)[0m SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] [1m[36mCoalescingPanda::Assignment Load (0.1ms)[0m [1mSELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_submission_id", 4], ["coalescing_panda_assignment_id", 2], ["coalescing_panda_user_id", 3], ["created_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00], ["grade", "90"], ["score", 90], ["updated_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00], ["workflow_state", "graded"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::Submission Load (0.1ms)[0m [1mSELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '2') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35mCoalescingPanda::User Load (0.0ms)[0m SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] [1m[36mCoalescingPanda::Assignment Load (0.0ms)[0m [1mSELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_submission_id", 2], ["coalescing_panda_assignment_id", 2], ["coalescing_panda_user_id", 2], ["created_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00], ["grade", "80"], ["score", 80], ["updated_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00], ["workflow_state", "graded"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "coalescing_panda_submissions"[0m [1m[35m (0.8ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mCoalescingPanda::Group Load (0.2ms)[0m SELECT "coalescing_panda_groups".* FROM "coalescing_panda_groups" [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 92' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 92' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:08:27 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", Thu, 08 Jan 2015 00:08:27 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 93' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 93' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "92"], ["created_at", Thu, 08 Jan 2015 00:08:27 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", Thu, 08 Jan 2015 00:08:27 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 00:08:27 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 33], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Group Load (0.0ms)[0m SELECT "coalescing_panda_groups".* FROM "coalescing_panda_groups" WHERE "coalescing_panda_groups"."context_id" = ? AND "coalescing_panda_groups"."context_type" = ? AND (canvas_group_id = '4') ORDER BY "coalescing_panda_groups"."id" ASC LIMIT 1 [["context_id", 1], ["context_type", "CoalescingPanda::Course"]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_groups" ("canvas_group_id", "context_id", "context_type", "created_at", "group_category_id", "members_count", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_group_id", 4], ["context_id", 1], ["context_type", "CoalescingPanda::Course"], ["created_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00], ["group_category_id", 3], ["members_count", 2], ["name", "Student Group 1"], ["updated_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Group Load (0.0ms)[0m SELECT "coalescing_panda_groups".* FROM "coalescing_panda_groups" WHERE "coalescing_panda_groups"."context_id" = ? AND "coalescing_panda_groups"."context_type" = ? AND (canvas_group_id = '5') ORDER BY "coalescing_panda_groups"."id" ASC LIMIT 1 [["context_id", 1], ["context_type", "CoalescingPanda::Course"]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_groups" ("canvas_group_id", "context_id", "context_type", "created_at", "group_category_id", "members_count", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_group_id", 5], ["context_id", 1], ["context_type", "CoalescingPanda::Course"], ["created_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00], ["group_category_id", 3], ["members_count", 2], ["name", "Student Group 2"], ["updated_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "coalescing_panda_groups" [1m[36m (0.8ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 94' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 94' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:08:27 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", Thu, 08 Jan 2015 00:08:27 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 95' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 95' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "94"], ["created_at", Thu, 08 Jan 2015 00:08:27 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", Thu, 08 Jan 2015 00:08:27 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 00:08:27 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 34], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 96' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 96' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "95"], ["created_at", Thu, 08 Jan 2015 00:08:27 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", Thu, 08 Jan 2015 00:08:27 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 97' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 97' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:08:27 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", Thu, 08 Jan 2015 00:08:27 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 40], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 00:08:27 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.6ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.2ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 98' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 98' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:08:27 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", Thu, 08 Jan 2015 00:08:27 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 99' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 99' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "98"], ["created_at", Thu, 08 Jan 2015 00:08:27 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", Thu, 08 Jan 2015 00:08:27 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 00:08:27 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 36], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.9ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 100' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 100' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "99"], ["created_at", Thu, 08 Jan 2015 00:08:27 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", Thu, 08 Jan 2015 00:08:27 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 101' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 101' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:08:27 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", Thu, 08 Jan 2015 00:08:27 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 42], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 00:08:27 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (1.0ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 102' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 102' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:08:27 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", Thu, 08 Jan 2015 00:08:27 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 103' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 103' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "102"], ["created_at", Thu, 08 Jan 2015 00:08:27 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", Thu, 08 Jan 2015 00:08:27 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 00:08:27 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 38], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 104' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 104' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "103"], ["created_at", Thu, 08 Jan 2015 00:08:27 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", Thu, 08 Jan 2015 00:08:27 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 105' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 105' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:08:27 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", Thu, 08 Jan 2015 00:08:27 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 44], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 00:08:27 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.9ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.2ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 106' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 106' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:08:27 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", Thu, 08 Jan 2015 00:08:27 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 107' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 107' LIMIT 1 [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "106"], ["created_at", Thu, 08 Jan 2015 00:08:27 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", Thu, 08 Jan 2015 00:08:27 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m 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", Thu, 08 Jan 2015 00:08:27 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:08:27 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 40], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 00:08:28 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:08:28 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 00:08:28 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 00:08:28 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.9ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 108' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 108' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "107"], ["created_at", Thu, 08 Jan 2015 00:08:28 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", Thu, 08 Jan 2015 00:08:28 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 109' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 109' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:08:28 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", Thu, 08 Jan 2015 00:08:28 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 46], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:08:28 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:08:28 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 00:08:28 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:08:28 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Thu, 08 Jan 2015 00:08:28 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 00:08:28 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 110' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 110' LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:08:28 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", Thu, 08 Jan 2015 00:08:28 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 111' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 111' LIMIT 1 [1m[36mSQL (0.7ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "110"], ["created_at", Thu, 08 Jan 2015 00:08:28 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", Thu, 08 Jan 2015 00:08:28 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m 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", Thu, 08 Jan 2015 00:08:28 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:08:28 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 42], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 00:08:28 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:08:28 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 00:08:28 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 00:08:28 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (1.0ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 112' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 112' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "111"], ["created_at", Thu, 08 Jan 2015 00:08:28 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", Thu, 08 Jan 2015 00:08:28 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 113' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 113' LIMIT 1[0m [1m[35mSQL (0.6ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:08:28 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", Thu, 08 Jan 2015 00:08:28 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 48], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:08:28 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:08:28 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 00:08:28 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:08:28 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_section_id", 9], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 00:08:28 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:08:28 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 114' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 114' LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:08:28 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", Thu, 08 Jan 2015 00:08:28 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 115' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 115' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "114"], ["created_at", Thu, 08 Jan 2015 00:08:28 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", Thu, 08 Jan 2015 00:08:28 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m 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", 4], ["created_at", Thu, 08 Jan 2015 00:08:28 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:08:28 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 44], ["coalescing_panda_lti_account_id", 3], ["coalescing_panda_term_id", 2], ["created_at", Thu, 08 Jan 2015 00:08:28 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:08:28 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Course Load (0.1ms)[0m SELECT "coalescing_panda_courses".* FROM "coalescing_panda_courses" WHERE "coalescing_panda_courses"."id" = ? LIMIT 1 [["id", 2]] [1m[36mSQL (0.2ms)[0m [1mUPDATE "coalescing_panda_sections" SET "coalescing_panda_course_id" = ?, "updated_at" = ? WHERE "coalescing_panda_sections"."id" = 1[0m [["coalescing_panda_course_id", 2], ["updated_at", Thu, 08 Jan 2015 00:08:28 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 00:08:28 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 00:08:28 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 15], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 00:08:28 UTC +00:00], ["email", "test18@test.com"], ["name", "Factory User 18"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 00:08:28 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::User Load (0.1ms)[0m [1mSELECT "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[0m [["coalescing_panda_lti_account_id", 3]] [1m[35mCoalescingPanda::Section Load (0.1ms)[0m 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]] [1m[36m (0.8ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 116' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 116' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:08:28 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", Thu, 08 Jan 2015 00:08:28 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 117' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 117' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "116"], ["created_at", Thu, 08 Jan 2015 00:08:28 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", Thu, 08 Jan 2015 00:08:28 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 00:08:28 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:08:28 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 45], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 00:08:28 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:08:28 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 00:08:28 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 00:08:28 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 118' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 118' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "117"], ["created_at", Thu, 08 Jan 2015 00:08:28 UTC +00:00], ["key", "Key 118"], ["name", "Account 118"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 118"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Thu, 08 Jan 2015 00:08:28 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 119' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 119' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "118"], ["created_at", Thu, 08 Jan 2015 00:08:28 UTC +00:00], ["key", "Key 119"], ["name", "Account 119"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 119"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Thu, 08 Jan 2015 00:08:28 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 51], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:08:28 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:08:28 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 46], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 00:08:28 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:08:28 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_assignment_id", "9"], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 00:08:28 UTC +00:00], ["name", "test assignment"], ["submission_types", nil], ["updated_at", Thu, 08 Jan 2015 00:08:28 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 00:08:28 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 00:08:28 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 16], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 00:08:28 UTC +00:00], ["email", "test19@test.com"], ["name", "Factory User 19"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 00:08:28 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::User Load (0.2ms)[0m [1mSELECT "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[0m [["coalescing_panda_lti_account_id", 1]] [1m[35mCoalescingPanda::Assignment Load (0.1ms)[0m 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]] [1m[36m (1.0ms)[0m [1mrollback transaction[0m [1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m [1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations" [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m Processing by CoalescingPanda::LtiController#lti_config as HTML Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m Processing by CoalescingPanda::LtiController#lti_config as HTML Completed 500 Internal Server Error in 1ms [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m 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) [1m[35mCoalescingPanda::CanvasApiAuth Load (0.2ms)[0m 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 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction Processing by CoalescingPanda::Oauth2Controller#redirect as HTML Parameters: {"error"=>"your face"} Completed 200 OK in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "coalescing_panda_canvas_api_auths"[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 1' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 1' LIMIT 1 [1m[36mSQL (2.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "1"], ["created_at", Thu, 08 Jan 2015 00:09: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", Thu, 08 Jan 2015 00:09:25 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 2' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 2' LIMIT 1[0m [1m[35mSQL (1.2ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:09: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", Thu, 08 Jan 2015 00:09:25 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 1], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:09:25 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:09:25 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 00:09:25 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:09:25 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (1.3ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 3' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 3' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "3"], ["created_at", Thu, 08 Jan 2015 00:09: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", Thu, 08 Jan 2015 00:09:25 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 4' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 4' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:09: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", Thu, 08 Jan 2015 00:09:25 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 2], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:09:25 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:09:25 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 00:09:25 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:09:25 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 5' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 5' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "5"], ["created_at", Thu, 08 Jan 2015 00:09: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", Thu, 08 Jan 2015 00:09:25 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 6' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 6' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:09: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", Thu, 08 Jan 2015 00:09:25 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 3], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:09:25 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:09:25 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 00:09:25 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:09:25 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_assignment_id", "1"], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 00:09:25 UTC +00:00], ["name", "test assignment"], ["submission_types", nil], ["updated_at", Thu, 08 Jan 2015 00:09:25 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_assignment_id", "1"], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 00:09:25 UTC +00:00], ["name", "test assignment"], ["submission_types", nil], ["updated_at", Thu, 08 Jan 2015 00:09:25 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", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m [1m[35m (0.8ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 7' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 7' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "7"], ["created_at", Thu, 08 Jan 2015 00:09: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", Thu, 08 Jan 2015 00:09:25 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 8' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 8' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:09: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", Thu, 08 Jan 2015 00:09:25 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 4], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:09:25 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:09:25 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 00:09:25 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:09:25 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.8ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mCoalescingPanda::CanvasApiAuth Load (0.1ms)[0m SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" ORDER BY "coalescing_panda_canvas_api_auths"."id" ASC LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_panda_canvas_api_auths" ("created_at", "updated_at", "user_id") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 00:09:25 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:09:25 UTC +00:00], ["user_id", "a"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::CanvasApiAuth Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1 [1m[36mCoalescingPanda::CanvasApiAuth Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1[0m [1m[35mCoalescingPanda::CanvasApiAuth Load (0.1ms)[0m SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" [1m[36mCoalescingPanda::CanvasApiAuth Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" = '1') LIMIT 1[0m [1m[35mCoalescingPanda::CanvasApiAuth Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" = '1') LIMIT 1 [1m[36m (0.4ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mCoalescingPanda::CanvasApiAuth Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1[0m [1m[35mCoalescingPanda::CanvasApiAuth Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mCoalescingPanda::CanvasApiAuth Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1[0m [1m[35mCoalescingPanda::CanvasApiAuth Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1 [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 00:09:25 UTC +00:00], ["status", "Pending"], ["updated_at", Thu, 08 Jan 2015 00:09:25 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Thu, 08 Jan 2015 00:09:25 UTC +00:00], ["status", "Pending"], ["updated_at", Thu, 08 Jan 2015 00:09:25 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 00:09:25 UTC +00:00], ["status", "Pending"], ["updated_at", Thu, 08 Jan 2015 00:09:25 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::CanvasBatch Load (0.1ms)[0m SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" ORDER BY created_at DESC [1m[36m (0.6ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 9' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 9' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:09: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", Thu, 08 Jan 2015 00:09:25 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 10' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 10' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "10"], ["created_at", Thu, 08 Jan 2015 00:09: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", Thu, 08 Jan 2015 00:09:25 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 00:09:25 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:09:25 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.6ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 11' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 11' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "11"], ["created_at", Thu, 08 Jan 2015 00:09: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", Thu, 08 Jan 2015 00:09:25 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 12' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 12' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:09: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", Thu, 08 Jan 2015 00:09:25 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 6], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:09:25 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:09:25 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 13' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 13' LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:09: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", Thu, 08 Jan 2015 00:09:25 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 14' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 14' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "14"], ["created_at", Thu, 08 Jan 2015 00:09: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", Thu, 08 Jan 2015 00:09:25 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 00:09:25 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:09:25 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 00:09:25 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:09:25 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 15' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 15' LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:09: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", Thu, 08 Jan 2015 00:09:25 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 8], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 00:09:25 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:09:25 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 00:09:25 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:09:25 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 (?, ?, ?, ?, ?, ?) [1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 16' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 16' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "16"], ["created_at", Thu, 08 Jan 2015 00:09: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", Thu, 08 Jan 2015 00:09:25 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.5ms)[0m 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", Thu, 08 Jan 2015 00:09:25 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:09:25 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 17' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 17' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "17"], ["created_at", Thu, 08 Jan 2015 00:09: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", Thu, 08 Jan 2015 00:09:25 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 00:09:25 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:09:25 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 18' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 18' LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "18"], ["created_at", Thu, 08 Jan 2015 00:09: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", Thu, 08 Jan 2015 00:09:25 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 00:09:25 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:09:25 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 (?, ?, ?, ?, ?, ?) [1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m [1m[35m (0.6ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 19' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 19' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "19"], ["created_at", Thu, 08 Jan 2015 00:09: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", Thu, 08 Jan 2015 00:09:25 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 20' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 20' LIMIT 1[0m [1m[35mSQL (0.6ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:09: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", Thu, 08 Jan 2015 00:09:25 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 10], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:09:25 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:09:25 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.5ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 21' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 21' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:09: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", Thu, 08 Jan 2015 00:09:25 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.7ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 00:09:25 UTC +00:00], ["email", "test1@test.com"], ["name", "Factory User 1"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 00:09:25 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 22' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 22' LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:09: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", Thu, 08 Jan 2015 00:09:25 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 23' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 23' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "23"], ["created_at", Thu, 08 Jan 2015 00:09: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", Thu, 08 Jan 2015 00:09:25 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 00:09:25 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:09:25 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 7], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 00:09:25 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:09:25 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m 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", Thu, 08 Jan 2015 00:09:25 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:09:25 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.8ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 24' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 24' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "24"], ["created_at", Thu, 08 Jan 2015 00:09:26 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", Thu, 08 Jan 2015 00:09:26 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.6ms)[0m 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", Thu, 08 Jan 2015 00:09:26 UTC +00:00], ["email", "test2@test.com"], ["name", "Factory User 2"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 25' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 25' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "25"], ["created_at", Thu, 08 Jan 2015 00:09:26 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", Thu, 08 Jan 2015 00:09:26 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 26' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 26' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:09:26 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", Thu, 08 Jan 2015 00:09:26 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 12], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 00:09:26 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_section_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 27' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 27' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:09:26 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", Thu, 08 Jan 2015 00:09:26 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00], ["email", "test3@test.com"], ["name", "Factory User 3"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 28' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 28' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:09:26 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", Thu, 08 Jan 2015 00:09:26 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 29' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 29' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "29"], ["created_at", Thu, 08 Jan 2015 00:09:26 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", Thu, 08 Jan 2015 00:09:26 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m 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", Thu, 08 Jan 2015 00:09:26 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 9], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m 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", Thu, 08 Jan 2015 00:09:26 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 30' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 30' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "30"], ["created_at", Thu, 08 Jan 2015 00:09:26 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", Thu, 08 Jan 2015 00:09:26 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.5ms)[0m 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", Thu, 08 Jan 2015 00:09:26 UTC +00:00], ["email", "test4@test.com"], ["name", "Factory User 4"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 31' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 31' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "31"], ["created_at", Thu, 08 Jan 2015 00:09:26 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", Thu, 08 Jan 2015 00:09:26 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 32' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 32' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:09:26 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", Thu, 08 Jan 2015 00:09:26 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 14], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 00:09:26 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_section_id", 4], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m 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", Thu, 08 Jan 2015 00:09:26 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_enrollment_id", 4], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Thu, 08 Jan 2015 00:09:26 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 (?, ?, ?, ?, ?, ?) [1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1 [1m[36m (1.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 33' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 33' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:09:26 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", Thu, 08 Jan 2015 00:09:26 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.9ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 5], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00], ["email", "test5@test.com"], ["name", "Factory User 5"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 34' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 34' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:09:26 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", Thu, 08 Jan 2015 00:09:26 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 35' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 35' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "35"], ["created_at", Thu, 08 Jan 2015 00:09:26 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", Thu, 08 Jan 2015 00:09:26 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 00:09:26 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 11], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 00:09:26 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_enrollment_id", 5], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m 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", Thu, 08 Jan 2015 00:09:26 UTC +00:00], ["enrollment_type", "TeacherEnrollment"], ["updated_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (1.0ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 36' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 36' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "36"], ["created_at", Thu, 08 Jan 2015 00:09:26 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", Thu, 08 Jan 2015 00:09:26 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.5ms)[0m 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", Thu, 08 Jan 2015 00:09:26 UTC +00:00], ["email", "test6@test.com"], ["name", "Factory User 6"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 37' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 37' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "37"], ["created_at", Thu, 08 Jan 2015 00:09:26 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", Thu, 08 Jan 2015 00:09:26 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 38' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 38' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:09:26 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", Thu, 08 Jan 2015 00:09:26 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 16], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 00:09:26 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_section_id", 6], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.9ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 39' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 39' LIMIT 1 [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 40' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 40' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:09:26 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", Thu, 08 Jan 2015 00:09:26 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 41' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 41' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "40"], ["created_at", Thu, 08 Jan 2015 00:09:26 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", Thu, 08 Jan 2015 00:09:26 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 00:09:26 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 13], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 42' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 42' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:09:26 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", Thu, 08 Jan 2015 00:09:26 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 43' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 43' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "42"], ["created_at", Thu, 08 Jan 2015 00:09:26 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", Thu, 08 Jan 2015 00:09:26 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 00:09:26 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 14], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.6ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 44' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 44' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:09:26 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", Thu, 08 Jan 2015 00:09:26 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 45' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 45' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "44"], ["created_at", Thu, 08 Jan 2015 00:09:26 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", Thu, 08 Jan 2015 00:09:26 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 00:09:26 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 15], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m 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", Thu, 08 Jan 2015 00:09:26 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_section_id", "1"], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:09:26 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 (?, ?, ?, ?) [1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1 [1m[36m (0.9ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 46' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 46' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:09:26 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", Thu, 08 Jan 2015 00:09:26 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 47' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 47' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "46"], ["created_at", Thu, 08 Jan 2015 00:09:26 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", Thu, 08 Jan 2015 00:09:26 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 00:09:26 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 16], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 48' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 48' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:09:26 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", Thu, 08 Jan 2015 00:09:26 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 7], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00], ["email", "test7@test.com"], ["name", "Factory User 7"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 49' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 49' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:09:26 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", Thu, 08 Jan 2015 00:09:26 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 50' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 50' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "49"], ["created_at", Thu, 08 Jan 2015 00:09:26 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", Thu, 08 Jan 2015 00:09:26 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 00:09:26 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 17], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_assignment_id", "3"], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00], ["name", "test assignment"], ["submission_types", nil], ["updated_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.9ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 51' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 51' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "50"], ["created_at", Thu, 08 Jan 2015 00:09:26 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", Thu, 08 Jan 2015 00:09:26 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.6ms)[0m 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", Thu, 08 Jan 2015 00:09:26 UTC +00:00], ["email", "test8@test.com"], ["name", "Factory User 8"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 52' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 52' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "51"], ["created_at", Thu, 08 Jan 2015 00:09:26 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", Thu, 08 Jan 2015 00:09:26 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 53' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 53' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:09:26 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", Thu, 08 Jan 2015 00:09:26 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 22], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 00:09:26 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_assignment_id", "4"], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00], ["name", "test assignment"], ["submission_types", nil], ["updated_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 54' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 54' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:09:26 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", Thu, 08 Jan 2015 00:09:26 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.8ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 9], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00], ["email", "test9@test.com"], ["name", "Factory User 9"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 55' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 55' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:09:26 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", Thu, 08 Jan 2015 00:09:26 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 56' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 56' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "55"], ["created_at", Thu, 08 Jan 2015 00:09:26 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", Thu, 08 Jan 2015 00:09:26 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m 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", Thu, 08 Jan 2015 00:09:26 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 19], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_assignment_id", "5"], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00], ["name", "test assignment"], ["submission_types", nil], ["updated_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 57' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 57' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "56"], ["created_at", Thu, 08 Jan 2015 00:09:26 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", Thu, 08 Jan 2015 00:09:26 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.6ms)[0m 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", Thu, 08 Jan 2015 00:09:26 UTC +00:00], ["email", "test10@test.com"], ["name", "Factory User 10"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 58' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 58' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "57"], ["created_at", Thu, 08 Jan 2015 00:09:26 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", Thu, 08 Jan 2015 00:09:26 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 59' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 59' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:09:26 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", Thu, 08 Jan 2015 00:09:26 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 24], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 00:09:26 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_assignment_id", "6"], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00], ["name", "test assignment"], ["submission_types", nil], ["updated_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m 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", Thu, 08 Jan 2015 00:09:26 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["canvas_submission_id", "1"], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:09:26 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 (?, ?, ?, ?, ?) [1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1 [1m[36m (0.9ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 60' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 60' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:09:26 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", Thu, 08 Jan 2015 00:09:26 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 11], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00], ["email", "test11@test.com"], ["name", "Factory User 11"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 61' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 61' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:09:26 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", Thu, 08 Jan 2015 00:09:26 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 62' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 62' LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "61"], ["created_at", Thu, 08 Jan 2015 00:09:26 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", Thu, 08 Jan 2015 00:09:26 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m 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", Thu, 08 Jan 2015 00:09:26 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 21], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_assignment_id", "7"], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00], ["name", "test assignment"], ["submission_types", nil], ["updated_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["canvas_submission_id", "1"], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m 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", Thu, 08 Jan 2015 00:09:26 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.9ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 63' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 63' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "62"], ["created_at", Thu, 08 Jan 2015 00:09:26 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", Thu, 08 Jan 2015 00:09:26 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.5ms)[0m 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", Thu, 08 Jan 2015 00:09:26 UTC +00:00], ["email", "test12@test.com"], ["name", "Factory User 12"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 64' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 64' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "63"], ["created_at", Thu, 08 Jan 2015 00:09:26 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", Thu, 08 Jan 2015 00:09:26 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 65' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 65' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:09:26 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", Thu, 08 Jan 2015 00:09:26 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 26], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 00:09:26 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_assignment_id", "8"], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00], ["name", "test assignment"], ["submission_types", nil], ["updated_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 66' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 66' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:09:26 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", Thu, 08 Jan 2015 00:09:26 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.4ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 67' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 67' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "66"], ["created_at", Thu, 08 Jan 2015 00:09:26 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", Thu, 08 Jan 2015 00:09:26 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.6ms)[0m 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", Thu, 08 Jan 2015 00:09:26 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:09:26 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 (?, ?, ?, ?) [1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1 [1m[36m (0.6ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 68' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 68' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:09:26 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", Thu, 08 Jan 2015 00:09:26 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.4ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 69' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 69' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "68"], ["created_at", Thu, 08 Jan 2015 00:09:26 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", Thu, 08 Jan 2015 00:09:26 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.5ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 70' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 70' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:09:26 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", Thu, 08 Jan 2015 00:09:26 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.7ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00], ["email", "test15@test.com"], ["name", "Factory User 15"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m 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", Thu, 08 Jan 2015 00:09:26 UTC +00:00], ["email", "test16@test.com"], ["name", "Factory User 16"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 00:09:26 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 (?, ?, ?, ?, ?, ?, ?) [1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m [1m[35m (0.6ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 71' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 71' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "70"], ["created_at", Thu, 08 Jan 2015 00:09:26 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", Thu, 08 Jan 2015 00:09:26 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.3ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (52.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 72' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 72' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:09:26 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", Thu, 08 Jan 2015 00:09:26 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 73' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 73' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "72"], ["created_at", Thu, 08 Jan 2015 00:09:26 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", Thu, 08 Jan 2015 00:09:26 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m 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", Thu, 08 Jan 2015 00:09:26 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 23], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::CanvasBatch Load (0.1ms)[0m SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" ORDER BY created_at ASC LIMIT 1 [1m[36m (0.8ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 74' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 74' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:09:26 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", Thu, 08 Jan 2015 00:09:26 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 75' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 75' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "74"], ["created_at", Thu, 08 Jan 2015 00:09:26 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", Thu, 08 Jan 2015 00:09:26 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 00:09:26 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 24], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.9ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 76' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 76' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "75"], ["created_at", Thu, 08 Jan 2015 00:09:26 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", Thu, 08 Jan 2015 00:09:26 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 77' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 77' LIMIT 1[0m [1m[35mSQL (0.7ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:09:26 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", Thu, 08 Jan 2015 00:09:26 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 30], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 00:09:26 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m UPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["status", "Started"], ["updated_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Section Load (0.2ms)[0m SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00], ["name", "Course1"], ["updated_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mUPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1[0m [["percent_complete", 14.3], ["updated_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::User Load (0.1ms)[0m [1mSELECT "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[0m [["coalescing_panda_lti_account_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00], ["name", "teacher@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::User Load (0.1ms)[0m [1mSELECT "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[0m [["coalescing_panda_lti_account_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00], ["name", "student1@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::User Load (0.1ms)[0m [1mSELECT "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[0m [["coalescing_panda_lti_account_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00], ["name", "student2@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 28.6], ["updated_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Enrollment Load (0.1ms)[0m SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '1') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36mCoalescingPanda::User Load (0.1ms)[0m [1mSELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '1' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1[0m [["coalescing_panda_lti_account_id", 1]] [1m[35mCoalescingPanda::Section Load (0.1ms)[0m SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "coalescing_panda_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"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Enrollment Load (0.1ms)[0m SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '2') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36mCoalescingPanda::User Load (0.1ms)[0m [1mSELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1[0m [["coalescing_panda_lti_account_id", 1]] [1m[35mCoalescingPanda::Section Load (0.0ms)[0m SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_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"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Enrollment Load (0.1ms)[0m SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '3') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36mCoalescingPanda::User Load (0.1ms)[0m [1mSELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1[0m [["coalescing_panda_lti_account_id", 1]] [1m[35mCoalescingPanda::Section Load (0.0ms)[0m SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_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"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mUPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1[0m [["percent_complete", 42.9], ["updated_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::Assignment Load (0.1ms)[0m [1mSELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "grade_group_students_individually", "name", "points_possible", "published", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_assignment_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 18:04:38 UTC +00:00], ["description", "What is your name?
"], ["grade_group_students_individually", false], ["name", "Gimme your name"], ["points_possible", 100.0], ["published", true], ["submission_types", "---\n- online_text_entry\n"], ["updated_at", Tue, 18 Nov 2014 18:04:42 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::Assignment Load (0.2ms)[0m [1mSELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "grade_group_students_individually", "name", "points_possible", "published", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_assignment_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 19:10:28 UTC +00:00], ["description", "What is your Favorite Color?
"], ["grade_group_students_individually", false], ["name", "Favorite Color"], ["points_possible", 100.0], ["published", true], ["submission_types", "---\n- online_text_entry\n"], ["updated_at", Tue, 18 Nov 2014 19:10:30 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 57.1], ["updated_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Assignment Load (0.1ms)[0m SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? [["coalescing_panda_course_id", 1]] [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 71.4], ["updated_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Group Load (0.1ms)[0m SELECT "coalescing_panda_groups".* FROM "coalescing_panda_groups" WHERE "coalescing_panda_groups"."context_id" = ? AND "coalescing_panda_groups"."context_type" = ? AND (canvas_group_id = '4') ORDER BY "coalescing_panda_groups"."id" ASC LIMIT 1 [["context_id", 1], ["context_type", "CoalescingPanda::Course"]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "coalescing_panda_groups" ("canvas_group_id", "context_id", "context_type", "created_at", "group_category_id", "members_count", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_group_id", 4], ["context_id", 1], ["context_type", "CoalescingPanda::Course"], ["created_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00], ["group_category_id", 3], ["members_count", 2], ["name", "Student Group 1"], ["updated_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Group Load (0.1ms)[0m SELECT "coalescing_panda_groups".* FROM "coalescing_panda_groups" WHERE "coalescing_panda_groups"."context_id" = ? AND "coalescing_panda_groups"."context_type" = ? AND (canvas_group_id = '5') ORDER BY "coalescing_panda_groups"."id" ASC LIMIT 1 [["context_id", 1], ["context_type", "CoalescingPanda::Course"]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_groups" ("canvas_group_id", "context_id", "context_type", "created_at", "group_category_id", "members_count", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_group_id", 5], ["context_id", 1], ["context_type", "CoalescingPanda::Course"], ["created_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00], ["group_category_id", 3], ["members_count", 2], ["name", "Student Group 2"], ["updated_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mUPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1[0m [["percent_complete", 85.7], ["updated_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::Group Load (0.1ms)[0m [1mSELECT "coalescing_panda_groups".* FROM "coalescing_panda_groups" WHERE "coalescing_panda_groups"."context_id" = ? AND "coalescing_panda_groups"."context_type" = ?[0m [["context_id", 1], ["context_type", "CoalescingPanda::Course"]] [1m[35mCoalescingPanda::GroupMembership Load (0.1ms)[0m 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 (canvas_group_membership_id = '13') ORDER BY "coalescing_panda_group_memberships"."id" ASC LIMIT 1 [["context_id", 1], ["context_type", "CoalescingPanda::Course"]] [1m[36mCoalescingPanda::Group Load (0.1ms)[0m [1mSELECT "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" = '4' LIMIT 1[0m [["context_id", 1], ["context_type", "CoalescingPanda::Course"]] [1m[35mCoalescingPanda::User Load (0.1ms)[0m SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' LIMIT 1 [["coalescing_panda_lti_account_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "coalescing_panda_group_memberships" ("canvas_group_membership_id", "coalescing_panda_group_id", "coalescing_panda_user_id", "created_at", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?) [["canvas_group_membership_id", 13], ["coalescing_panda_group_id", 1], ["coalescing_panda_user_id", 2], ["created_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00], ["workflow_state", "accepted"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::GroupMembership Load (0.1ms)[0m 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 (canvas_group_membership_id = '14') ORDER BY "coalescing_panda_group_memberships"."id" ASC LIMIT 1 [["context_id", 1], ["context_type", "CoalescingPanda::Course"]] [1m[36mCoalescingPanda::Group Load (0.0ms)[0m [1mSELECT "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" = '4' LIMIT 1[0m [["context_id", 1], ["context_type", "CoalescingPanda::Course"]] [1m[35mCoalescingPanda::User Load (0.1ms)[0m SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' LIMIT 1 [["coalescing_panda_lti_account_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_group_memberships" ("canvas_group_membership_id", "coalescing_panda_group_id", "coalescing_panda_user_id", "created_at", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?) [["canvas_group_membership_id", 14], ["coalescing_panda_group_id", 1], ["coalescing_panda_user_id", 3], ["created_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00], ["workflow_state", "accepted"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::GroupMembership Load (0.0ms)[0m 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 (canvas_group_membership_id = '13') ORDER BY "coalescing_panda_group_memberships"."id" ASC LIMIT 1 [["context_id", 1], ["context_type", "CoalescingPanda::Course"]] [1m[36mCoalescingPanda::Group Load (0.1ms)[0m [1mSELECT "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" = '4' LIMIT 1[0m [["context_id", 1], ["context_type", "CoalescingPanda::Course"]] [1m[35mCoalescingPanda::User Load (0.0ms)[0m SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' LIMIT 1 [["coalescing_panda_lti_account_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m UPDATE "coalescing_panda_group_memberships" SET "canvas_group_membership_id" = ?, "updated_at" = ? WHERE "coalescing_panda_group_memberships"."id" = 1 [["canvas_group_membership_id", 13], ["updated_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::GroupMembership Load (0.0ms)[0m 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 (canvas_group_membership_id = '14') ORDER BY "coalescing_panda_group_memberships"."id" ASC LIMIT 1 [["context_id", 1], ["context_type", "CoalescingPanda::Course"]] [1m[36mCoalescingPanda::Group Load (0.0ms)[0m [1mSELECT "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" = '4' LIMIT 1[0m [["context_id", 1], ["context_type", "CoalescingPanda::Course"]] [1m[35mCoalescingPanda::User Load (0.0ms)[0m SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' LIMIT 1 [["coalescing_panda_lti_account_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "coalescing_panda_group_memberships" SET "canvas_group_membership_id" = ?, "updated_at" = ? WHERE "coalescing_panda_group_memberships"."id" = 2 [["canvas_group_membership_id", 14], ["updated_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mUPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1[0m [["percent_complete", 100.0], ["updated_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["status", "Completed"], ["updated_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (1.3ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 78' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 78' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "77"], ["created_at", Thu, 08 Jan 2015 00:09:26 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", Thu, 08 Jan 2015 00:09:26 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 79' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 79' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:09:26 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", Thu, 08 Jan 2015 00:09:26 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 31], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 00:09:26 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 80' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 80' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:09:26 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", Thu, 08 Jan 2015 00:09:26 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 81' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 81' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "80"], ["created_at", Thu, 08 Jan 2015 00:09:26 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", Thu, 08 Jan 2015 00:09:26 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 00:09:26 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 27], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mCoalescingPanda::Section Load (0.1ms)[0m SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 82' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 82' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:09:26 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", Thu, 08 Jan 2015 00:09:26 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 83' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 83' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "82"], ["created_at", Thu, 08 Jan 2015 00:09:26 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", Thu, 08 Jan 2015 00:09:26 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 00:09:26 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 28], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Section Load (0.0ms)[0m SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00], ["name", "Course1"], ["updated_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "coalescing_panda_sections" [1m[36m (0.6ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mCoalescingPanda::User Load (0.3ms)[0m [1mSELECT "coalescing_panda_users".* FROM "coalescing_panda_users"[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 84' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 84' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "83"], ["created_at", Thu, 08 Jan 2015 00:09:26 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", Thu, 08 Jan 2015 00:09:26 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 85' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 85' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:09:26 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", Thu, 08 Jan 2015 00:09:26 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 34], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 00:09:26 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::User Load (0.0ms)[0m [1mSELECT "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[0m [["coalescing_panda_lti_account_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00], ["name", "teacher@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::User Load (0.0ms)[0m [1mSELECT "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[0m [["coalescing_panda_lti_account_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00], ["name", "student1@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::User Load (0.0ms)[0m [1mSELECT "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[0m [["coalescing_panda_lti_account_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00], ["name", "student2@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "coalescing_panda_users"[0m [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mCoalescingPanda::Enrollment Load (0.1ms)[0m SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 86' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 86' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:09:26 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", Thu, 08 Jan 2015 00:09:26 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 87' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 87' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "86"], ["created_at", Thu, 08 Jan 2015 00:09:26 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", Thu, 08 Jan 2015 00:09:26 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 00:09:26 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 30], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Section Load (0.0ms)[0m SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00], ["name", "Course1"], ["updated_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::User Load (0.0ms)[0m 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]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00], ["name", "teacher@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::User Load (0.0ms)[0m 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]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00], ["name", "student1@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::User Load (0.0ms)[0m 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]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00], ["name", "student2@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Enrollment Load (0.0ms)[0m SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '1') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36mCoalescingPanda::User Load (0.0ms)[0m [1mSELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '1' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1[0m [["coalescing_panda_lti_account_id", 1]] [1m[35mCoalescingPanda::Section Load (0.0ms)[0m SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "coalescing_panda_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"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Enrollment Load (0.0ms)[0m SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '2') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36mCoalescingPanda::User Load (0.0ms)[0m [1mSELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1[0m [["coalescing_panda_lti_account_id", 1]] [1m[35mCoalescingPanda::Section Load (0.0ms)[0m SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_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"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Enrollment Load (0.0ms)[0m SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '3') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36mCoalescingPanda::User Load (0.0ms)[0m [1mSELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1[0m [["coalescing_panda_lti_account_id", 1]] [1m[35mCoalescingPanda::Section Load (0.0ms)[0m SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_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"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "coalescing_panda_enrollments" [1m[36mCoalescingPanda::Enrollment Load (0.1ms)[0m [1mSELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" ORDER BY "coalescing_panda_enrollments"."id" DESC LIMIT 1[0m [1m[35m (0.9ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mCoalescingPanda::Assignment Load (0.2ms)[0m SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 88' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 88' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:09:26 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", Thu, 08 Jan 2015 00:09:26 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 89' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 89' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "88"], ["created_at", Thu, 08 Jan 2015 00:09:26 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", Thu, 08 Jan 2015 00:09:26 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 00:09:26 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 31], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Assignment Load (0.0ms)[0m SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "grade_group_students_individually", "name", "points_possible", "published", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 18:04:38 UTC +00:00], ["description", "What is your name?
"], ["grade_group_students_individually", false], ["name", "Gimme your name"], ["points_possible", 100.0], ["published", true], ["submission_types", "---\n- online_text_entry\n"], ["updated_at", Tue, 18 Nov 2014 18:04:42 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Assignment Load (0.0ms)[0m SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "grade_group_students_individually", "name", "points_possible", "published", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 19:10:28 UTC +00:00], ["description", "What is your Favorite Color?
"], ["grade_group_students_individually", false], ["name", "Favorite Color"], ["points_possible", 100.0], ["published", true], ["submission_types", "---\n- online_text_entry\n"], ["updated_at", Tue, 18 Nov 2014 19:10:30 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "coalescing_panda_assignments" [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mCoalescingPanda::Submission Load (0.2ms)[0m [1mSELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions"[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 90' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 90' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "89"], ["created_at", Thu, 08 Jan 2015 00:09:26 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", Thu, 08 Jan 2015 00:09:26 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 91' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 91' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:09:26 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", Thu, 08 Jan 2015 00:09:26 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 37], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 00:09:26 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::User Load (0.0ms)[0m [1mSELECT "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[0m [["coalescing_panda_lti_account_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00], ["name", "teacher@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::User Load (0.0ms)[0m [1mSELECT "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[0m [["coalescing_panda_lti_account_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00], ["name", "student1@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::User Load (0.0ms)[0m [1mSELECT "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[0m [["coalescing_panda_lti_account_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00], ["name", "student2@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::Assignment Load (0.0ms)[0m [1mSELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "grade_group_students_individually", "name", "points_possible", "published", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_assignment_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 18:04:38 UTC +00:00], ["description", "What is your name?
"], ["grade_group_students_individually", false], ["name", "Gimme your name"], ["points_possible", 100.0], ["published", true], ["submission_types", "---\n- online_text_entry\n"], ["updated_at", Tue, 18 Nov 2014 18:04:42 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::Assignment Load (0.0ms)[0m [1mSELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "grade_group_students_individually", "name", "points_possible", "published", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_assignment_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 19:10:28 UTC +00:00], ["description", "What is your Favorite Color?
"], ["grade_group_students_individually", false], ["name", "Favorite Color"], ["points_possible", 100.0], ["published", true], ["submission_types", "---\n- online_text_entry\n"], ["updated_at", Tue, 18 Nov 2014 19:10:30 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::Submission Load (0.2ms)[0m [1mSELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '3') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35mCoalescingPanda::User Load (0.2ms)[0m SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] [1m[36mCoalescingPanda::Assignment Load (0.1ms)[0m [1mSELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_submission_id", 3], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 3], ["created_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00], ["grade", "70"], ["score", 70], ["updated_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00], ["workflow_state", "graded"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::Submission Load (0.1ms)[0m [1mSELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '1') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35mCoalescingPanda::User Load (0.0ms)[0m SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] [1m[36mCoalescingPanda::Assignment Load (0.0ms)[0m [1mSELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_submission_id", 1], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 2], ["created_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00], ["grade", "100"], ["score", 100], ["updated_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00], ["workflow_state", "graded"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::Submission Load (0.1ms)[0m [1mSELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '4') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35mCoalescingPanda::User Load (0.0ms)[0m SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] [1m[36mCoalescingPanda::Assignment Load (0.1ms)[0m [1mSELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_submission_id", 4], ["coalescing_panda_assignment_id", 2], ["coalescing_panda_user_id", 3], ["created_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00], ["grade", "90"], ["score", 90], ["updated_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00], ["workflow_state", "graded"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::Submission Load (0.1ms)[0m [1mSELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '2') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35mCoalescingPanda::User Load (0.0ms)[0m SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] [1m[36mCoalescingPanda::Assignment Load (0.0ms)[0m [1mSELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_submission_id", 2], ["coalescing_panda_assignment_id", 2], ["coalescing_panda_user_id", 2], ["created_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00], ["grade", "80"], ["score", 80], ["updated_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00], ["workflow_state", "graded"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "coalescing_panda_submissions"[0m [1m[35m (0.8ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mCoalescingPanda::Group Load (0.1ms)[0m SELECT "coalescing_panda_groups".* FROM "coalescing_panda_groups" [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 92' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 92' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:09:26 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", Thu, 08 Jan 2015 00:09:26 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 93' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 93' LIMIT 1 [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "92"], ["created_at", Thu, 08 Jan 2015 00:09:26 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", Thu, 08 Jan 2015 00:09:26 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m 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", Thu, 08 Jan 2015 00:09:26 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 33], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Group Load (0.0ms)[0m SELECT "coalescing_panda_groups".* FROM "coalescing_panda_groups" WHERE "coalescing_panda_groups"."context_id" = ? AND "coalescing_panda_groups"."context_type" = ? AND (canvas_group_id = '4') ORDER BY "coalescing_panda_groups"."id" ASC LIMIT 1 [["context_id", 1], ["context_type", "CoalescingPanda::Course"]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_groups" ("canvas_group_id", "context_id", "context_type", "created_at", "group_category_id", "members_count", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_group_id", 4], ["context_id", 1], ["context_type", "CoalescingPanda::Course"], ["created_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00], ["group_category_id", 3], ["members_count", 2], ["name", "Student Group 1"], ["updated_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Group Load (0.0ms)[0m SELECT "coalescing_panda_groups".* FROM "coalescing_panda_groups" WHERE "coalescing_panda_groups"."context_id" = ? AND "coalescing_panda_groups"."context_type" = ? AND (canvas_group_id = '5') ORDER BY "coalescing_panda_groups"."id" ASC LIMIT 1 [["context_id", 1], ["context_type", "CoalescingPanda::Course"]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_groups" ("canvas_group_id", "context_id", "context_type", "created_at", "group_category_id", "members_count", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_group_id", 5], ["context_id", 1], ["context_type", "CoalescingPanda::Course"], ["created_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00], ["group_category_id", 3], ["members_count", 2], ["name", "Student Group 2"], ["updated_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "coalescing_panda_groups" [1m[36m (0.9ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mCoalescingPanda::GroupMembership Load (0.1ms)[0m [1mSELECT "coalescing_panda_group_memberships".* FROM "coalescing_panda_group_memberships"[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 94' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 94' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "93"], ["created_at", Thu, 08 Jan 2015 00:09:26 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", Thu, 08 Jan 2015 00:09:26 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 95' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 95' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:09:26 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", Thu, 08 Jan 2015 00:09:26 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 39], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 00:09:26 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::GroupMembership Load (0.0ms)[0m [1mSELECT "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 (canvas_group_membership_id = '13') ORDER BY "coalescing_panda_group_memberships"."id" ASC LIMIT 1[0m [["context_id", 1], ["context_type", "CoalescingPanda::Course"]] [1m[35mCoalescingPanda::Group Load (0.0ms)[0m 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" = '4' LIMIT 1 [["context_id", 1], ["context_type", "CoalescingPanda::Course"]] [1m[36mCoalescingPanda::User Load (0.0ms)[0m [1mSELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' LIMIT 1[0m [["coalescing_panda_lti_account_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_group_memberships" ("canvas_group_membership_id", "created_at", "updated_at", "workflow_state") VALUES (?, ?, ?, ?)[0m [["canvas_group_membership_id", 13], ["created_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00], ["workflow_state", "accepted"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::GroupMembership Load (0.0ms)[0m [1mSELECT "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 (canvas_group_membership_id = '14') ORDER BY "coalescing_panda_group_memberships"."id" ASC LIMIT 1[0m [["context_id", 1], ["context_type", "CoalescingPanda::Course"]] [1m[35mCoalescingPanda::Group Load (0.0ms)[0m 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" = '4' LIMIT 1 [["context_id", 1], ["context_type", "CoalescingPanda::Course"]] [1m[36mCoalescingPanda::User Load (0.0ms)[0m [1mSELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' LIMIT 1[0m [["coalescing_panda_lti_account_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_group_memberships" ("canvas_group_membership_id", "created_at", "updated_at", "workflow_state") VALUES (?, ?, ?, ?)[0m [["canvas_group_membership_id", 14], ["created_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00], ["workflow_state", "accepted"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "coalescing_panda_group_memberships"[0m [1m[35m (0.8ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 96' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 96' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "95"], ["created_at", Thu, 08 Jan 2015 00:09:26 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", Thu, 08 Jan 2015 00:09:26 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 97' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 97' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:09:26 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", Thu, 08 Jan 2015 00:09:26 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 40], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 00:09:26 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 98' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 98' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:09:26 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", Thu, 08 Jan 2015 00:09:26 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 99' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 99' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "98"], ["created_at", Thu, 08 Jan 2015 00:09:26 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", Thu, 08 Jan 2015 00:09:26 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 00:09:26 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 36], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 100' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 100' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "99"], ["created_at", Thu, 08 Jan 2015 00:09:26 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", Thu, 08 Jan 2015 00:09:26 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 101' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 101' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:09:26 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", Thu, 08 Jan 2015 00:09:26 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 42], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 00:09:26 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.9ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 102' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 102' LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:09:26 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", Thu, 08 Jan 2015 00:09:26 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 103' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 103' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "102"], ["created_at", Thu, 08 Jan 2015 00:09:26 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", Thu, 08 Jan 2015 00:09:26 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m 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", Thu, 08 Jan 2015 00:09:26 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 38], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.8ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 104' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 104' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "103"], ["created_at", Thu, 08 Jan 2015 00:09:26 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", Thu, 08 Jan 2015 00:09:26 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 105' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 105' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:09:26 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", Thu, 08 Jan 2015 00:09:26 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 44], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 00:09:26 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.9ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 106' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 106' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:09:26 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", Thu, 08 Jan 2015 00:09:26 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 107' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 107' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "106"], ["created_at", Thu, 08 Jan 2015 00:09:26 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", Thu, 08 Jan 2015 00:09:26 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m 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", Thu, 08 Jan 2015 00:09:26 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 40], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.8ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 108' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 108' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "107"], ["created_at", Thu, 08 Jan 2015 00:09:26 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", Thu, 08 Jan 2015 00:09:26 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 109' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 109' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:09:26 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", Thu, 08 Jan 2015 00:09:26 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 46], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 00:09:26 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (1.0ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 110' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 110' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:09:26 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", Thu, 08 Jan 2015 00:09:26 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 111' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 111' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "110"], ["created_at", Thu, 08 Jan 2015 00:09:26 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", Thu, 08 Jan 2015 00:09:26 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 00:09:26 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 42], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 112' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 112' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "111"], ["created_at", Thu, 08 Jan 2015 00:09:26 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", Thu, 08 Jan 2015 00:09:26 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 113' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 113' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:09:26 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", Thu, 08 Jan 2015 00:09:26 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 48], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 00:09:26 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 114' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 114' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:09:26 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", Thu, 08 Jan 2015 00:09:26 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 115' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 115' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "114"], ["created_at", Thu, 08 Jan 2015 00:09:26 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", Thu, 08 Jan 2015 00:09:26 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 00:09:26 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 44], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 00:09:26 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 116' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 116' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "115"], ["created_at", Thu, 08 Jan 2015 00:09:26 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", Thu, 08 Jan 2015 00:09:26 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 117' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 117' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 00:09:26 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", Thu, 08 Jan 2015 00:09:26 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 50], ["coalescing_panda_lti_account_id", 4], ["created_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", 3], ["coalescing_panda_term_id", 2], ["created_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:09:26 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::Course Load (0.1ms)[0m [1mSELECT "coalescing_panda_courses".* FROM "coalescing_panda_courses" WHERE "coalescing_panda_courses"."id" = ? LIMIT 1[0m [["id", 2]] [1m[35mSQL (0.1ms)[0m UPDATE "coalescing_panda_sections" SET "coalescing_panda_course_id" = ?, "updated_at" = ? WHERE "coalescing_panda_sections"."id" = 1 [["coalescing_panda_course_id", 2], ["updated_at", Thu, 08 Jan 2015 00:09:27 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Thu, 08 Jan 2015 00:09:27 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 00:09:27 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m 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", Thu, 08 Jan 2015 00:09:27 UTC +00:00], ["email", "test18@test.com"], ["name", "Factory User 18"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 00:09:27 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::User Load (0.1ms)[0m 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]] [1m[36mCoalescingPanda::Section Load (0.1ms)[0m [1mSELECT "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[0m [["coalescing_panda_course_id", 2]] [1m[35m (1.0ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 118' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 118' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "117"], ["created_at", Thu, 08 Jan 2015 00:09:27 UTC +00:00], ["key", "Key 118"], ["name", "Account 118"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 118"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Thu, 08 Jan 2015 00:09:27 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.2ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 119' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 119' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "118"], ["created_at", Thu, 08 Jan 2015 00:09:27 UTC +00:00], ["key", "Key 119"], ["name", "Account 119"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 119"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Thu, 08 Jan 2015 00:09:27 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 51], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:09:27 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:09:27 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 46], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 00:09:27 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:09:27 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Thu, 08 Jan 2015 00:09:27 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 00:09:27 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.9ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 120' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 120' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "119"], ["created_at", Thu, 08 Jan 2015 00:09:27 UTC +00:00], ["key", "Key 120"], ["name", "Account 120"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 120"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Thu, 08 Jan 2015 00:09:27 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 121' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 121' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "120"], ["created_at", Thu, 08 Jan 2015 00:09:27 UTC +00:00], ["key", "Key 121"], ["name", "Account 121"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 121"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Thu, 08 Jan 2015 00:09:27 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 52], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 00:09:27 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 00:09:27 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 47], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 00:09:27 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 00:09:27 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_assignment_id", "9"], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 00:09:27 UTC +00:00], ["name", "test assignment"], ["submission_types", nil], ["updated_at", Thu, 08 Jan 2015 00:09:27 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Thu, 08 Jan 2015 00:09:27 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 00:09:27 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m 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", Thu, 08 Jan 2015 00:09:27 UTC +00:00], ["email", "test19@test.com"], ["name", "Factory User 19"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 00:09:27 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::User Load (0.1ms)[0m 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]] [1m[36mCoalescingPanda::Assignment Load (0.1ms)[0m [1mSELECT "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[0m [["coalescing_panda_course_id", 1]] [1m[35m (0.8ms)[0m rollback transaction [1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m [1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations" [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m Processing by CoalescingPanda::LtiController#lti_config as HTML Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m Processing by CoalescingPanda::LtiController#lti_config as HTML Completed 500 Internal Server Error in 1ms [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m Processing by CoalescingPanda::Oauth2Controller#redirect as HTML Parameters: {"user_id"=>"1", "api_domain"=>"foo.com", "code"=>"bar"} Completed 200 OK in 9ms (Views: 8.7ms | ActiveRecord: 0.0ms) [1m[35mCoalescingPanda::CanvasApiAuth Load (0.1ms)[0m 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 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction Processing by CoalescingPanda::Oauth2Controller#redirect as HTML Parameters: {"error"=>"your face"} Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "coalescing_panda_canvas_api_auths"[0m [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 1' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 1' LIMIT 1 [1m[36mSQL (5.7ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "1"], ["created_at", Thu, 08 Jan 2015 18:29: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", Thu, 08 Jan 2015 18:29:20 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 2' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 2' LIMIT 1[0m [1m[35mSQL (1.5ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:29: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", Thu, 08 Jan 2015 18:29:20 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.8ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 1], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 18:29:20 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:29:20 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.7ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 18:29:20 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:29:20 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.8ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 3' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 3' LIMIT 1 [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "3"], ["created_at", Thu, 08 Jan 2015 18:29: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", Thu, 08 Jan 2015 18:29:20 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 4' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 4' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:29: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", Thu, 08 Jan 2015 18:29:20 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 2], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 18:29:20 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:29:20 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 18:29:20 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:29:20 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.6ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 5' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 5' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "5"], ["created_at", Thu, 08 Jan 2015 18:29: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", Thu, 08 Jan 2015 18:29:20 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 6' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 6' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:29: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", Thu, 08 Jan 2015 18:29:20 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 3], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 18:29:20 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:29:20 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 18:29:20 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:29:20 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_assignment_id", "1"], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 18:29:20 UTC +00:00], ["name", "test assignment"], ["submission_types", nil], ["updated_at", Thu, 08 Jan 2015 18:29:20 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_assignment_id", "1"], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 18:29:20 UTC +00:00], ["name", "test assignment"], ["submission_types", nil], ["updated_at", Thu, 08 Jan 2015 18:29:20 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", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m [1m[35m (0.9ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 7' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 7' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "7"], ["created_at", Thu, 08 Jan 2015 18:29: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", Thu, 08 Jan 2015 18:29:20 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 8' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 8' LIMIT 1[0m [1m[35mSQL (0.7ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:29: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", Thu, 08 Jan 2015 18:29:20 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 4], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 18:29:20 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:29:20 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 18:29:20 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:29:20 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.6ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mCoalescingPanda::CanvasApiAuth Load (0.1ms)[0m SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" ORDER BY "coalescing_panda_canvas_api_auths"."id" ASC LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_panda_canvas_api_auths" ("created_at", "updated_at", "user_id") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 18:29:20 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:29:20 UTC +00:00], ["user_id", "a"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::CanvasApiAuth Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1 [1m[36mCoalescingPanda::CanvasApiAuth Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1[0m [1m[35mCoalescingPanda::CanvasApiAuth Load (0.1ms)[0m SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" [1m[36mCoalescingPanda::CanvasApiAuth Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" = '1') LIMIT 1[0m [1m[35mCoalescingPanda::CanvasApiAuth Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" = '1') LIMIT 1 [1m[36m (0.4ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mCoalescingPanda::CanvasApiAuth Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1[0m [1m[35mCoalescingPanda::CanvasApiAuth Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1 [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mCoalescingPanda::CanvasApiAuth Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1[0m [1m[35mCoalescingPanda::CanvasApiAuth Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1 [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.8ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 18:29:20 UTC +00:00], ["status", "Pending"], ["updated_at", Thu, 08 Jan 2015 18:29:20 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Thu, 08 Jan 2015 18:29:20 UTC +00:00], ["status", "Pending"], ["updated_at", Thu, 08 Jan 2015 18:29:20 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 18:29:20 UTC +00:00], ["status", "Pending"], ["updated_at", Thu, 08 Jan 2015 18:29:20 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::CanvasBatch Load (0.1ms)[0m SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" ORDER BY created_at DESC [1m[36m (0.5ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 9' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 9' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:29: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", Thu, 08 Jan 2015 18:29:20 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 10' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 10' LIMIT 1 [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "10"], ["created_at", Thu, 08 Jan 2015 18:29: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", Thu, 08 Jan 2015 18:29:20 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 18:29:20 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:29:20 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.8ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 11' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 11' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "11"], ["created_at", Thu, 08 Jan 2015 18:29: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", Thu, 08 Jan 2015 18:29:20 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 12' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 12' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:29: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", Thu, 08 Jan 2015 18:29:20 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 6], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 18:29:20 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:29:20 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 13' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 13' LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:29: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", Thu, 08 Jan 2015 18:29:20 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 14' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 14' LIMIT 1 [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "14"], ["created_at", Thu, 08 Jan 2015 18:29:20 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", Thu, 08 Jan 2015 18:29:20 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 18:29:20 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:29:20 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 18:29:20 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:29:20 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 15' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 15' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:29: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", Thu, 08 Jan 2015 18:29:20 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 8], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 18:29:20 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:29:20 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 18:29:20 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:29:20 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 (?, ?, ?, ?, ?, ?) [1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m [1m[35m (0.8ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 16' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 16' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "16"], ["created_at", Thu, 08 Jan 2015 18:29: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", Thu, 08 Jan 2015 18:29:20 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.4ms)[0m 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", Thu, 08 Jan 2015 18:29:20 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:29:20 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 17' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 17' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "17"], ["created_at", Thu, 08 Jan 2015 18:29: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", Thu, 08 Jan 2015 18:29:20 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 18:29:20 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:29:20 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 18' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 18' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "18"], ["created_at", Thu, 08 Jan 2015 18:29: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", Thu, 08 Jan 2015 18:29:20 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 18:29:20 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:29:20 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 (?, ?, ?, ?, ?, ?) [1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 19' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 19' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "19"], ["created_at", Thu, 08 Jan 2015 18:29: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", Thu, 08 Jan 2015 18:29:20 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 20' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 20' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:29:20 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", Thu, 08 Jan 2015 18:29:20 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 10], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 18:29:20 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:29:20 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.5ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 21' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 21' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:29:20 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", Thu, 08 Jan 2015 18:29:20 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (1.1ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 18:29:20 UTC +00:00], ["email", "test1@test.com"], ["name", "Factory User 1"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 18:29:20 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 22' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 22' LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:29:20 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", Thu, 08 Jan 2015 18:29:20 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 23' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 23' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "23"], ["created_at", Thu, 08 Jan 2015 18:29:20 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", Thu, 08 Jan 2015 18:29:20 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 18:29:20 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:29:20 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 7], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 18:29:20 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:29:20 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.6ms)[0m 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", Thu, 08 Jan 2015 18:29:20 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:29:20 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 24' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 24' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "24"], ["created_at", Thu, 08 Jan 2015 18:29:20 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", Thu, 08 Jan 2015 18:29:20 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.7ms)[0m 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", Thu, 08 Jan 2015 18:29:20 UTC +00:00], ["email", "test2@test.com"], ["name", "Factory User 2"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 18:29:20 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 25' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 25' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "25"], ["created_at", Thu, 08 Jan 2015 18:29:20 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", Thu, 08 Jan 2015 18:29:20 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 26' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 26' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:29:20 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", Thu, 08 Jan 2015 18:29:20 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 12], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 18:29:20 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:29:20 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 18:29:20 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:29:20 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_section_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 18:29:20 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:29:20 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 27' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 27' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:29:20 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", Thu, 08 Jan 2015 18:29:20 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 18:29:20 UTC +00:00], ["email", "test3@test.com"], ["name", "Factory User 3"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 18:29:20 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 28' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 28' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:29:20 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", Thu, 08 Jan 2015 18:29:20 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 29' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 29' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "29"], ["created_at", Thu, 08 Jan 2015 18:29:20 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", Thu, 08 Jan 2015 18:29:20 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 18:29:20 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:29:20 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 9], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 18:29:20 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:29:20 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 18:29:20 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:29:20 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.6ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 30' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 30' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "30"], ["created_at", Thu, 08 Jan 2015 18:29:20 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", Thu, 08 Jan 2015 18:29:20 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.6ms)[0m 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", Thu, 08 Jan 2015 18:29:20 UTC +00:00], ["email", "test4@test.com"], ["name", "Factory User 4"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 18:29:20 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 31' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 31' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "31"], ["created_at", Thu, 08 Jan 2015 18:29:20 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", Thu, 08 Jan 2015 18:29:20 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 32' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 32' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:29:20 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", Thu, 08 Jan 2015 18:29:20 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 14], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 18:29:20 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:29:20 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 18:29:20 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:29:20 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_section_id", 4], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 18:29:20 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:29:20 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.8ms)[0m 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", Thu, 08 Jan 2015 18:29:20 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Thu, 08 Jan 2015 18:29:20 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_enrollment_id", 4], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Thu, 08 Jan 2015 18:29:20 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Thu, 08 Jan 2015 18:29:20 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 (?, ?, ?, ?, ?, ?) [1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1 [1m[36m (0.8ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 33' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 33' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:29:20 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", Thu, 08 Jan 2015 18:29:20 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 5], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 18:29:20 UTC +00:00], ["email", "test5@test.com"], ["name", "Factory User 5"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 18:29:20 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 34' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 34' LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:29:20 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", Thu, 08 Jan 2015 18:29:20 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 35' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 35' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "35"], ["created_at", Thu, 08 Jan 2015 18:29:20 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", Thu, 08 Jan 2015 18:29:20 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m 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", Thu, 08 Jan 2015 18:29:20 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:29:20 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 11], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 18:29:20 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:29:20 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 18:29:20 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:29:20 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_enrollment_id", 5], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Thu, 08 Jan 2015 18:29:20 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Thu, 08 Jan 2015 18:29:20 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m 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", Thu, 08 Jan 2015 18:29:20 UTC +00:00], ["enrollment_type", "TeacherEnrollment"], ["updated_at", Thu, 08 Jan 2015 18:29:20 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.9ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 36' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 36' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "36"], ["created_at", Thu, 08 Jan 2015 18:29:20 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", Thu, 08 Jan 2015 18:29:20 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.5ms)[0m 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", Thu, 08 Jan 2015 18:29:20 UTC +00:00], ["email", "test6@test.com"], ["name", "Factory User 6"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 18:29:20 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 37' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 37' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "37"], ["created_at", Thu, 08 Jan 2015 18:29:20 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", Thu, 08 Jan 2015 18:29:20 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 38' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 38' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:29:20 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", Thu, 08 Jan 2015 18:29:20 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 16], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 18:29:20 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:29:20 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 18:29:20 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:29:20 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_section_id", 6], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 18:29:20 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:29:20 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.8ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 39' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 39' LIMIT 1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 40' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 40' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:29:20 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", Thu, 08 Jan 2015 18:29:20 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 41' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 41' LIMIT 1 [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "40"], ["created_at", Thu, 08 Jan 2015 18:29:20 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", Thu, 08 Jan 2015 18:29:20 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m 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", Thu, 08 Jan 2015 18:29:20 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:29:20 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 13], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 18:29:20 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:29:20 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (1.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 42' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 42' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:29:20 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", Thu, 08 Jan 2015 18:29:20 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 43' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 43' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "42"], ["created_at", Thu, 08 Jan 2015 18:29:20 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", Thu, 08 Jan 2015 18:29:20 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 18:29:20 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:29:20 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 14], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 18:29:20 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:29:20 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.8ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 44' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 44' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:29:20 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", Thu, 08 Jan 2015 18:29:20 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 45' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 45' LIMIT 1 [1m[36mSQL (0.7ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "44"], ["created_at", Thu, 08 Jan 2015 18:29:20 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", Thu, 08 Jan 2015 18:29:20 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m 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", Thu, 08 Jan 2015 18:29:20 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:29:20 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 15], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 18:29:20 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:29:20 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m 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", Thu, 08 Jan 2015 18:29:20 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:29:20 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_section_id", "1"], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 18:29:20 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:29:20 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 (?, ?, ?, ?) [1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1 [1m[36m (1.0ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 46' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 46' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:29:20 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", Thu, 08 Jan 2015 18:29:20 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 47' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 47' LIMIT 1 [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "46"], ["created_at", Thu, 08 Jan 2015 18:29:20 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", Thu, 08 Jan 2015 18:29:20 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 18:29:20 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:29:20 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 16], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 18:29:20 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:29:20 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.6ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 48' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 48' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:29:20 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", Thu, 08 Jan 2015 18:29:20 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 7], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 18:29:20 UTC +00:00], ["email", "test7@test.com"], ["name", "Factory User 7"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 18:29:20 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 49' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 49' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:29:20 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", Thu, 08 Jan 2015 18:29:20 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 50' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 50' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "49"], ["created_at", Thu, 08 Jan 2015 18:29:20 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", Thu, 08 Jan 2015 18:29:20 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 18:29:20 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:29:20 UTC +00:00]] [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 17], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 18:29:20 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:29:20 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_assignment_id", "3"], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 18:29:20 UTC +00:00], ["name", "test assignment"], ["submission_types", nil], ["updated_at", Thu, 08 Jan 2015 18:29:20 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (1.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 51' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 51' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "50"], ["created_at", Thu, 08 Jan 2015 18:29:20 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", Thu, 08 Jan 2015 18:29:20 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.6ms)[0m 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", Thu, 08 Jan 2015 18:29:20 UTC +00:00], ["email", "test8@test.com"], ["name", "Factory User 8"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 18:29:20 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 52' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 52' LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "51"], ["created_at", Thu, 08 Jan 2015 18:29:20 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", Thu, 08 Jan 2015 18:29:20 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 53' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 53' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:29:20 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", Thu, 08 Jan 2015 18:29:20 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 22], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 18:29:20 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:29:20 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 18:29:20 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:29:20 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_assignment_id", "4"], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 18:29:20 UTC +00:00], ["name", "test assignment"], ["submission_types", nil], ["updated_at", Thu, 08 Jan 2015 18:29:20 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.8ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 54' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 54' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:29:20 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", Thu, 08 Jan 2015 18:29:20 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 9], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 18:29:20 UTC +00:00], ["email", "test9@test.com"], ["name", "Factory User 9"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 18:29:20 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 55' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 55' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:29:20 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", Thu, 08 Jan 2015 18:29:20 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 56' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 56' LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "55"], ["created_at", Thu, 08 Jan 2015 18:29:20 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", Thu, 08 Jan 2015 18:29:20 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 18:29:20 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:29:20 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 19], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 18:29:20 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:29:20 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_assignment_id", "5"], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 18:29:20 UTC +00:00], ["name", "test assignment"], ["submission_types", nil], ["updated_at", Thu, 08 Jan 2015 18:29:20 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 57' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 57' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "56"], ["created_at", Thu, 08 Jan 2015 18:29:20 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", Thu, 08 Jan 2015 18:29:20 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.5ms)[0m 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", Thu, 08 Jan 2015 18:29:20 UTC +00:00], ["email", "test10@test.com"], ["name", "Factory User 10"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 18:29:20 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 58' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 58' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "57"], ["created_at", Thu, 08 Jan 2015 18:29:20 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", Thu, 08 Jan 2015 18:29:20 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 59' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 59' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:29:20 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", Thu, 08 Jan 2015 18:29:20 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 24], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 18:29:20 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:29:20 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 18:29:20 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:29:20 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_assignment_id", "6"], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 18:29:20 UTC +00:00], ["name", "test assignment"], ["submission_types", nil], ["updated_at", Thu, 08 Jan 2015 18:29:20 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.5ms)[0m 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", Thu, 08 Jan 2015 18:29:20 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:29:20 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["canvas_submission_id", "1"], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Thu, 08 Jan 2015 18:29:20 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:29:20 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 (?, ?, ?, ?, ?) [1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1 [1m[36m (0.8ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.2ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 60' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 60' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:29:20 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", Thu, 08 Jan 2015 18:29:20 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 11], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 18:29:20 UTC +00:00], ["email", "test11@test.com"], ["name", "Factory User 11"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 18:29:20 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 61' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 61' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:29:20 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", Thu, 08 Jan 2015 18:29:20 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 62' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 62' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "61"], ["created_at", Thu, 08 Jan 2015 18:29:20 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", Thu, 08 Jan 2015 18:29:20 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 18:29:20 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:29:20 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 21], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 18:29:20 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:29:20 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_assignment_id", "7"], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 18:29:20 UTC +00:00], ["name", "test assignment"], ["submission_types", nil], ["updated_at", Thu, 08 Jan 2015 18:29:20 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["canvas_submission_id", "1"], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Thu, 08 Jan 2015 18:29:20 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:29:20 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 18:29:20 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:29:20 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 63' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 63' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "62"], ["created_at", Thu, 08 Jan 2015 18:29:20 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", Thu, 08 Jan 2015 18:29:20 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.4ms)[0m 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", Thu, 08 Jan 2015 18:29:20 UTC +00:00], ["email", "test12@test.com"], ["name", "Factory User 12"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 18:29:20 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 64' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 64' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "63"], ["created_at", Thu, 08 Jan 2015 18:29:20 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", Thu, 08 Jan 2015 18:29:20 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 65' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 65' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:29:20 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", Thu, 08 Jan 2015 18:29:20 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 26], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 18:29:20 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:29:20 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 18:29:20 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:29:20 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_assignment_id", "8"], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 18:29:20 UTC +00:00], ["name", "test assignment"], ["submission_types", nil], ["updated_at", Thu, 08 Jan 2015 18:29:20 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 66' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 66' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:29:20 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", Thu, 08 Jan 2015 18:29:20 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.3ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 67' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 67' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "66"], ["created_at", Thu, 08 Jan 2015 18:29:20 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", Thu, 08 Jan 2015 18:29:20 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.5ms)[0m 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", Thu, 08 Jan 2015 18:29:20 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:29:20 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 18:29:20 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:29:20 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 (?, ?, ?, ?) [1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1 [1m[36m (0.5ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 68' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 68' LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:29:20 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", Thu, 08 Jan 2015 18:29:20 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.4ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 69' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 69' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "68"], ["created_at", Thu, 08 Jan 2015 18:29:20 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", Thu, 08 Jan 2015 18:29:20 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.3ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 70' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 70' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:29:20 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", Thu, 08 Jan 2015 18:29:20 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.7ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 18:29:20 UTC +00:00], ["email", "test15@test.com"], ["name", "Factory User 15"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 18:29:20 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m 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", Thu, 08 Jan 2015 18:29:20 UTC +00:00], ["email", "test16@test.com"], ["name", "Factory User 16"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 18:29:20 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 (?, ?, ?, ?, ?, ?, ?) [1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 71' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 71' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "70"], ["created_at", Thu, 08 Jan 2015 18:29:20 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", Thu, 08 Jan 2015 18:29:20 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.3ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (54.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.2ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 72' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 72' LIMIT 1[0m [1m[35mSQL (0.6ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:29:20 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", Thu, 08 Jan 2015 18:29:20 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 73' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 73' LIMIT 1 [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "72"], ["created_at", Thu, 08 Jan 2015 18:29:20 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", Thu, 08 Jan 2015 18:29:20 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m 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", Thu, 08 Jan 2015 18:29:20 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:29:20 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 23], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 18:29:20 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:29:20 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 18:29:20 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 18:29:20 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::CanvasBatch Load (0.1ms)[0m SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" ORDER BY created_at ASC LIMIT 1 [1m[36m (0.9ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 74' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 74' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:29:20 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", Thu, 08 Jan 2015 18:29:20 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 75' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 75' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "74"], ["created_at", Thu, 08 Jan 2015 18:29:20 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", Thu, 08 Jan 2015 18:29:20 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 18:29:20 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:29:20 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 24], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 18:29:20 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:29:20 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 18:29:20 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 18:29:20 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.8ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 76' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 76' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "75"], ["created_at", Thu, 08 Jan 2015 18:29:20 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", Thu, 08 Jan 2015 18:29:20 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 77' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 77' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:29:20 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", Thu, 08 Jan 2015 18:29:20 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 30], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 18:29:20 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:29:20 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 18:29:20 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:29:20 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Thu, 08 Jan 2015 18:29:20 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 18:29:20 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m UPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["status", "Started"], ["updated_at", Thu, 08 Jan 2015 18:29:20 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Section Load (0.3ms)[0m SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 18:29:20 UTC +00:00], ["name", "Course1"], ["updated_at", Thu, 08 Jan 2015 18:29:20 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mUPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1[0m [["percent_complete", 14.3], ["updated_at", Thu, 08 Jan 2015 18:29:20 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::User Load (0.1ms)[0m [1mSELECT "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[0m [["coalescing_panda_lti_account_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 18:29:20 UTC +00:00], ["name", "teacher@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 18:29:20 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::User Load (0.1ms)[0m [1mSELECT "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[0m [["coalescing_panda_lti_account_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 18:29:20 UTC +00:00], ["name", "student1@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 18:29:20 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::User Load (0.1ms)[0m [1mSELECT "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[0m [["coalescing_panda_lti_account_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 18:29:20 UTC +00:00], ["name", "student2@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 18:29:20 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 28.6], ["updated_at", Thu, 08 Jan 2015 18:29:20 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Enrollment Load (0.2ms)[0m SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '1') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36mCoalescingPanda::User Load (0.1ms)[0m [1mSELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '1' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1[0m [["coalescing_panda_lti_account_id", 1]] [1m[35mCoalescingPanda::Section Load (0.1ms)[0m SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "coalescing_panda_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"]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Enrollment Load (0.1ms)[0m SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '2') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36mCoalescingPanda::User Load (0.1ms)[0m [1mSELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1[0m [["coalescing_panda_lti_account_id", 1]] [1m[35mCoalescingPanda::Section Load (0.0ms)[0m SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_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"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Enrollment Load (0.1ms)[0m SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '3') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36mCoalescingPanda::User Load (0.1ms)[0m [1mSELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1[0m [["coalescing_panda_lti_account_id", 1]] [1m[35mCoalescingPanda::Section Load (0.0ms)[0m SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_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"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mUPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1[0m [["percent_complete", 42.9], ["updated_at", Thu, 08 Jan 2015 18:29:20 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::Assignment Load (0.1ms)[0m [1mSELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "grade_group_students_individually", "name", "points_possible", "published", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_assignment_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 18:04:38 UTC +00:00], ["description", "What is your name?
"], ["grade_group_students_individually", false], ["name", "Gimme your name"], ["points_possible", 100.0], ["published", true], ["submission_types", "---\n- online_text_entry\n"], ["updated_at", Tue, 18 Nov 2014 18:04:42 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::Assignment Load (0.1ms)[0m [1mSELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "grade_group_students_individually", "name", "points_possible", "published", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_assignment_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 19:10:28 UTC +00:00], ["description", "What is your Favorite Color?
"], ["grade_group_students_individually", false], ["name", "Favorite Color"], ["points_possible", 100.0], ["published", true], ["submission_types", "---\n- online_text_entry\n"], ["updated_at", Tue, 18 Nov 2014 19:10:30 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 57.1], ["updated_at", Thu, 08 Jan 2015 18:29:20 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Assignment Load (0.1ms)[0m SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? [["coalescing_panda_course_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 71.4], ["updated_at", Thu, 08 Jan 2015 18:29:20 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Group Load (0.5ms)[0m SELECT "coalescing_panda_groups".* FROM "coalescing_panda_groups" WHERE "coalescing_panda_groups"."context_id" = ? AND "coalescing_panda_groups"."context_type" = ? AND (canvas_group_id = '4') ORDER BY "coalescing_panda_groups"."id" ASC LIMIT 1 [["context_id", 1], ["context_type", "CoalescingPanda::Course"]] [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "coalescing_panda_groups" ("canvas_group_id", "context_id", "context_type", "created_at", "group_category_id", "members_count", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_group_id", 4], ["context_id", 1], ["context_type", "CoalescingPanda::Course"], ["created_at", Thu, 08 Jan 2015 18:29:20 UTC +00:00], ["group_category_id", 3], ["members_count", 2], ["name", "Student Group 1"], ["updated_at", Thu, 08 Jan 2015 18:29:20 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Group Load (0.1ms)[0m SELECT "coalescing_panda_groups".* FROM "coalescing_panda_groups" WHERE "coalescing_panda_groups"."context_id" = ? AND "coalescing_panda_groups"."context_type" = ? AND (canvas_group_id = '5') ORDER BY "coalescing_panda_groups"."id" ASC LIMIT 1 [["context_id", 1], ["context_type", "CoalescingPanda::Course"]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_groups" ("canvas_group_id", "context_id", "context_type", "created_at", "group_category_id", "members_count", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_group_id", 5], ["context_id", 1], ["context_type", "CoalescingPanda::Course"], ["created_at", Thu, 08 Jan 2015 18:29:20 UTC +00:00], ["group_category_id", 3], ["members_count", 2], ["name", "Student Group 2"], ["updated_at", Thu, 08 Jan 2015 18:29:20 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mUPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1[0m [["percent_complete", 85.7], ["updated_at", Thu, 08 Jan 2015 18:29:20 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::Group Load (0.1ms)[0m [1mSELECT "coalescing_panda_groups".* FROM "coalescing_panda_groups" WHERE "coalescing_panda_groups"."context_id" = ? AND "coalescing_panda_groups"."context_type" = ?[0m [["context_id", 1], ["context_type", "CoalescingPanda::Course"]] [1m[35mCoalescingPanda::GroupMembership Load (0.5ms)[0m 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 (canvas_group_membership_id = '13') ORDER BY "coalescing_panda_group_memberships"."id" ASC LIMIT 1 [["context_id", 1], ["context_type", "CoalescingPanda::Course"]] [1m[36mCoalescingPanda::Group Load (0.1ms)[0m [1mSELECT "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" = '4' LIMIT 1[0m [["context_id", 1], ["context_type", "CoalescingPanda::Course"]] [1m[35mCoalescingPanda::User Load (0.1ms)[0m SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' LIMIT 1 [["coalescing_panda_lti_account_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "coalescing_panda_group_memberships" ("canvas_group_membership_id", "coalescing_panda_group_id", "coalescing_panda_user_id", "created_at", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?) [["canvas_group_membership_id", 13], ["coalescing_panda_group_id", 1], ["coalescing_panda_user_id", 2], ["created_at", Thu, 08 Jan 2015 18:29:20 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:29:20 UTC +00:00], ["workflow_state", "accepted"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::GroupMembership Load (0.1ms)[0m 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 (canvas_group_membership_id = '14') ORDER BY "coalescing_panda_group_memberships"."id" ASC LIMIT 1 [["context_id", 1], ["context_type", "CoalescingPanda::Course"]] [1m[36mCoalescingPanda::Group Load (0.0ms)[0m [1mSELECT "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" = '4' LIMIT 1[0m [["context_id", 1], ["context_type", "CoalescingPanda::Course"]] [1m[35mCoalescingPanda::User Load (0.1ms)[0m SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' LIMIT 1 [["coalescing_panda_lti_account_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_group_memberships" ("canvas_group_membership_id", "coalescing_panda_group_id", "coalescing_panda_user_id", "created_at", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?) [["canvas_group_membership_id", 14], ["coalescing_panda_group_id", 1], ["coalescing_panda_user_id", 3], ["created_at", Thu, 08 Jan 2015 18:29:20 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:29:20 UTC +00:00], ["workflow_state", "accepted"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::GroupMembership Load (0.0ms)[0m 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 (canvas_group_membership_id = '13') ORDER BY "coalescing_panda_group_memberships"."id" ASC LIMIT 1 [["context_id", 1], ["context_type", "CoalescingPanda::Course"]] [1m[36mCoalescingPanda::Group Load (0.1ms)[0m [1mSELECT "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" = '4' LIMIT 1[0m [["context_id", 1], ["context_type", "CoalescingPanda::Course"]] [1m[35mCoalescingPanda::User Load (0.0ms)[0m SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' LIMIT 1 [["coalescing_panda_lti_account_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m UPDATE "coalescing_panda_group_memberships" SET "canvas_group_membership_id" = ?, "updated_at" = ? WHERE "coalescing_panda_group_memberships"."id" = 1 [["canvas_group_membership_id", 13], ["updated_at", Thu, 08 Jan 2015 18:29:21 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::GroupMembership Load (0.0ms)[0m 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 (canvas_group_membership_id = '14') ORDER BY "coalescing_panda_group_memberships"."id" ASC LIMIT 1 [["context_id", 1], ["context_type", "CoalescingPanda::Course"]] [1m[36mCoalescingPanda::Group Load (0.0ms)[0m [1mSELECT "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" = '4' LIMIT 1[0m [["context_id", 1], ["context_type", "CoalescingPanda::Course"]] [1m[35mCoalescingPanda::User Load (0.0ms)[0m SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' LIMIT 1 [["coalescing_panda_lti_account_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "coalescing_panda_group_memberships" SET "canvas_group_membership_id" = ?, "updated_at" = ? WHERE "coalescing_panda_group_memberships"."id" = 2 [["canvas_group_membership_id", 14], ["updated_at", Thu, 08 Jan 2015 18:29:21 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mUPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1[0m [["percent_complete", 100.0], ["updated_at", Thu, 08 Jan 2015 18:29:21 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["status", "Completed"], ["updated_at", Thu, 08 Jan 2015 18:29:21 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.9ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 78' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 78' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "77"], ["created_at", Thu, 08 Jan 2015 18:29:21 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", Thu, 08 Jan 2015 18:29:21 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 79' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 79' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:29:21 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", Thu, 08 Jan 2015 18:29:21 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 31], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 18:29:21 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:29:21 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 18:29:21 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:29:21 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Thu, 08 Jan 2015 18:29:21 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 18:29:21 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (1.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 80' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 80' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:29:21 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", Thu, 08 Jan 2015 18:29:21 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 81' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 81' LIMIT 1 [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "80"], ["created_at", Thu, 08 Jan 2015 18:29:21 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", Thu, 08 Jan 2015 18:29:21 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 18:29:21 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:29:21 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 27], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 18:29:21 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:29:21 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 18:29:21 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 18:29:21 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.8ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mCoalescingPanda::Section Load (0.1ms)[0m SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 82' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 82' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:29:21 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", Thu, 08 Jan 2015 18:29:21 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 83' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 83' LIMIT 1 [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "82"], ["created_at", Thu, 08 Jan 2015 18:29:21 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", Thu, 08 Jan 2015 18:29:21 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m 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", Thu, 08 Jan 2015 18:29:21 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:29:21 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 28], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 18:29:21 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:29:21 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 18:29:21 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 18:29:21 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Section Load (0.0ms)[0m SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 18:29:21 UTC +00:00], ["name", "Course1"], ["updated_at", Thu, 08 Jan 2015 18:29:21 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "coalescing_panda_sections" [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mCoalescingPanda::User Load (0.1ms)[0m [1mSELECT "coalescing_panda_users".* FROM "coalescing_panda_users"[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 84' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 84' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "83"], ["created_at", Thu, 08 Jan 2015 18:29:21 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", Thu, 08 Jan 2015 18:29:21 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 85' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 85' LIMIT 1[0m [1m[35mSQL (0.7ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:29:21 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", Thu, 08 Jan 2015 18:29:21 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 34], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 18:29:21 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:29:21 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 18:29:21 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:29:21 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Thu, 08 Jan 2015 18:29:21 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 18:29:21 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::User Load (0.0ms)[0m [1mSELECT "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[0m [["coalescing_panda_lti_account_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 18:29:21 UTC +00:00], ["name", "teacher@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 18:29:21 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::User Load (0.0ms)[0m [1mSELECT "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[0m [["coalescing_panda_lti_account_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 18:29:21 UTC +00:00], ["name", "student1@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 18:29:21 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::User Load (0.1ms)[0m [1mSELECT "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[0m [["coalescing_panda_lti_account_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 18:29:21 UTC +00:00], ["name", "student2@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 18:29:21 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "coalescing_panda_users"[0m [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mCoalescingPanda::Enrollment Load (0.2ms)[0m SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 86' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 86' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:29:21 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", Thu, 08 Jan 2015 18:29:21 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 87' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 87' LIMIT 1 [1m[36mSQL (0.7ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "86"], ["created_at", Thu, 08 Jan 2015 18:29:21 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", Thu, 08 Jan 2015 18:29:21 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m 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", Thu, 08 Jan 2015 18:29:21 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:29:21 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 30], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 18:29:21 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:29:21 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 18:29:21 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 18:29:21 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Section Load (0.0ms)[0m SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 18:29:21 UTC +00:00], ["name", "Course1"], ["updated_at", Thu, 08 Jan 2015 18:29:21 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::User Load (0.0ms)[0m 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]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 18:29:21 UTC +00:00], ["name", "teacher@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 18:29:21 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::User Load (0.0ms)[0m 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]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 18:29:21 UTC +00:00], ["name", "student1@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 18:29:21 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::User Load (0.0ms)[0m 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]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 18:29:21 UTC +00:00], ["name", "student2@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 18:29:21 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Enrollment Load (0.0ms)[0m SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '1') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36mCoalescingPanda::User Load (0.0ms)[0m [1mSELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '1' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1[0m [["coalescing_panda_lti_account_id", 1]] [1m[35mCoalescingPanda::Section Load (0.0ms)[0m SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "coalescing_panda_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"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Enrollment Load (0.0ms)[0m SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '2') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36mCoalescingPanda::User Load (0.0ms)[0m [1mSELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1[0m [["coalescing_panda_lti_account_id", 1]] [1m[35mCoalescingPanda::Section Load (0.0ms)[0m SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_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"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Enrollment Load (0.0ms)[0m SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '3') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36mCoalescingPanda::User Load (0.0ms)[0m [1mSELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1[0m [["coalescing_panda_lti_account_id", 1]] [1m[35mCoalescingPanda::Section Load (0.0ms)[0m SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_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"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "coalescing_panda_enrollments" [1m[36mCoalescingPanda::Enrollment Load (0.1ms)[0m [1mSELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" ORDER BY "coalescing_panda_enrollments"."id" DESC LIMIT 1[0m [1m[35m (0.9ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mCoalescingPanda::Assignment Load (0.4ms)[0m SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 88' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 88' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:29:21 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", Thu, 08 Jan 2015 18:29:21 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 89' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 89' LIMIT 1 [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "88"], ["created_at", Thu, 08 Jan 2015 18:29:21 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", Thu, 08 Jan 2015 18:29:21 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 18:29:21 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:29:21 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 31], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 18:29:21 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:29:21 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 18:29:21 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 18:29:21 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Assignment Load (0.0ms)[0m SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "grade_group_students_individually", "name", "points_possible", "published", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 18:04:38 UTC +00:00], ["description", "What is your name?
"], ["grade_group_students_individually", false], ["name", "Gimme your name"], ["points_possible", 100.0], ["published", true], ["submission_types", "---\n- online_text_entry\n"], ["updated_at", Tue, 18 Nov 2014 18:04:42 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Assignment Load (0.1ms)[0m SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "grade_group_students_individually", "name", "points_possible", "published", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 19:10:28 UTC +00:00], ["description", "What is your Favorite Color?
"], ["grade_group_students_individually", false], ["name", "Favorite Color"], ["points_possible", 100.0], ["published", true], ["submission_types", "---\n- online_text_entry\n"], ["updated_at", Tue, 18 Nov 2014 19:10:30 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "coalescing_panda_assignments" [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mCoalescingPanda::Submission Load (0.1ms)[0m [1mSELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions"[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 90' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 90' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "89"], ["created_at", Thu, 08 Jan 2015 18:29:21 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", Thu, 08 Jan 2015 18:29:21 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 91' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 91' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:29:21 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", Thu, 08 Jan 2015 18:29:21 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 37], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 18:29:21 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:29:21 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 18:29:21 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:29:21 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Thu, 08 Jan 2015 18:29:21 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 18:29:21 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::User Load (0.0ms)[0m [1mSELECT "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[0m [["coalescing_panda_lti_account_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 18:29:21 UTC +00:00], ["name", "teacher@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 18:29:21 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::User Load (0.0ms)[0m [1mSELECT "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[0m [["coalescing_panda_lti_account_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 18:29:21 UTC +00:00], ["name", "student1@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 18:29:21 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::User Load (0.0ms)[0m [1mSELECT "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[0m [["coalescing_panda_lti_account_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 18:29:21 UTC +00:00], ["name", "student2@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 18:29:21 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::Assignment Load (0.0ms)[0m [1mSELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "grade_group_students_individually", "name", "points_possible", "published", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_assignment_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 18:04:38 UTC +00:00], ["description", "What is your name?
"], ["grade_group_students_individually", false], ["name", "Gimme your name"], ["points_possible", 100.0], ["published", true], ["submission_types", "---\n- online_text_entry\n"], ["updated_at", Tue, 18 Nov 2014 18:04:42 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::Assignment Load (0.0ms)[0m [1mSELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "grade_group_students_individually", "name", "points_possible", "published", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_assignment_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 19:10:28 UTC +00:00], ["description", "What is your Favorite Color?
"], ["grade_group_students_individually", false], ["name", "Favorite Color"], ["points_possible", 100.0], ["published", true], ["submission_types", "---\n- online_text_entry\n"], ["updated_at", Tue, 18 Nov 2014 19:10:30 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::Submission Load (0.1ms)[0m [1mSELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '3') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35mCoalescingPanda::User Load (0.0ms)[0m SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] [1m[36mCoalescingPanda::Assignment Load (0.1ms)[0m [1mSELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_submission_id", 3], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 3], ["created_at", Thu, 08 Jan 2015 18:29:21 UTC +00:00], ["grade", "70"], ["score", 70], ["updated_at", Thu, 08 Jan 2015 18:29:21 UTC +00:00], ["workflow_state", "graded"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::Submission Load (0.1ms)[0m [1mSELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '1') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35mCoalescingPanda::User Load (0.0ms)[0m SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] [1m[36mCoalescingPanda::Assignment Load (0.1ms)[0m [1mSELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_submission_id", 1], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 2], ["created_at", Thu, 08 Jan 2015 18:29:21 UTC +00:00], ["grade", "100"], ["score", 100], ["updated_at", Thu, 08 Jan 2015 18:29:21 UTC +00:00], ["workflow_state", "graded"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::Submission Load (0.1ms)[0m [1mSELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '4') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35mCoalescingPanda::User Load (0.0ms)[0m SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] [1m[36mCoalescingPanda::Assignment Load (0.1ms)[0m [1mSELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_submission_id", 4], ["coalescing_panda_assignment_id", 2], ["coalescing_panda_user_id", 3], ["created_at", Thu, 08 Jan 2015 18:29:21 UTC +00:00], ["grade", "90"], ["score", 90], ["updated_at", Thu, 08 Jan 2015 18:29:21 UTC +00:00], ["workflow_state", "graded"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::Submission Load (0.1ms)[0m [1mSELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '2') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35mCoalescingPanda::User Load (0.0ms)[0m SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] [1m[36mCoalescingPanda::Assignment Load (0.0ms)[0m [1mSELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_submission_id", 2], ["coalescing_panda_assignment_id", 2], ["coalescing_panda_user_id", 2], ["created_at", Thu, 08 Jan 2015 18:29:21 UTC +00:00], ["grade", "80"], ["score", 80], ["updated_at", Thu, 08 Jan 2015 18:29:21 UTC +00:00], ["workflow_state", "graded"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "coalescing_panda_submissions"[0m [1m[35m (0.8ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mCoalescingPanda::Group Load (0.1ms)[0m SELECT "coalescing_panda_groups".* FROM "coalescing_panda_groups" [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 92' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 92' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:29:21 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", Thu, 08 Jan 2015 18:29:21 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 93' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 93' LIMIT 1 [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "92"], ["created_at", Thu, 08 Jan 2015 18:29:21 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", Thu, 08 Jan 2015 18:29:21 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 18:29:21 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:29:21 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 33], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 18:29:21 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:29:21 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 18:29:21 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 18:29:21 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Group Load (0.0ms)[0m SELECT "coalescing_panda_groups".* FROM "coalescing_panda_groups" WHERE "coalescing_panda_groups"."context_id" = ? AND "coalescing_panda_groups"."context_type" = ? AND (canvas_group_id = '4') ORDER BY "coalescing_panda_groups"."id" ASC LIMIT 1 [["context_id", 1], ["context_type", "CoalescingPanda::Course"]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_groups" ("canvas_group_id", "context_id", "context_type", "created_at", "group_category_id", "members_count", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_group_id", 4], ["context_id", 1], ["context_type", "CoalescingPanda::Course"], ["created_at", Thu, 08 Jan 2015 18:29:21 UTC +00:00], ["group_category_id", 3], ["members_count", 2], ["name", "Student Group 1"], ["updated_at", Thu, 08 Jan 2015 18:29:21 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Group Load (0.0ms)[0m SELECT "coalescing_panda_groups".* FROM "coalescing_panda_groups" WHERE "coalescing_panda_groups"."context_id" = ? AND "coalescing_panda_groups"."context_type" = ? AND (canvas_group_id = '5') ORDER BY "coalescing_panda_groups"."id" ASC LIMIT 1 [["context_id", 1], ["context_type", "CoalescingPanda::Course"]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_groups" ("canvas_group_id", "context_id", "context_type", "created_at", "group_category_id", "members_count", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_group_id", 5], ["context_id", 1], ["context_type", "CoalescingPanda::Course"], ["created_at", Thu, 08 Jan 2015 18:29:21 UTC +00:00], ["group_category_id", 3], ["members_count", 2], ["name", "Student Group 2"], ["updated_at", Thu, 08 Jan 2015 18:29:21 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "coalescing_panda_groups" [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mCoalescingPanda::GroupMembership Load (0.1ms)[0m [1mSELECT "coalescing_panda_group_memberships".* FROM "coalescing_panda_group_memberships"[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 94' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 94' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "93"], ["created_at", Thu, 08 Jan 2015 18:29:21 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", Thu, 08 Jan 2015 18:29:21 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 95' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 95' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:29:21 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", Thu, 08 Jan 2015 18:29:21 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 39], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 18:29:21 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:29:21 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 18:29:21 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:29:21 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Thu, 08 Jan 2015 18:29:21 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 18:29:21 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::GroupMembership Load (0.0ms)[0m [1mSELECT "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 (canvas_group_membership_id = '13') ORDER BY "coalescing_panda_group_memberships"."id" ASC LIMIT 1[0m [["context_id", 1], ["context_type", "CoalescingPanda::Course"]] [1m[35mCoalescingPanda::Group Load (0.0ms)[0m 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" = '4' LIMIT 1 [["context_id", 1], ["context_type", "CoalescingPanda::Course"]] [1m[36mCoalescingPanda::User Load (0.0ms)[0m [1mSELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' LIMIT 1[0m [["coalescing_panda_lti_account_id", 1]] [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_group_memberships" ("canvas_group_membership_id", "created_at", "updated_at", "workflow_state") VALUES (?, ?, ?, ?)[0m [["canvas_group_membership_id", 13], ["created_at", Thu, 08 Jan 2015 18:29:21 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:29:21 UTC +00:00], ["workflow_state", "accepted"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::GroupMembership Load (0.0ms)[0m [1mSELECT "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 (canvas_group_membership_id = '14') ORDER BY "coalescing_panda_group_memberships"."id" ASC LIMIT 1[0m [["context_id", 1], ["context_type", "CoalescingPanda::Course"]] [1m[35mCoalescingPanda::Group Load (0.0ms)[0m 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" = '4' LIMIT 1 [["context_id", 1], ["context_type", "CoalescingPanda::Course"]] [1m[36mCoalescingPanda::User Load (0.0ms)[0m [1mSELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' LIMIT 1[0m [["coalescing_panda_lti_account_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_group_memberships" ("canvas_group_membership_id", "created_at", "updated_at", "workflow_state") VALUES (?, ?, ?, ?)[0m [["canvas_group_membership_id", 14], ["created_at", Thu, 08 Jan 2015 18:29:21 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:29:21 UTC +00:00], ["workflow_state", "accepted"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "coalescing_panda_group_memberships"[0m [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 96' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 96' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "95"], ["created_at", Thu, 08 Jan 2015 18:29:21 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", Thu, 08 Jan 2015 18:29:21 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 97' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 97' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:29:21 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", Thu, 08 Jan 2015 18:29:21 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 40], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 18:29:21 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:29:21 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 18:29:21 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:29:21 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Thu, 08 Jan 2015 18:29:21 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 18:29:21 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 98' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 98' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:29:21 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", Thu, 08 Jan 2015 18:29:21 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 99' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 99' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "98"], ["created_at", Thu, 08 Jan 2015 18:29:21 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", Thu, 08 Jan 2015 18:29:21 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 18:29:21 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:29:21 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 36], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 18:29:21 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:29:21 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 18:29:21 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 18:29:21 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 100' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 100' LIMIT 1 [1m[36mSQL (0.8ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "99"], ["created_at", Thu, 08 Jan 2015 18:29:21 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", Thu, 08 Jan 2015 18:29:21 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 101' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 101' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:29:21 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", Thu, 08 Jan 2015 18:29:21 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 42], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 18:29:21 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:29:21 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 18:29:21 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:29:21 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Thu, 08 Jan 2015 18:29:21 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 18:29:21 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 102' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 102' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:29:21 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", Thu, 08 Jan 2015 18:29:21 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 103' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 103' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "102"], ["created_at", Thu, 08 Jan 2015 18:29:21 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", Thu, 08 Jan 2015 18:29:21 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 18:29:21 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:29:21 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 38], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 18:29:21 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:29:21 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 18:29:21 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 18:29:21 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.6ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 104' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 104' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "103"], ["created_at", Thu, 08 Jan 2015 18:29:21 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", Thu, 08 Jan 2015 18:29:21 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 105' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 105' LIMIT 1[0m [1m[35mSQL (0.8ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:29:21 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", Thu, 08 Jan 2015 18:29:21 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 44], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 18:29:21 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:29:21 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 18:29:21 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:29:21 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Thu, 08 Jan 2015 18:29:21 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 18:29:21 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.8ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 106' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 106' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:29:21 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", Thu, 08 Jan 2015 18:29:21 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 107' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 107' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "106"], ["created_at", Thu, 08 Jan 2015 18:29:21 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", Thu, 08 Jan 2015 18:29:21 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m 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", Thu, 08 Jan 2015 18:29:21 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:29:21 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 40], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 18:29:21 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:29:21 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 18:29:21 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 18:29:21 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 108' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 108' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "107"], ["created_at", Thu, 08 Jan 2015 18:29:21 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", Thu, 08 Jan 2015 18:29:21 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 109' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 109' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:29:21 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", Thu, 08 Jan 2015 18:29:21 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 46], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 18:29:21 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:29:21 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 18:29:21 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:29:21 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Thu, 08 Jan 2015 18:29:21 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 18:29:21 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 110' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 110' LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:29:21 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", Thu, 08 Jan 2015 18:29:21 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 111' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 111' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "110"], ["created_at", Thu, 08 Jan 2015 18:29:21 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", Thu, 08 Jan 2015 18:29:21 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 18:29:21 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:29:21 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 42], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 18:29:21 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:29:21 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 18:29:21 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 18:29:21 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.9ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 112' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 112' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "111"], ["created_at", Thu, 08 Jan 2015 18:29:21 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", Thu, 08 Jan 2015 18:29:21 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 113' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 113' LIMIT 1[0m [1m[35mSQL (0.6ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:29:21 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", Thu, 08 Jan 2015 18:29:21 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 48], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 18:29:21 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:29:21 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 18:29:21 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:29:21 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Thu, 08 Jan 2015 18:29:21 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 18:29:21 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.2ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 114' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 114' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:29:21 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", Thu, 08 Jan 2015 18:29:21 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 115' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 115' LIMIT 1 [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "114"], ["created_at", Thu, 08 Jan 2015 18:29:21 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", Thu, 08 Jan 2015 18:29:21 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m 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", Thu, 08 Jan 2015 18:29:21 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:29:21 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 44], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 18:29:21 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:29:21 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 18:29:21 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 18:29:21 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 116' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 116' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "115"], ["created_at", Thu, 08 Jan 2015 18:29:21 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", Thu, 08 Jan 2015 18:29:21 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 117' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 117' LIMIT 1[0m [1m[35mSQL (0.7ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:29:21 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", Thu, 08 Jan 2015 18:29:21 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 50], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 18:29:21 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:29:21 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 18:29:21 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:29:21 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Thu, 08 Jan 2015 18:29:21 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 18:29:21 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (1.0ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 118' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 118' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "117"], ["created_at", Thu, 08 Jan 2015 18:29:21 UTC +00:00], ["key", "Key 118"], ["name", "Account 118"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 118"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Thu, 08 Jan 2015 18:29:21 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 119' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 119' LIMIT 1 [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "118"], ["created_at", Thu, 08 Jan 2015 18:29:21 UTC +00:00], ["key", "Key 119"], ["name", "Account 119"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 119"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Thu, 08 Jan 2015 18:29:21 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 51], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 18:29:21 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:29:21 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 46], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 18:29:21 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:29:21 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 18:29:21 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:29:21 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 120' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 120' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "119"], ["created_at", Thu, 08 Jan 2015 18:29:21 UTC +00:00], ["key", "Key 120"], ["name", "Account 120"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 120"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Thu, 08 Jan 2015 18:29:21 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 121' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 121' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "120"], ["created_at", Thu, 08 Jan 2015 18:29:21 UTC +00:00], ["key", "Key 121"], ["name", "Account 121"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 121"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Thu, 08 Jan 2015 18:29:21 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 52], ["coalescing_panda_lti_account_id", 4], ["created_at", Thu, 08 Jan 2015 18:29:21 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:29:21 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 47], ["coalescing_panda_lti_account_id", 3], ["coalescing_panda_term_id", 2], ["created_at", Thu, 08 Jan 2015 18:29:21 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:29:21 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::Course Load (0.1ms)[0m [1mSELECT "coalescing_panda_courses".* FROM "coalescing_panda_courses" WHERE "coalescing_panda_courses"."id" = ? LIMIT 1[0m [["id", 2]] [1m[35mSQL (0.2ms)[0m UPDATE "coalescing_panda_sections" SET "coalescing_panda_course_id" = ?, "updated_at" = ? WHERE "coalescing_panda_sections"."id" = 1 [["coalescing_panda_course_id", 2], ["updated_at", Thu, 08 Jan 2015 18:29:21 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Thu, 08 Jan 2015 18:29:21 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 18:29:21 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m 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", Thu, 08 Jan 2015 18:29:21 UTC +00:00], ["email", "test18@test.com"], ["name", "Factory User 18"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 18:29:21 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::User Load (0.1ms)[0m 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]] [1m[36mCoalescingPanda::Section Load (0.1ms)[0m [1mSELECT "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[0m [["coalescing_panda_course_id", 2]] [1m[35m (1.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 122' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 122' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "121"], ["created_at", Thu, 08 Jan 2015 18:29:21 UTC +00:00], ["key", "Key 122"], ["name", "Account 122"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 122"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Thu, 08 Jan 2015 18:29:21 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 123' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 123' LIMIT 1[0m [1m[35mSQL (0.6ms)[0m INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "122"], ["created_at", Thu, 08 Jan 2015 18:29:21 UTC +00:00], ["key", "Key 123"], ["name", "Account 123"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 123"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Thu, 08 Jan 2015 18:29:21 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 53], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 18:29:21 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:29:21 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 48], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 18:29:21 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:29:21 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Thu, 08 Jan 2015 18:29:21 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 18:29:21 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 124' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 124' LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "123"], ["created_at", Thu, 08 Jan 2015 18:29:21 UTC +00:00], ["key", "Key 124"], ["name", "Account 124"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 124"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Thu, 08 Jan 2015 18:29:21 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 125' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 125' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "124"], ["created_at", Thu, 08 Jan 2015 18:29:21 UTC +00:00], ["key", "Key 125"], ["name", "Account 125"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 125"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Thu, 08 Jan 2015 18:29:21 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 54], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 18:29:21 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:29:21 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 49], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 18:29:21 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:29:21 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_assignment_id", "9"], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 18:29:21 UTC +00:00], ["name", "test assignment"], ["submission_types", nil], ["updated_at", Thu, 08 Jan 2015 18:29:21 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Thu, 08 Jan 2015 18:29:21 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 18:29:21 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m 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", Thu, 08 Jan 2015 18:29:21 UTC +00:00], ["email", "test19@test.com"], ["name", "Factory User 19"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 18:29:21 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::User Load (0.1ms)[0m 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]] [1m[36mCoalescingPanda::Assignment Load (0.1ms)[0m [1mSELECT "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[0m [["coalescing_panda_course_id", 1]] [1m[35m (0.8ms)[0m rollback transaction [1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m [1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations" [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m Processing by CoalescingPanda::LtiController#lti_config as HTML Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m Processing by CoalescingPanda::LtiController#lti_config as HTML Completed 500 Internal Server Error in 1ms [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m Processing by CoalescingPanda::Oauth2Controller#redirect as HTML Parameters: {"user_id"=>"1", "api_domain"=>"foo.com", "code"=>"bar"} Completed 200 OK in 5ms (Views: 4.8ms | ActiveRecord: 0.0ms) [1m[35mCoalescingPanda::CanvasApiAuth Load (0.1ms)[0m 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 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction Processing by CoalescingPanda::Oauth2Controller#redirect as HTML Parameters: {"error"=>"your face"} Completed 200 OK in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "coalescing_panda_canvas_api_auths"[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 1' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 1' LIMIT 1 [1m[36mSQL (3.0ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "1"], ["created_at", Thu, 08 Jan 2015 18:29: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", Thu, 08 Jan 2015 18:29:50 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 2' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 2' LIMIT 1[0m [1m[35mSQL (1.4ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:29: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", Thu, 08 Jan 2015 18:29:50 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 1], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 18:29:50 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (1.0ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 3' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 3' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "3"], ["created_at", Thu, 08 Jan 2015 18:29: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", Thu, 08 Jan 2015 18:29:50 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 4' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 4' LIMIT 1[0m [1m[35mSQL (0.6ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:29: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", Thu, 08 Jan 2015 18:29:50 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 2], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 18:29:50 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 5' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 5' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "5"], ["created_at", Thu, 08 Jan 2015 18:29: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", Thu, 08 Jan 2015 18:29:50 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 6' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 6' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:29: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", Thu, 08 Jan 2015 18:29:50 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 3], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 18:29:50 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_assignment_id", "1"], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00], ["name", "test assignment"], ["submission_types", nil], ["updated_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_assignment_id", "1"], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00], ["name", "test assignment"], ["submission_types", nil], ["updated_at", Thu, 08 Jan 2015 18:29: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", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m [1m[35m (0.9ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 7' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 7' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "7"], ["created_at", Thu, 08 Jan 2015 18:29: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", Thu, 08 Jan 2015 18:29:50 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 8' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 8' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:29: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", Thu, 08 Jan 2015 18:29:50 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 4], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 18:29:50 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.6ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mCoalescingPanda::CanvasApiAuth Load (0.1ms)[0m SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" ORDER BY "coalescing_panda_canvas_api_auths"."id" ASC LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_panda_canvas_api_auths" ("created_at", "updated_at", "user_id") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00], ["user_id", "a"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::CanvasApiAuth Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1 [1m[36mCoalescingPanda::CanvasApiAuth Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1[0m [1m[35mCoalescingPanda::CanvasApiAuth Load (0.1ms)[0m SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" [1m[36mCoalescingPanda::CanvasApiAuth Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" = '1') LIMIT 1[0m [1m[35mCoalescingPanda::CanvasApiAuth Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" = '1') LIMIT 1 [1m[36m (0.4ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mCoalescingPanda::CanvasApiAuth Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1[0m [1m[35mCoalescingPanda::CanvasApiAuth Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1 [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mCoalescingPanda::CanvasApiAuth Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1[0m [1m[35mCoalescingPanda::CanvasApiAuth Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1 [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00], ["status", "Pending"], ["updated_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00], ["status", "Pending"], ["updated_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00], ["status", "Pending"], ["updated_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::CanvasBatch Load (0.1ms)[0m SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" ORDER BY created_at DESC [1m[36m (0.6ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 9' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 9' LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:29: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", Thu, 08 Jan 2015 18:29:50 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 10' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 10' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "10"], ["created_at", Thu, 08 Jan 2015 18:29: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", Thu, 08 Jan 2015 18:29:50 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 18:29:50 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.5ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 11' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 11' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "11"], ["created_at", Thu, 08 Jan 2015 18:29: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", Thu, 08 Jan 2015 18:29:50 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 12' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 12' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:29: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", Thu, 08 Jan 2015 18:29:50 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 6], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.6ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 13' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 13' LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:29: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", Thu, 08 Jan 2015 18:29:50 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 14' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 14' LIMIT 1 [1m[36mSQL (0.7ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "14"], ["created_at", Thu, 08 Jan 2015 18:29: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", Thu, 08 Jan 2015 18:29:50 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m 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", Thu, 08 Jan 2015 18:29:50 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 15' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 15' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:29: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", Thu, 08 Jan 2015 18:29:50 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 8], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 18:29:50 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:29: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 (?, ?, ?, ?, ?, ?) [1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 16' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 16' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "16"], ["created_at", Thu, 08 Jan 2015 18:29: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", Thu, 08 Jan 2015 18:29:50 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.4ms)[0m 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", Thu, 08 Jan 2015 18:29:50 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 17' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 17' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "17"], ["created_at", Thu, 08 Jan 2015 18:29: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", Thu, 08 Jan 2015 18:29:50 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 18:29:50 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 18' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 18' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "18"], ["created_at", Thu, 08 Jan 2015 18:29: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", Thu, 08 Jan 2015 18:29:50 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 18:29:50 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:29: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 (?, ?, ?, ?, ?, ?) [1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 19' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 19' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "19"], ["created_at", Thu, 08 Jan 2015 18:29: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", Thu, 08 Jan 2015 18:29:50 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 20' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 20' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:29: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", Thu, 08 Jan 2015 18:29:50 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 10], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.6ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 21' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 21' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:29: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", Thu, 08 Jan 2015 18:29:50 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00], ["email", "test1@test.com"], ["name", "Factory User 1"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 22' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 22' LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:29: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", Thu, 08 Jan 2015 18:29:50 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 23' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 23' LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "23"], ["created_at", Thu, 08 Jan 2015 18:29: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", Thu, 08 Jan 2015 18:29:50 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m 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", Thu, 08 Jan 2015 18:29:50 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 7], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m 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", Thu, 08 Jan 2015 18:29:50 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.9ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 24' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 24' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "24"], ["created_at", Thu, 08 Jan 2015 18:29: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", Thu, 08 Jan 2015 18:29:50 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.5ms)[0m 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", Thu, 08 Jan 2015 18:29:50 UTC +00:00], ["email", "test2@test.com"], ["name", "Factory User 2"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 25' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 25' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "25"], ["created_at", Thu, 08 Jan 2015 18:29: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", Thu, 08 Jan 2015 18:29:50 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 26' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 26' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:29: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", Thu, 08 Jan 2015 18:29:50 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 12], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 18:29:50 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_section_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.8ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 27' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 27' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:29: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", Thu, 08 Jan 2015 18:29:50 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00], ["email", "test3@test.com"], ["name", "Factory User 3"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 28' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 28' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:29: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", Thu, 08 Jan 2015 18:29:50 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 29' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 29' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "29"], ["created_at", Thu, 08 Jan 2015 18:29: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", Thu, 08 Jan 2015 18:29:50 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 18:29:50 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 9], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 18:29:50 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.9ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 30' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 30' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "30"], ["created_at", Thu, 08 Jan 2015 18:29: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", Thu, 08 Jan 2015 18:29:50 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.5ms)[0m 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", Thu, 08 Jan 2015 18:29:50 UTC +00:00], ["email", "test4@test.com"], ["name", "Factory User 4"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 31' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 31' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "31"], ["created_at", Thu, 08 Jan 2015 18:29: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", Thu, 08 Jan 2015 18:29:50 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 32' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 32' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:29: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", Thu, 08 Jan 2015 18:29:50 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 14], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 18:29:50 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_section_id", 4], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m 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", Thu, 08 Jan 2015 18:29:50 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_enrollment_id", 4], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Thu, 08 Jan 2015 18:29: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 (?, ?, ?, ?, ?, ?) [1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1 [1m[36m (0.8ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 33' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 33' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:29: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", Thu, 08 Jan 2015 18:29:50 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 5], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00], ["email", "test5@test.com"], ["name", "Factory User 5"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 34' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 34' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:29: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", Thu, 08 Jan 2015 18:29:50 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 35' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 35' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "35"], ["created_at", Thu, 08 Jan 2015 18:29: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", Thu, 08 Jan 2015 18:29:50 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 18:29:50 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 11], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 18:29:50 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_enrollment_id", 5], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 18:29:50 UTC +00:00], ["enrollment_type", "TeacherEnrollment"], ["updated_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 36' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 36' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "36"], ["created_at", Thu, 08 Jan 2015 18:29: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", Thu, 08 Jan 2015 18:29:50 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.6ms)[0m 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", Thu, 08 Jan 2015 18:29:50 UTC +00:00], ["email", "test6@test.com"], ["name", "Factory User 6"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 37' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 37' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "37"], ["created_at", Thu, 08 Jan 2015 18:29: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", Thu, 08 Jan 2015 18:29:50 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 38' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 38' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:29: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", Thu, 08 Jan 2015 18:29:50 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 16], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 18:29:50 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_section_id", 6], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.9ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mCoalescingPanda::LtiAccount Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 39' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 39' LIMIT 1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 40' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 40' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:29: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", Thu, 08 Jan 2015 18:29:50 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 41' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 41' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "40"], ["created_at", Thu, 08 Jan 2015 18:29: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", Thu, 08 Jan 2015 18:29:50 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 18:29:50 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 13], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.6ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 42' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 42' LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:29: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", Thu, 08 Jan 2015 18:29:50 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 43' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 43' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "42"], ["created_at", Thu, 08 Jan 2015 18:29: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", Thu, 08 Jan 2015 18:29:50 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 18:29:50 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 14], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.8ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 44' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 44' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:29: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", Thu, 08 Jan 2015 18:29:50 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 45' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 45' LIMIT 1 [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "44"], ["created_at", Thu, 08 Jan 2015 18:29: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", Thu, 08 Jan 2015 18:29:50 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 18:29:50 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 15], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m 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", Thu, 08 Jan 2015 18:29:50 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_section_id", "1"], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:29: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 (?, ?, ?, ?) [1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1 [1m[36m (0.8ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 46' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 46' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:29: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", Thu, 08 Jan 2015 18:29:50 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 47' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 47' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "46"], ["created_at", Thu, 08 Jan 2015 18:29: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", Thu, 08 Jan 2015 18:29:50 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 18:29:50 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 16], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.6ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 48' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 48' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:29: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", Thu, 08 Jan 2015 18:29:50 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.7ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 7], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00], ["email", "test7@test.com"], ["name", "Factory User 7"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 49' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 49' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:29: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", Thu, 08 Jan 2015 18:29:50 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 50' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 50' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "49"], ["created_at", Thu, 08 Jan 2015 18:29: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", Thu, 08 Jan 2015 18:29:50 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 18:29:50 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 17], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_assignment_id", "3"], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00], ["name", "test assignment"], ["submission_types", nil], ["updated_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.9ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 51' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 51' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "50"], ["created_at", Thu, 08 Jan 2015 18:29: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", Thu, 08 Jan 2015 18:29:50 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.5ms)[0m 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", Thu, 08 Jan 2015 18:29:50 UTC +00:00], ["email", "test8@test.com"], ["name", "Factory User 8"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 52' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 52' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "51"], ["created_at", Thu, 08 Jan 2015 18:29: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", Thu, 08 Jan 2015 18:29:50 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 53' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 53' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:29: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", Thu, 08 Jan 2015 18:29:50 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 22], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 18:29:50 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_assignment_id", "4"], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00], ["name", "test assignment"], ["submission_types", nil], ["updated_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.9ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 54' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 54' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:29: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", Thu, 08 Jan 2015 18:29:50 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 9], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00], ["email", "test9@test.com"], ["name", "Factory User 9"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 55' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 55' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:29: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", Thu, 08 Jan 2015 18:29:50 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 56' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 56' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "55"], ["created_at", Thu, 08 Jan 2015 18:29: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", Thu, 08 Jan 2015 18:29:50 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 18:29:50 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 19], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_assignment_id", "5"], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00], ["name", "test assignment"], ["submission_types", nil], ["updated_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 57' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 57' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "56"], ["created_at", Thu, 08 Jan 2015 18:29: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", Thu, 08 Jan 2015 18:29:50 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.6ms)[0m 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", Thu, 08 Jan 2015 18:29:50 UTC +00:00], ["email", "test10@test.com"], ["name", "Factory User 10"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 58' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 58' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "57"], ["created_at", Thu, 08 Jan 2015 18:29: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", Thu, 08 Jan 2015 18:29:50 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 59' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 59' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:29: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", Thu, 08 Jan 2015 18:29:50 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 24], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 18:29:50 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_assignment_id", "6"], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00], ["name", "test assignment"], ["submission_types", nil], ["updated_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m 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", Thu, 08 Jan 2015 18:29:50 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["canvas_submission_id", "1"], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:29: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 (?, ?, ?, ?, ?) [1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1 [1m[36m (1.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 60' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 60' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:29: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", Thu, 08 Jan 2015 18:29:50 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 11], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00], ["email", "test11@test.com"], ["name", "Factory User 11"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 61' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 61' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:29: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", Thu, 08 Jan 2015 18:29:50 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 62' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 62' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "61"], ["created_at", Thu, 08 Jan 2015 18:29: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", Thu, 08 Jan 2015 18:29:50 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 18:29:50 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 21], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_assignment_id", "7"], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00], ["name", "test assignment"], ["submission_types", nil], ["updated_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["canvas_submission_id", "1"], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 18:29:50 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.8ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 63' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 63' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "62"], ["created_at", Thu, 08 Jan 2015 18:29: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", Thu, 08 Jan 2015 18:29:50 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.6ms)[0m 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", Thu, 08 Jan 2015 18:29:50 UTC +00:00], ["email", "test12@test.com"], ["name", "Factory User 12"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 64' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 64' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "63"], ["created_at", Thu, 08 Jan 2015 18:29: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", Thu, 08 Jan 2015 18:29:50 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 65' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 65' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:29: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", Thu, 08 Jan 2015 18:29:50 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 26], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 18:29:50 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_assignment_id", "8"], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00], ["name", "test assignment"], ["submission_types", nil], ["updated_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 66' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 66' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:29: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", Thu, 08 Jan 2015 18:29:50 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.4ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 67' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 67' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "66"], ["created_at", Thu, 08 Jan 2015 18:29: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", Thu, 08 Jan 2015 18:29:50 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.6ms)[0m 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", Thu, 08 Jan 2015 18:29:50 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:29: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 (?, ?, ?, ?) [1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1 [1m[36m (0.6ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 68' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 68' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:29: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", Thu, 08 Jan 2015 18:29:50 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.4ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 69' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 69' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "68"], ["created_at", Thu, 08 Jan 2015 18:29: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", Thu, 08 Jan 2015 18:29:50 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.5ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 70' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 70' LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:29: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", Thu, 08 Jan 2015 18:29:50 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00], ["email", "test15@test.com"], ["name", "Factory User 15"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m 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", Thu, 08 Jan 2015 18:29:50 UTC +00:00], ["email", "test16@test.com"], ["name", "Factory User 16"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 18:29: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 (?, ?, ?, ?, ?, ?, ?) [1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 71' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 71' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "70"], ["created_at", Thu, 08 Jan 2015 18:29: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", Thu, 08 Jan 2015 18:29:50 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.4ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (53.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 72' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 72' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:29: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", Thu, 08 Jan 2015 18:29:50 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 73' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 73' LIMIT 1 [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "72"], ["created_at", Thu, 08 Jan 2015 18:29: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", Thu, 08 Jan 2015 18:29:50 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 18:29:50 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 23], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::CanvasBatch Load (0.1ms)[0m SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" ORDER BY created_at ASC LIMIT 1 [1m[36m (0.8ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 74' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 74' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:29: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", Thu, 08 Jan 2015 18:29:50 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 75' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 75' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "74"], ["created_at", Thu, 08 Jan 2015 18:29: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", Thu, 08 Jan 2015 18:29:50 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 18:29:50 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 24], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.8ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 76' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 76' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "75"], ["created_at", Thu, 08 Jan 2015 18:29: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", Thu, 08 Jan 2015 18:29:50 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 77' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 77' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:29: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", Thu, 08 Jan 2015 18:29:50 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 30], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 18:29:50 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m UPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["status", "Started"], ["updated_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Section Load (0.2ms)[0m SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00], ["name", "Course1"], ["updated_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mUPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1[0m [["percent_complete", 14.3], ["updated_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::User Load (0.1ms)[0m [1mSELECT "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[0m [["coalescing_panda_lti_account_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00], ["name", "teacher@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::User Load (0.1ms)[0m [1mSELECT "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[0m [["coalescing_panda_lti_account_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00], ["name", "student1@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::User Load (0.1ms)[0m [1mSELECT "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[0m [["coalescing_panda_lti_account_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00], ["name", "student2@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 28.6], ["updated_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Enrollment Load (0.2ms)[0m SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '1') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36mCoalescingPanda::User Load (0.1ms)[0m [1mSELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '1' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1[0m [["coalescing_panda_lti_account_id", 1]] [1m[35mCoalescingPanda::Section Load (0.1ms)[0m SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "coalescing_panda_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"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Enrollment Load (0.1ms)[0m SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '2') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36mCoalescingPanda::User Load (0.1ms)[0m [1mSELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1[0m [["coalescing_panda_lti_account_id", 1]] [1m[35mCoalescingPanda::Section Load (0.0ms)[0m SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_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"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Enrollment Load (0.1ms)[0m SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '3') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36mCoalescingPanda::User Load (0.1ms)[0m [1mSELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1[0m [["coalescing_panda_lti_account_id", 1]] [1m[35mCoalescingPanda::Section Load (0.0ms)[0m SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_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"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mUPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1[0m [["percent_complete", 42.9], ["updated_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::Assignment Load (0.1ms)[0m [1mSELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "grade_group_students_individually", "name", "points_possible", "published", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_assignment_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 18:04:38 UTC +00:00], ["description", "What is your name?
"], ["grade_group_students_individually", false], ["name", "Gimme your name"], ["points_possible", 100.0], ["published", true], ["submission_types", "---\n- online_text_entry\n"], ["updated_at", Tue, 18 Nov 2014 18:04:42 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::Assignment Load (0.1ms)[0m [1mSELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "grade_group_students_individually", "name", "points_possible", "published", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_assignment_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 19:10:28 UTC +00:00], ["description", "What is your Favorite Color?
"], ["grade_group_students_individually", false], ["name", "Favorite Color"], ["points_possible", 100.0], ["published", true], ["submission_types", "---\n- online_text_entry\n"], ["updated_at", Tue, 18 Nov 2014 19:10:30 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 57.1], ["updated_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Assignment Load (0.1ms)[0m SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? [["coalescing_panda_course_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 71.4], ["updated_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Group Load (0.2ms)[0m SELECT "coalescing_panda_groups".* FROM "coalescing_panda_groups" WHERE "coalescing_panda_groups"."context_id" = ? AND "coalescing_panda_groups"."context_type" = ? AND (canvas_group_id = '4') ORDER BY "coalescing_panda_groups"."id" ASC LIMIT 1 [["context_id", 1], ["context_type", "CoalescingPanda::Course"]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "coalescing_panda_groups" ("canvas_group_id", "context_id", "context_type", "created_at", "group_category_id", "members_count", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_group_id", 4], ["context_id", 1], ["context_type", "CoalescingPanda::Course"], ["created_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00], ["group_category_id", 3], ["members_count", 2], ["name", "Student Group 1"], ["updated_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Group Load (0.1ms)[0m SELECT "coalescing_panda_groups".* FROM "coalescing_panda_groups" WHERE "coalescing_panda_groups"."context_id" = ? AND "coalescing_panda_groups"."context_type" = ? AND (canvas_group_id = '5') ORDER BY "coalescing_panda_groups"."id" ASC LIMIT 1 [["context_id", 1], ["context_type", "CoalescingPanda::Course"]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_groups" ("canvas_group_id", "context_id", "context_type", "created_at", "group_category_id", "members_count", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_group_id", 5], ["context_id", 1], ["context_type", "CoalescingPanda::Course"], ["created_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00], ["group_category_id", 3], ["members_count", 2], ["name", "Student Group 2"], ["updated_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mUPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1[0m [["percent_complete", 85.7], ["updated_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::Group Load (0.1ms)[0m [1mSELECT "coalescing_panda_groups".* FROM "coalescing_panda_groups" WHERE "coalescing_panda_groups"."context_id" = ? AND "coalescing_panda_groups"."context_type" = ?[0m [["context_id", 1], ["context_type", "CoalescingPanda::Course"]] [1m[35mCoalescingPanda::GroupMembership Load (0.2ms)[0m 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 (canvas_group_membership_id = '13') ORDER BY "coalescing_panda_group_memberships"."id" ASC LIMIT 1 [["context_id", 1], ["context_type", "CoalescingPanda::Course"]] [1m[36mCoalescingPanda::Group Load (0.1ms)[0m [1mSELECT "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" = '4' LIMIT 1[0m [["context_id", 1], ["context_type", "CoalescingPanda::Course"]] [1m[35mCoalescingPanda::User Load (0.1ms)[0m SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' LIMIT 1 [["coalescing_panda_lti_account_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "coalescing_panda_group_memberships" ("canvas_group_membership_id", "coalescing_panda_group_id", "coalescing_panda_user_id", "created_at", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?) [["canvas_group_membership_id", 13], ["coalescing_panda_group_id", 1], ["coalescing_panda_user_id", 2], ["created_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00], ["workflow_state", "accepted"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::GroupMembership Load (0.1ms)[0m 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 (canvas_group_membership_id = '14') ORDER BY "coalescing_panda_group_memberships"."id" ASC LIMIT 1 [["context_id", 1], ["context_type", "CoalescingPanda::Course"]] [1m[36mCoalescingPanda::Group Load (0.0ms)[0m [1mSELECT "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" = '4' LIMIT 1[0m [["context_id", 1], ["context_type", "CoalescingPanda::Course"]] [1m[35mCoalescingPanda::User Load (0.1ms)[0m SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' LIMIT 1 [["coalescing_panda_lti_account_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_group_memberships" ("canvas_group_membership_id", "coalescing_panda_group_id", "coalescing_panda_user_id", "created_at", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?) [["canvas_group_membership_id", 14], ["coalescing_panda_group_id", 1], ["coalescing_panda_user_id", 3], ["created_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00], ["workflow_state", "accepted"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::GroupMembership Load (0.1ms)[0m 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 (canvas_group_membership_id = '13') ORDER BY "coalescing_panda_group_memberships"."id" ASC LIMIT 1 [["context_id", 1], ["context_type", "CoalescingPanda::Course"]] [1m[36mCoalescingPanda::Group Load (0.1ms)[0m [1mSELECT "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" = '4' LIMIT 1[0m [["context_id", 1], ["context_type", "CoalescingPanda::Course"]] [1m[35mCoalescingPanda::User Load (0.1ms)[0m SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' LIMIT 1 [["coalescing_panda_lti_account_id", 1]] [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m UPDATE "coalescing_panda_group_memberships" SET "canvas_group_membership_id" = ?, "updated_at" = ? WHERE "coalescing_panda_group_memberships"."id" = 1 [["canvas_group_membership_id", 13], ["updated_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::GroupMembership Load (0.1ms)[0m 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 (canvas_group_membership_id = '14') ORDER BY "coalescing_panda_group_memberships"."id" ASC LIMIT 1 [["context_id", 1], ["context_type", "CoalescingPanda::Course"]] [1m[36mCoalescingPanda::Group Load (0.0ms)[0m [1mSELECT "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" = '4' LIMIT 1[0m [["context_id", 1], ["context_type", "CoalescingPanda::Course"]] [1m[35mCoalescingPanda::User Load (0.0ms)[0m SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' LIMIT 1 [["coalescing_panda_lti_account_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "coalescing_panda_group_memberships" SET "canvas_group_membership_id" = ?, "updated_at" = ? WHERE "coalescing_panda_group_memberships"."id" = 2 [["canvas_group_membership_id", 14], ["updated_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mUPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1[0m [["percent_complete", 100.0], ["updated_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["status", "Completed"], ["updated_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.9ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 78' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 78' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "77"], ["created_at", Thu, 08 Jan 2015 18:29: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", Thu, 08 Jan 2015 18:29:50 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 79' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 79' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:29: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", Thu, 08 Jan 2015 18:29:50 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 31], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 18:29:50 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.8ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 80' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 80' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:29: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", Thu, 08 Jan 2015 18:29:50 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 81' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 81' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "80"], ["created_at", Thu, 08 Jan 2015 18:29: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", Thu, 08 Jan 2015 18:29:50 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 18:29:50 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 27], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.9ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mCoalescingPanda::Section Load (0.1ms)[0m SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 82' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 82' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:29: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", Thu, 08 Jan 2015 18:29:50 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 83' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 83' LIMIT 1 [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "82"], ["created_at", Thu, 08 Jan 2015 18:29: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", Thu, 08 Jan 2015 18:29:50 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 18:29:50 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 28], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Section Load (0.0ms)[0m SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00], ["name", "Course1"], ["updated_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "coalescing_panda_sections" [1m[36m (0.8ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mCoalescingPanda::User Load (0.2ms)[0m [1mSELECT "coalescing_panda_users".* FROM "coalescing_panda_users"[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 84' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 84' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "83"], ["created_at", Thu, 08 Jan 2015 18:29: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", Thu, 08 Jan 2015 18:29:50 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 85' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 85' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:29: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", Thu, 08 Jan 2015 18:29:50 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 34], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 18:29:50 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::User Load (0.0ms)[0m [1mSELECT "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[0m [["coalescing_panda_lti_account_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00], ["name", "teacher@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::User Load (0.0ms)[0m [1mSELECT "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[0m [["coalescing_panda_lti_account_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00], ["name", "student1@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::User Load (0.0ms)[0m [1mSELECT "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[0m [["coalescing_panda_lti_account_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00], ["name", "student2@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "coalescing_panda_users"[0m [1m[35m (0.8ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mCoalescingPanda::Enrollment Load (0.2ms)[0m SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 86' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 86' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:29: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", Thu, 08 Jan 2015 18:29:50 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 87' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 87' LIMIT 1 [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "86"], ["created_at", Thu, 08 Jan 2015 18:29: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", Thu, 08 Jan 2015 18:29:50 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 18:29:50 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 30], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Section Load (0.0ms)[0m SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00], ["name", "Course1"], ["updated_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::User Load (0.0ms)[0m 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]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00], ["name", "teacher@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::User Load (0.0ms)[0m 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]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00], ["name", "student1@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::User Load (0.0ms)[0m 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]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00], ["name", "student2@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 18:29:50 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Enrollment Load (0.0ms)[0m SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '1') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36mCoalescingPanda::User Load (0.0ms)[0m [1mSELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '1' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1[0m [["coalescing_panda_lti_account_id", 1]] [1m[35mCoalescingPanda::Section Load (0.0ms)[0m SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_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"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Enrollment Load (0.0ms)[0m SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '2') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36mCoalescingPanda::User Load (0.0ms)[0m [1mSELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1[0m [["coalescing_panda_lti_account_id", 1]] [1m[35mCoalescingPanda::Section Load (0.0ms)[0m SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_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"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Enrollment Load (0.0ms)[0m SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '3') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36mCoalescingPanda::User Load (0.0ms)[0m [1mSELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1[0m [["coalescing_panda_lti_account_id", 1]] [1m[35mCoalescingPanda::Section Load (0.1ms)[0m SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_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"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "coalescing_panda_enrollments" [1m[36mCoalescingPanda::Enrollment Load (0.1ms)[0m [1mSELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" ORDER BY "coalescing_panda_enrollments"."id" DESC LIMIT 1[0m [1m[35m (2.4ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mCoalescingPanda::Assignment Load (0.2ms)[0m SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 88' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 88' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:29:51 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", Thu, 08 Jan 2015 18:29:51 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 89' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 89' LIMIT 1 [1m[36mSQL (0.8ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "88"], ["created_at", Thu, 08 Jan 2015 18:29:51 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", Thu, 08 Jan 2015 18:29:51 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.4ms)[0m 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", Thu, 08 Jan 2015 18:29:51 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:29:51 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 31], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 18:29:51 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:29:51 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 18:29:51 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 18:29:51 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Assignment Load (0.0ms)[0m SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "grade_group_students_individually", "name", "points_possible", "published", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 18:04:38 UTC +00:00], ["description", "What is your name?
"], ["grade_group_students_individually", false], ["name", "Gimme your name"], ["points_possible", 100.0], ["published", true], ["submission_types", "---\n- online_text_entry\n"], ["updated_at", Tue, 18 Nov 2014 18:04:42 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Assignment Load (0.0ms)[0m SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "grade_group_students_individually", "name", "points_possible", "published", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 19:10:28 UTC +00:00], ["description", "What is your Favorite Color?
"], ["grade_group_students_individually", false], ["name", "Favorite Color"], ["points_possible", 100.0], ["published", true], ["submission_types", "---\n- online_text_entry\n"], ["updated_at", Tue, 18 Nov 2014 19:10:30 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "coalescing_panda_assignments" [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mCoalescingPanda::Submission Load (0.1ms)[0m [1mSELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions"[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 90' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 90' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "89"], ["created_at", Thu, 08 Jan 2015 18:29:51 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", Thu, 08 Jan 2015 18:29:51 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 91' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 91' LIMIT 1[0m [1m[35mSQL (0.7ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:29:51 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", Thu, 08 Jan 2015 18:29:51 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 37], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 18:29:51 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:29:51 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 18:29:51 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:29:51 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Thu, 08 Jan 2015 18:29:51 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 18:29:51 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::User Load (0.0ms)[0m [1mSELECT "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[0m [["coalescing_panda_lti_account_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 18:29:51 UTC +00:00], ["name", "teacher@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 18:29:51 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::User Load (0.0ms)[0m [1mSELECT "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[0m [["coalescing_panda_lti_account_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 18:29:51 UTC +00:00], ["name", "student1@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 18:29:51 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::User Load (0.0ms)[0m [1mSELECT "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[0m [["coalescing_panda_lti_account_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 18:29:51 UTC +00:00], ["name", "student2@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 18:29:51 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::Assignment Load (0.1ms)[0m [1mSELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "grade_group_students_individually", "name", "points_possible", "published", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_assignment_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 18:04:38 UTC +00:00], ["description", "What is your name?
"], ["grade_group_students_individually", false], ["name", "Gimme your name"], ["points_possible", 100.0], ["published", true], ["submission_types", "---\n- online_text_entry\n"], ["updated_at", Tue, 18 Nov 2014 18:04:42 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::Assignment Load (0.0ms)[0m [1mSELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "grade_group_students_individually", "name", "points_possible", "published", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_assignment_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 19:10:28 UTC +00:00], ["description", "What is your Favorite Color?
"], ["grade_group_students_individually", false], ["name", "Favorite Color"], ["points_possible", 100.0], ["published", true], ["submission_types", "---\n- online_text_entry\n"], ["updated_at", Tue, 18 Nov 2014 19:10:30 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::Submission Load (0.2ms)[0m [1mSELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '3') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35mCoalescingPanda::User Load (0.0ms)[0m SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] [1m[36mCoalescingPanda::Assignment Load (0.1ms)[0m [1mSELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_submission_id", 3], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 3], ["created_at", Thu, 08 Jan 2015 18:29:51 UTC +00:00], ["grade", "70"], ["score", 70], ["updated_at", Thu, 08 Jan 2015 18:29:51 UTC +00:00], ["workflow_state", "graded"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::Submission Load (0.1ms)[0m [1mSELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '1') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35mCoalescingPanda::User Load (0.0ms)[0m SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] [1m[36mCoalescingPanda::Assignment Load (0.0ms)[0m [1mSELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_submission_id", 1], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 2], ["created_at", Thu, 08 Jan 2015 18:29:51 UTC +00:00], ["grade", "100"], ["score", 100], ["updated_at", Thu, 08 Jan 2015 18:29:51 UTC +00:00], ["workflow_state", "graded"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::Submission Load (0.1ms)[0m [1mSELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '4') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35mCoalescingPanda::User Load (0.0ms)[0m SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] [1m[36mCoalescingPanda::Assignment Load (0.1ms)[0m [1mSELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_submission_id", 4], ["coalescing_panda_assignment_id", 2], ["coalescing_panda_user_id", 3], ["created_at", Thu, 08 Jan 2015 18:29:51 UTC +00:00], ["grade", "90"], ["score", 90], ["updated_at", Thu, 08 Jan 2015 18:29:51 UTC +00:00], ["workflow_state", "graded"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::Submission Load (0.1ms)[0m [1mSELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '2') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35mCoalescingPanda::User Load (0.0ms)[0m SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] [1m[36mCoalescingPanda::Assignment Load (0.0ms)[0m [1mSELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_submission_id", 2], ["coalescing_panda_assignment_id", 2], ["coalescing_panda_user_id", 2], ["created_at", Thu, 08 Jan 2015 18:29:51 UTC +00:00], ["grade", "80"], ["score", 80], ["updated_at", Thu, 08 Jan 2015 18:29:51 UTC +00:00], ["workflow_state", "graded"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "coalescing_panda_submissions"[0m [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mCoalescingPanda::Group Load (0.1ms)[0m SELECT "coalescing_panda_groups".* FROM "coalescing_panda_groups" [1m[36m (0.3ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 92' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 92' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:29:51 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", Thu, 08 Jan 2015 18:29:51 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 93' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 93' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "92"], ["created_at", Thu, 08 Jan 2015 18:29:51 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", Thu, 08 Jan 2015 18:29:51 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 18:29:51 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:29:51 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 33], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 18:29:51 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:29:51 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 18:29:51 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 18:29:51 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Group Load (0.0ms)[0m SELECT "coalescing_panda_groups".* FROM "coalescing_panda_groups" WHERE "coalescing_panda_groups"."context_id" = ? AND "coalescing_panda_groups"."context_type" = ? AND (canvas_group_id = '4') ORDER BY "coalescing_panda_groups"."id" ASC LIMIT 1 [["context_id", 1], ["context_type", "CoalescingPanda::Course"]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_groups" ("canvas_group_id", "context_id", "context_type", "created_at", "group_category_id", "members_count", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_group_id", 4], ["context_id", 1], ["context_type", "CoalescingPanda::Course"], ["created_at", Thu, 08 Jan 2015 18:29:51 UTC +00:00], ["group_category_id", 3], ["members_count", 2], ["name", "Student Group 1"], ["updated_at", Thu, 08 Jan 2015 18:29:51 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Group Load (0.0ms)[0m SELECT "coalescing_panda_groups".* FROM "coalescing_panda_groups" WHERE "coalescing_panda_groups"."context_id" = ? AND "coalescing_panda_groups"."context_type" = ? AND (canvas_group_id = '5') ORDER BY "coalescing_panda_groups"."id" ASC LIMIT 1 [["context_id", 1], ["context_type", "CoalescingPanda::Course"]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_groups" ("canvas_group_id", "context_id", "context_type", "created_at", "group_category_id", "members_count", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_group_id", 5], ["context_id", 1], ["context_type", "CoalescingPanda::Course"], ["created_at", Thu, 08 Jan 2015 18:29:51 UTC +00:00], ["group_category_id", 3], ["members_count", 2], ["name", "Student Group 2"], ["updated_at", Thu, 08 Jan 2015 18:29:51 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "coalescing_panda_groups" [1m[36m (0.6ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mCoalescingPanda::GroupMembership Load (0.1ms)[0m [1mSELECT "coalescing_panda_group_memberships".* FROM "coalescing_panda_group_memberships"[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 94' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 94' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "93"], ["created_at", Thu, 08 Jan 2015 18:29:51 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", Thu, 08 Jan 2015 18:29:51 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 95' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 95' LIMIT 1[0m [1m[35mSQL (0.7ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:29:51 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", Thu, 08 Jan 2015 18:29:51 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 39], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 18:29:51 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:29:51 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 18:29:51 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:29:51 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Thu, 08 Jan 2015 18:29:51 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 18:29:51 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::GroupMembership Load (0.0ms)[0m [1mSELECT "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 (canvas_group_membership_id = '13') ORDER BY "coalescing_panda_group_memberships"."id" ASC LIMIT 1[0m [["context_id", 1], ["context_type", "CoalescingPanda::Course"]] [1m[35mCoalescingPanda::Group Load (0.0ms)[0m 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" = '4' LIMIT 1 [["context_id", 1], ["context_type", "CoalescingPanda::Course"]] [1m[36mCoalescingPanda::User Load (0.0ms)[0m [1mSELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' LIMIT 1[0m [["coalescing_panda_lti_account_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_group_memberships" ("canvas_group_membership_id", "created_at", "updated_at", "workflow_state") VALUES (?, ?, ?, ?)[0m [["canvas_group_membership_id", 13], ["created_at", Thu, 08 Jan 2015 18:29:51 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:29:51 UTC +00:00], ["workflow_state", "accepted"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::GroupMembership Load (0.0ms)[0m [1mSELECT "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 (canvas_group_membership_id = '14') ORDER BY "coalescing_panda_group_memberships"."id" ASC LIMIT 1[0m [["context_id", 1], ["context_type", "CoalescingPanda::Course"]] [1m[35mCoalescingPanda::Group Load (0.0ms)[0m 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" = '4' LIMIT 1 [["context_id", 1], ["context_type", "CoalescingPanda::Course"]] [1m[36mCoalescingPanda::User Load (0.0ms)[0m [1mSELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' LIMIT 1[0m [["coalescing_panda_lti_account_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_group_memberships" ("canvas_group_membership_id", "created_at", "updated_at", "workflow_state") VALUES (?, ?, ?, ?)[0m [["canvas_group_membership_id", 14], ["created_at", Thu, 08 Jan 2015 18:29:51 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:29:51 UTC +00:00], ["workflow_state", "accepted"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "coalescing_panda_group_memberships"[0m [1m[35m (0.6ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 96' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 96' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "95"], ["created_at", Thu, 08 Jan 2015 18:29: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", Thu, 08 Jan 2015 18:29:51 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 97' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 97' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:29: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", Thu, 08 Jan 2015 18:29:51 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 40], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 18:29:51 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:29:51 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 18:29:51 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:29:51 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Thu, 08 Jan 2015 18:29:51 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 18:29:51 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 98' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 98' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:29: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", Thu, 08 Jan 2015 18:29:51 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 99' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 99' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "98"], ["created_at", Thu, 08 Jan 2015 18:29: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", Thu, 08 Jan 2015 18:29:51 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 18:29:51 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:29:51 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 36], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 18:29:51 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:29:51 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 18:29:51 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 18:29:51 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.6ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 100' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 100' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "99"], ["created_at", Thu, 08 Jan 2015 18:29: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", Thu, 08 Jan 2015 18:29:51 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 101' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 101' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:29: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", Thu, 08 Jan 2015 18:29:51 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 42], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 18:29:51 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:29:51 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 18:29:51 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:29:51 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Thu, 08 Jan 2015 18:29:51 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 18:29:51 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 102' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 102' LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:29: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", Thu, 08 Jan 2015 18:29:51 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 103' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 103' LIMIT 1 [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "102"], ["created_at", Thu, 08 Jan 2015 18:29: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", Thu, 08 Jan 2015 18:29:51 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 18:29:51 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:29:51 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 38], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 18:29:51 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:29:51 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 18:29:51 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 18:29:51 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.6ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 104' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 104' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "103"], ["created_at", Thu, 08 Jan 2015 18:29: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", Thu, 08 Jan 2015 18:29:51 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 105' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 105' LIMIT 1[0m [1m[35mSQL (0.6ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:29: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", Thu, 08 Jan 2015 18:29:51 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 44], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 18:29:51 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:29:51 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (1.7ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 18:29:51 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:29:51 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Thu, 08 Jan 2015 18:29:51 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 18:29:51 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 106' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 106' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:29: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", Thu, 08 Jan 2015 18:29:51 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 107' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 107' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "106"], ["created_at", Thu, 08 Jan 2015 18:29: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", Thu, 08 Jan 2015 18:29:51 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m 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", Thu, 08 Jan 2015 18:29:51 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:29:51 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 40], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 18:29:51 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:29:51 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 18:29:51 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 18:29:51 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.9ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 108' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 108' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "107"], ["created_at", Thu, 08 Jan 2015 18:29: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", Thu, 08 Jan 2015 18:29:51 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 109' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 109' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:29: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", Thu, 08 Jan 2015 18:29:51 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 46], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 18:29:51 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:29:51 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 18:29:51 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:29:51 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Thu, 08 Jan 2015 18:29:51 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 18:29:51 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.8ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 110' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 110' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:29: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", Thu, 08 Jan 2015 18:29:51 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 111' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 111' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "110"], ["created_at", Thu, 08 Jan 2015 18:29: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", Thu, 08 Jan 2015 18:29:51 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 18:29:51 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:29:51 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 42], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 18:29:51 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:29:51 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 18:29:51 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 18:29:51 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.8ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 112' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 112' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "111"], ["created_at", Thu, 08 Jan 2015 18:29: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", Thu, 08 Jan 2015 18:29:51 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 113' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 113' LIMIT 1[0m [1m[35mSQL (0.6ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:29: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", Thu, 08 Jan 2015 18:29:51 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 48], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 18:29:51 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:29:51 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 18:29:51 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:29:51 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Thu, 08 Jan 2015 18:29:51 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 18:29:51 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.9ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 114' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 114' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:29: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", Thu, 08 Jan 2015 18:29:51 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 115' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 115' LIMIT 1 [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "114"], ["created_at", Thu, 08 Jan 2015 18:29: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", Thu, 08 Jan 2015 18:29:51 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 18:29:51 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:29:51 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 44], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 18:29:51 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:29:51 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 18:29:51 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 18:29:51 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.6ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 116' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 116' LIMIT 1 [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "115"], ["created_at", Thu, 08 Jan 2015 18:29: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", Thu, 08 Jan 2015 18:29:51 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 117' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 117' LIMIT 1[0m [1m[35mSQL (0.6ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:29: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", Thu, 08 Jan 2015 18:29:51 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 50], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 18:29:51 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:29:51 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 18:29:51 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:29:51 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Thu, 08 Jan 2015 18:29:51 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 18:29:51 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 118' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 118' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "117"], ["created_at", Thu, 08 Jan 2015 18:29:51 UTC +00:00], ["key", "Key 118"], ["name", "Account 118"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 118"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Thu, 08 Jan 2015 18:29:51 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 119' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 119' LIMIT 1 [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "118"], ["created_at", Thu, 08 Jan 2015 18:29:51 UTC +00:00], ["key", "Key 119"], ["name", "Account 119"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 119"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Thu, 08 Jan 2015 18:29:51 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 51], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 18:29:51 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:29:51 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 46], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 18:29:51 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:29:51 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 18:29:51 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:29:51 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 120' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 120' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "119"], ["created_at", Thu, 08 Jan 2015 18:29:51 UTC +00:00], ["key", "Key 120"], ["name", "Account 120"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 120"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Thu, 08 Jan 2015 18:29:51 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 121' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 121' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "120"], ["created_at", Thu, 08 Jan 2015 18:29:51 UTC +00:00], ["key", "Key 121"], ["name", "Account 121"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 121"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Thu, 08 Jan 2015 18:29:51 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 52], ["coalescing_panda_lti_account_id", 4], ["created_at", Thu, 08 Jan 2015 18:29:51 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:29:51 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 47], ["coalescing_panda_lti_account_id", 3], ["coalescing_panda_term_id", 2], ["created_at", Thu, 08 Jan 2015 18:29:51 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:29:51 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::Course Load (0.1ms)[0m [1mSELECT "coalescing_panda_courses".* FROM "coalescing_panda_courses" WHERE "coalescing_panda_courses"."id" = ? LIMIT 1[0m [["id", 2]] [1m[35mSQL (0.1ms)[0m UPDATE "coalescing_panda_sections" SET "coalescing_panda_course_id" = ?, "updated_at" = ? WHERE "coalescing_panda_sections"."id" = 1 [["coalescing_panda_course_id", 2], ["updated_at", Thu, 08 Jan 2015 18:29:51 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Thu, 08 Jan 2015 18:29:51 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 18:29:51 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 18:29:51 UTC +00:00], ["email", "test18@test.com"], ["name", "Factory User 18"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 18:29:51 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::User Load (0.1ms)[0m 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]] [1m[36mCoalescingPanda::Section Load (0.1ms)[0m [1mSELECT "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[0m [["coalescing_panda_course_id", 2]] [1m[35m (0.9ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 122' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 122' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "121"], ["created_at", Thu, 08 Jan 2015 18:29:51 UTC +00:00], ["key", "Key 122"], ["name", "Account 122"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 122"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Thu, 08 Jan 2015 18:29:51 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 123' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 123' LIMIT 1[0m [1m[35mSQL (0.7ms)[0m INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "122"], ["created_at", Thu, 08 Jan 2015 18:29:51 UTC +00:00], ["key", "Key 123"], ["name", "Account 123"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 123"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Thu, 08 Jan 2015 18:29:51 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 53], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 18:29:51 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:29:51 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 48], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 18:29:51 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:29:51 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Thu, 08 Jan 2015 18:29:51 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 18:29:51 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (1.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 124' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 124' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "123"], ["created_at", Thu, 08 Jan 2015 18:29:51 UTC +00:00], ["key", "Key 124"], ["name", "Account 124"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 124"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Thu, 08 Jan 2015 18:29:51 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 125' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 125' LIMIT 1 [1m[36mSQL (0.7ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "124"], ["created_at", Thu, 08 Jan 2015 18:29:51 UTC +00:00], ["key", "Key 125"], ["name", "Account 125"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 125"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Thu, 08 Jan 2015 18:29:51 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 54], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 18:29:51 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:29:51 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 49], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 18:29:51 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:29:51 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_assignment_id", "9"], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 18:29:51 UTC +00:00], ["name", "test assignment"], ["submission_types", nil], ["updated_at", Thu, 08 Jan 2015 18:29:51 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Thu, 08 Jan 2015 18:29:51 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 18:29:51 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m 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", Thu, 08 Jan 2015 18:29:51 UTC +00:00], ["email", "test19@test.com"], ["name", "Factory User 19"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 18:29:51 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::User Load (0.1ms)[0m 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]] [1m[36mCoalescingPanda::Assignment Load (0.2ms)[0m [1mSELECT "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[0m [["coalescing_panda_course_id", 1]] [1m[35m (0.8ms)[0m rollback transaction [1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m [1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations" [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m Processing by CoalescingPanda::LtiController#lti_config as HTML Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m Processing by CoalescingPanda::LtiController#lti_config as HTML Completed 500 Internal Server Error in 1ms [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m Processing by CoalescingPanda::Oauth2Controller#redirect as HTML Parameters: {"user_id"=>"1", "api_domain"=>"foo.com", "code"=>"bar"} Completed 200 OK in 5ms (Views: 5.1ms | ActiveRecord: 0.0ms) [1m[35mCoalescingPanda::CanvasApiAuth Load (0.1ms)[0m 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 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction Processing by CoalescingPanda::Oauth2Controller#redirect as HTML Parameters: {"error"=>"your face"} Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "coalescing_panda_canvas_api_auths"[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 1' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 1' LIMIT 1 [1m[36mSQL (2.8ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "1"], ["created_at", Thu, 08 Jan 2015 18:30: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", Thu, 08 Jan 2015 18:30:20 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 2' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 2' LIMIT 1[0m [1m[35mSQL (1.2ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:30: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", Thu, 08 Jan 2015 18:30:20 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 1], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 18:30:20 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:30:20 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 18:30:20 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:30:20 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (1.3ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 3' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 3' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "3"], ["created_at", Thu, 08 Jan 2015 18:30: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", Thu, 08 Jan 2015 18:30:20 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 4' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 4' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:30: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", Thu, 08 Jan 2015 18:30:20 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 2], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 18:30:20 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:30:20 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 18:30:20 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:30:20 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.8ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 5' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 5' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "5"], ["created_at", Thu, 08 Jan 2015 18:30: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", Thu, 08 Jan 2015 18:30:20 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 6' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 6' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:30: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", Thu, 08 Jan 2015 18:30:20 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 3], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 18:30:20 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:30:20 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 18:30:20 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:30:20 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_assignment_id", "1"], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 18:30:20 UTC +00:00], ["name", "test assignment"], ["submission_types", nil], ["updated_at", Thu, 08 Jan 2015 18:30:20 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_assignment_id", "1"], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 18:30:20 UTC +00:00], ["name", "test assignment"], ["submission_types", nil], ["updated_at", Thu, 08 Jan 2015 18:30:20 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", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m [1m[35m (1.0ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 7' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 7' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "7"], ["created_at", Thu, 08 Jan 2015 18:30: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", Thu, 08 Jan 2015 18:30:20 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 8' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 8' LIMIT 1[0m [1m[35mSQL (0.6ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:30: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", Thu, 08 Jan 2015 18:30:20 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 4], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 18:30:20 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:30:20 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 18:30:20 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:30:20 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.6ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mCoalescingPanda::CanvasApiAuth Load (0.1ms)[0m SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" ORDER BY "coalescing_panda_canvas_api_auths"."id" ASC LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_panda_canvas_api_auths" ("created_at", "updated_at", "user_id") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 18:30:20 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:30:20 UTC +00:00], ["user_id", "a"]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::CanvasApiAuth Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1 [1m[36mCoalescingPanda::CanvasApiAuth Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1[0m [1m[35mCoalescingPanda::CanvasApiAuth Load (0.1ms)[0m SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" [1m[36mCoalescingPanda::CanvasApiAuth Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" = '1') LIMIT 1[0m [1m[35mCoalescingPanda::CanvasApiAuth Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" = '1') LIMIT 1 [1m[36m (0.4ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mCoalescingPanda::CanvasApiAuth Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1[0m [1m[35mCoalescingPanda::CanvasApiAuth Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1 [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mCoalescingPanda::CanvasApiAuth Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1[0m [1m[35mCoalescingPanda::CanvasApiAuth Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.6ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 18:30:20 UTC +00:00], ["status", "Pending"], ["updated_at", Thu, 08 Jan 2015 18:30:20 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Thu, 08 Jan 2015 18:30:20 UTC +00:00], ["status", "Pending"], ["updated_at", Thu, 08 Jan 2015 18:30:20 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 18:30:20 UTC +00:00], ["status", "Pending"], ["updated_at", Thu, 08 Jan 2015 18:30:20 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::CanvasBatch Load (0.1ms)[0m SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" ORDER BY created_at DESC [1m[36m (0.6ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 9' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 9' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:30: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", Thu, 08 Jan 2015 18:30:20 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 10' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 10' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "10"], ["created_at", Thu, 08 Jan 2015 18:30: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", Thu, 08 Jan 2015 18:30:20 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 18:30:20 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:30:20 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.9ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 11' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 11' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "11"], ["created_at", Thu, 08 Jan 2015 18:30: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", Thu, 08 Jan 2015 18:30:20 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 12' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 12' LIMIT 1[0m [1m[35mSQL (0.6ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:30: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", Thu, 08 Jan 2015 18:30:20 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 6], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 18:30:20 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:30:20 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.8ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.2ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 13' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 13' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:30: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", Thu, 08 Jan 2015 18:30:20 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 14' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 14' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "14"], ["created_at", Thu, 08 Jan 2015 18:30:20 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", Thu, 08 Jan 2015 18:30:20 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m 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", Thu, 08 Jan 2015 18:30:20 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:30:20 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 18:30:20 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:30:20 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 15' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 15' LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:30: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", Thu, 08 Jan 2015 18:30:20 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 8], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 18:30:20 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:30:20 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 18:30:20 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:30:20 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 (?, ?, ?, ?, ?, ?) [1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m [1m[35m (1.0ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 16' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 16' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "16"], ["created_at", Thu, 08 Jan 2015 18:30: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", Thu, 08 Jan 2015 18:30:20 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.6ms)[0m 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", Thu, 08 Jan 2015 18:30:20 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:30:20 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 17' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 17' LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "17"], ["created_at", Thu, 08 Jan 2015 18:30: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", Thu, 08 Jan 2015 18:30:20 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 18:30:20 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:30:20 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 18' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 18' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "18"], ["created_at", Thu, 08 Jan 2015 18:30: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", Thu, 08 Jan 2015 18:30:20 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 18:30:20 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:30:20 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 (?, ?, ?, ?, ?, ?) [1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m [1m[35m (0.6ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 19' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 19' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "19"], ["created_at", Thu, 08 Jan 2015 18:30: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", Thu, 08 Jan 2015 18:30:20 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 20' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 20' LIMIT 1[0m [1m[35mSQL (0.7ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:30:20 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", Thu, 08 Jan 2015 18:30:20 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 10], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 18:30:20 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:30:20 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.6ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 21' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 21' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:30:20 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", Thu, 08 Jan 2015 18:30:20 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.7ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 18:30:20 UTC +00:00], ["email", "test1@test.com"], ["name", "Factory User 1"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 18:30:20 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 22' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 22' LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:30:20 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", Thu, 08 Jan 2015 18:30:20 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 23' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 23' LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "23"], ["created_at", Thu, 08 Jan 2015 18:30:20 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", Thu, 08 Jan 2015 18:30:20 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m 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", Thu, 08 Jan 2015 18:30:20 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:30:20 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 7], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 18:30:20 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:30:20 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m 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", Thu, 08 Jan 2015 18:30:20 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:30:20 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.9ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 24' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 24' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "24"], ["created_at", Thu, 08 Jan 2015 18:30:20 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", Thu, 08 Jan 2015 18:30:20 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.7ms)[0m 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", Thu, 08 Jan 2015 18:30:20 UTC +00:00], ["email", "test2@test.com"], ["name", "Factory User 2"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 18:30:20 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 25' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 25' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "25"], ["created_at", Thu, 08 Jan 2015 18:30:20 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", Thu, 08 Jan 2015 18:30:20 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 26' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 26' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:30:20 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", Thu, 08 Jan 2015 18:30:20 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 12], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 18:30:20 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:30:20 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 18:30:20 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:30:20 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_section_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 18:30:20 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:30:20 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.8ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 27' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 27' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:30:20 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", Thu, 08 Jan 2015 18:30:20 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 18:30:20 UTC +00:00], ["email", "test3@test.com"], ["name", "Factory User 3"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 18:30:20 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 28' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 28' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:30:20 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", Thu, 08 Jan 2015 18:30:20 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 29' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 29' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "29"], ["created_at", Thu, 08 Jan 2015 18:30:20 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", Thu, 08 Jan 2015 18:30:20 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 18:30:20 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:30:20 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 9], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 18:30:20 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:30:20 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 18:30:20 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:30:20 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 30' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 30' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "30"], ["created_at", Thu, 08 Jan 2015 18:30:20 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", Thu, 08 Jan 2015 18:30:20 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.6ms)[0m 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", Thu, 08 Jan 2015 18:30:20 UTC +00:00], ["email", "test4@test.com"], ["name", "Factory User 4"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 18:30:20 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 31' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 31' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "31"], ["created_at", Thu, 08 Jan 2015 18:30:20 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", Thu, 08 Jan 2015 18:30:20 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 32' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 32' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:30:20 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", Thu, 08 Jan 2015 18:30:20 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 14], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 18:30:20 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:30:20 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 18:30:20 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:30:20 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_section_id", 4], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 18:30:20 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:30:20 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m 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", Thu, 08 Jan 2015 18:30:20 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Thu, 08 Jan 2015 18:30:20 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_enrollment_id", 4], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Thu, 08 Jan 2015 18:30:20 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Thu, 08 Jan 2015 18:30:20 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 (?, ?, ?, ?, ?, ?) [1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1 [1m[36m (0.8ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 33' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 33' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:30:20 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", Thu, 08 Jan 2015 18:30:20 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 5], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 18:30:20 UTC +00:00], ["email", "test5@test.com"], ["name", "Factory User 5"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 18:30:20 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 34' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 34' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:30:20 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", Thu, 08 Jan 2015 18:30:20 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 35' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 35' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "35"], ["created_at", Thu, 08 Jan 2015 18:30:20 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", Thu, 08 Jan 2015 18:30:20 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 18:30:20 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:30:20 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 11], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 18:30:20 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:30:20 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 18:30:20 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:30:20 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_enrollment_id", 5], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Thu, 08 Jan 2015 18:30:20 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Thu, 08 Jan 2015 18:30:20 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 18:30:20 UTC +00:00], ["enrollment_type", "TeacherEnrollment"], ["updated_at", Thu, 08 Jan 2015 18:30:20 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.9ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 36' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 36' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "36"], ["created_at", Thu, 08 Jan 2015 18:30:20 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", Thu, 08 Jan 2015 18:30:20 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.6ms)[0m 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", Thu, 08 Jan 2015 18:30:20 UTC +00:00], ["email", "test6@test.com"], ["name", "Factory User 6"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 18:30:20 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 37' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 37' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "37"], ["created_at", Thu, 08 Jan 2015 18:30:20 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", Thu, 08 Jan 2015 18:30:20 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 38' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 38' LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:30:20 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", Thu, 08 Jan 2015 18:30:20 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 16], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 18:30:20 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:30:20 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 18:30:20 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:30:20 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_section_id", 6], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 18:30:20 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:30:20 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mCoalescingPanda::LtiAccount Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 39' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 39' LIMIT 1 [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 40' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 40' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:30:20 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", Thu, 08 Jan 2015 18:30:20 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 41' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 41' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "40"], ["created_at", Thu, 08 Jan 2015 18:30:20 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", Thu, 08 Jan 2015 18:30:20 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 18:30:20 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:30:20 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 13], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 18:30:20 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:30:20 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (1.0ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.2ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 42' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 42' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:30:20 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", Thu, 08 Jan 2015 18:30:20 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 43' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 43' LIMIT 1 [1m[36mSQL (0.7ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "42"], ["created_at", Thu, 08 Jan 2015 18:30:20 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", Thu, 08 Jan 2015 18:30:20 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 18:30:20 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:30:20 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 14], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 18:30:20 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:30:20 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.6ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 44' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 44' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:30:20 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", Thu, 08 Jan 2015 18:30:20 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 45' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 45' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "44"], ["created_at", Thu, 08 Jan 2015 18:30:20 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", Thu, 08 Jan 2015 18:30:20 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 18:30:20 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:30:20 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 15], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 18:30:20 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:30:20 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 18:30:20 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:30:20 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_section_id", "1"], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 18:30:20 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:30:20 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 (?, ?, ?, ?) [1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1 [1m[36m (0.8ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 46' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 46' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:30:20 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", Thu, 08 Jan 2015 18:30:20 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 47' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 47' LIMIT 1 [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "46"], ["created_at", Thu, 08 Jan 2015 18:30:20 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", Thu, 08 Jan 2015 18:30:20 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 18:30:20 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:30:20 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 16], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 18:30:20 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:30:20 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.6ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 48' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 48' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:30:20 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", Thu, 08 Jan 2015 18:30:20 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 7], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 18:30:20 UTC +00:00], ["email", "test7@test.com"], ["name", "Factory User 7"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 18:30:20 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 49' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 49' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:30:20 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", Thu, 08 Jan 2015 18:30:20 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 50' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 50' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "49"], ["created_at", Thu, 08 Jan 2015 18:30:20 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", Thu, 08 Jan 2015 18:30:20 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 18:30:20 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:30:20 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 17], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 18:30:20 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:30:20 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_assignment_id", "3"], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 18:30:20 UTC +00:00], ["name", "test assignment"], ["submission_types", nil], ["updated_at", Thu, 08 Jan 2015 18:30:20 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.8ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 51' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 51' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "50"], ["created_at", Thu, 08 Jan 2015 18:30:20 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", Thu, 08 Jan 2015 18:30:20 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.7ms)[0m 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", Thu, 08 Jan 2015 18:30:20 UTC +00:00], ["email", "test8@test.com"], ["name", "Factory User 8"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 18:30:20 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 52' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 52' LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "51"], ["created_at", Thu, 08 Jan 2015 18:30:20 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", Thu, 08 Jan 2015 18:30:20 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 53' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 53' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:30:20 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", Thu, 08 Jan 2015 18:30:20 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 22], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 18:30:20 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:30:20 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 18:30:20 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:30:20 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_assignment_id", "4"], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 18:30:20 UTC +00:00], ["name", "test assignment"], ["submission_types", nil], ["updated_at", Thu, 08 Jan 2015 18:30:20 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 54' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 54' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:30:20 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", Thu, 08 Jan 2015 18:30:20 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 9], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 18:30:20 UTC +00:00], ["email", "test9@test.com"], ["name", "Factory User 9"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 18:30:20 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 55' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 55' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:30:20 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", Thu, 08 Jan 2015 18:30:20 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 56' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 56' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "55"], ["created_at", Thu, 08 Jan 2015 18:30:20 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", Thu, 08 Jan 2015 18:30:20 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 18:30:20 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:30:20 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 19], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 18:30:20 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:30:20 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_assignment_id", "5"], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 18:30:20 UTC +00:00], ["name", "test assignment"], ["submission_types", nil], ["updated_at", Thu, 08 Jan 2015 18:30:20 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.9ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 57' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 57' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "56"], ["created_at", Thu, 08 Jan 2015 18:30:20 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", Thu, 08 Jan 2015 18:30:20 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.7ms)[0m 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", Thu, 08 Jan 2015 18:30:20 UTC +00:00], ["email", "test10@test.com"], ["name", "Factory User 10"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 18:30:20 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 58' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 58' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "57"], ["created_at", Thu, 08 Jan 2015 18:30:20 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", Thu, 08 Jan 2015 18:30:20 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 59' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 59' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:30:20 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", Thu, 08 Jan 2015 18:30:20 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 24], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 18:30:20 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:30:20 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 18:30:20 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:30:20 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_assignment_id", "6"], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 18:30:20 UTC +00:00], ["name", "test assignment"], ["submission_types", nil], ["updated_at", Thu, 08 Jan 2015 18:30:20 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m 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", Thu, 08 Jan 2015 18:30:20 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:30:20 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["canvas_submission_id", "1"], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Thu, 08 Jan 2015 18:30:20 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:30:20 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 (?, ?, ?, ?, ?) [1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1 [1m[36m (0.8ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 60' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 60' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:30:20 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", Thu, 08 Jan 2015 18:30:20 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 11], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 18:30:20 UTC +00:00], ["email", "test11@test.com"], ["name", "Factory User 11"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 18:30:20 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 61' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 61' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:30:20 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", Thu, 08 Jan 2015 18:30:20 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 62' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 62' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "61"], ["created_at", Thu, 08 Jan 2015 18:30:20 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", Thu, 08 Jan 2015 18:30:20 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 18:30:20 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:30:20 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 21], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 18:30:20 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:30:20 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_assignment_id", "7"], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 18:30:20 UTC +00:00], ["name", "test assignment"], ["submission_types", nil], ["updated_at", Thu, 08 Jan 2015 18:30:20 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["canvas_submission_id", "1"], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Thu, 08 Jan 2015 18:30:20 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:30:20 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m 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", Thu, 08 Jan 2015 18:30:20 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:30:20 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.8ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 63' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 63' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "62"], ["created_at", Thu, 08 Jan 2015 18:30:20 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", Thu, 08 Jan 2015 18:30:20 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.5ms)[0m 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", Thu, 08 Jan 2015 18:30:20 UTC +00:00], ["email", "test12@test.com"], ["name", "Factory User 12"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 18:30:20 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 64' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 64' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "63"], ["created_at", Thu, 08 Jan 2015 18:30:20 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", Thu, 08 Jan 2015 18:30:20 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 65' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 65' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:30:20 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", Thu, 08 Jan 2015 18:30:20 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 26], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 18:30:20 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:30:20 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 18:30:20 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:30:20 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_assignment_id", "8"], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 18:30:20 UTC +00:00], ["name", "test assignment"], ["submission_types", nil], ["updated_at", Thu, 08 Jan 2015 18:30:20 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 66' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 66' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:30:20 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", Thu, 08 Jan 2015 18:30:20 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.4ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 67' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 67' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "66"], ["created_at", Thu, 08 Jan 2015 18:30:20 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", Thu, 08 Jan 2015 18:30:20 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.6ms)[0m 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", Thu, 08 Jan 2015 18:30:20 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:30:20 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 18:30:20 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:30:20 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 (?, ?, ?, ?) [1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1 [1m[36m (3.2ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 68' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 68' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:30:20 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", Thu, 08 Jan 2015 18:30:20 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.6ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 69' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 69' LIMIT 1 [1m[36mSQL (1.6ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "68"], ["created_at", Thu, 08 Jan 2015 18:30:20 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", Thu, 08 Jan 2015 18:30:20 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.4ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 70' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 70' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:30:20 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", Thu, 08 Jan 2015 18:30:20 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 18:30:20 UTC +00:00], ["email", "test15@test.com"], ["name", "Factory User 15"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 18:30:20 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m 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", Thu, 08 Jan 2015 18:30:20 UTC +00:00], ["email", "test16@test.com"], ["name", "Factory User 16"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 18:30:20 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 (?, ?, ?, ?, ?, ?, ?) [1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 71' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 71' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "70"], ["created_at", Thu, 08 Jan 2015 18:30:20 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", Thu, 08 Jan 2015 18:30:20 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.4ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (49.5ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 72' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 72' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:30:20 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", Thu, 08 Jan 2015 18:30:20 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 73' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 73' LIMIT 1 [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "72"], ["created_at", Thu, 08 Jan 2015 18:30:20 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", Thu, 08 Jan 2015 18:30:20 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 18:30:20 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:30:20 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 23], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 18:30:20 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:30:20 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 18:30:20 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 18:30:20 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::CanvasBatch Load (0.1ms)[0m SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" ORDER BY created_at ASC LIMIT 1 [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 74' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 74' LIMIT 1[0m [1m[35mSQL (0.6ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:30:20 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", Thu, 08 Jan 2015 18:30:20 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 75' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 75' LIMIT 1 [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "74"], ["created_at", Thu, 08 Jan 2015 18:30:20 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", Thu, 08 Jan 2015 18:30:20 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 18:30:20 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:30:20 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 24], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 18:30:20 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:30:20 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 18:30:20 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 18:30:20 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 76' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 76' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "75"], ["created_at", Thu, 08 Jan 2015 18:30:20 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", Thu, 08 Jan 2015 18:30:20 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 77' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 77' LIMIT 1[0m [1m[35mSQL (0.6ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:30:20 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", Thu, 08 Jan 2015 18:30:20 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 30], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 18:30:20 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:30:20 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 18:30:20 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:30:20 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Thu, 08 Jan 2015 18:30:20 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 18:30:20 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m UPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["status", "Started"], ["updated_at", Thu, 08 Jan 2015 18:30:20 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Section Load (0.1ms)[0m SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 18:30:20 UTC +00:00], ["name", "Course1"], ["updated_at", Thu, 08 Jan 2015 18:30:20 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mUPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1[0m [["percent_complete", 14.3], ["updated_at", Thu, 08 Jan 2015 18:30:20 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::User Load (0.1ms)[0m [1mSELECT "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[0m [["coalescing_panda_lti_account_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 18:30:20 UTC +00:00], ["name", "teacher@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 18:30:20 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::User Load (0.1ms)[0m [1mSELECT "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[0m [["coalescing_panda_lti_account_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 18:30:20 UTC +00:00], ["name", "student1@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 18:30:20 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::User Load (0.1ms)[0m [1mSELECT "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[0m [["coalescing_panda_lti_account_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 18:30:20 UTC +00:00], ["name", "student2@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 18:30:20 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 28.6], ["updated_at", Thu, 08 Jan 2015 18:30:20 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Enrollment Load (0.1ms)[0m SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '1') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36mCoalescingPanda::User Load (0.1ms)[0m [1mSELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '1' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1[0m [["coalescing_panda_lti_account_id", 1]] [1m[35mCoalescingPanda::Section Load (0.1ms)[0m SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "coalescing_panda_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"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Enrollment Load (0.1ms)[0m SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '2') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36mCoalescingPanda::User Load (0.1ms)[0m [1mSELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1[0m [["coalescing_panda_lti_account_id", 1]] [1m[35mCoalescingPanda::Section Load (0.0ms)[0m SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_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"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Enrollment Load (0.1ms)[0m SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '3') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36mCoalescingPanda::User Load (0.1ms)[0m [1mSELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1[0m [["coalescing_panda_lti_account_id", 1]] [1m[35mCoalescingPanda::Section Load (0.0ms)[0m SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_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"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mUPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1[0m [["percent_complete", 42.9], ["updated_at", Thu, 08 Jan 2015 18:30:20 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::Assignment Load (0.1ms)[0m [1mSELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "grade_group_students_individually", "name", "points_possible", "published", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_assignment_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 18:04:38 UTC +00:00], ["description", "What is your name?
"], ["grade_group_students_individually", false], ["name", "Gimme your name"], ["points_possible", 100.0], ["published", true], ["submission_types", "---\n- online_text_entry\n"], ["updated_at", Tue, 18 Nov 2014 18:04:42 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::Assignment Load (0.1ms)[0m [1mSELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "grade_group_students_individually", "name", "points_possible", "published", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_assignment_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 19:10:28 UTC +00:00], ["description", "What is your Favorite Color?
"], ["grade_group_students_individually", false], ["name", "Favorite Color"], ["points_possible", 100.0], ["published", true], ["submission_types", "---\n- online_text_entry\n"], ["updated_at", Tue, 18 Nov 2014 19:10:30 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 57.1], ["updated_at", Thu, 08 Jan 2015 18:30:20 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Assignment Load (0.1ms)[0m SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? [["coalescing_panda_course_id", 1]] [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 71.4], ["updated_at", Thu, 08 Jan 2015 18:30:20 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Group Load (0.1ms)[0m SELECT "coalescing_panda_groups".* FROM "coalescing_panda_groups" WHERE "coalescing_panda_groups"."context_id" = ? AND "coalescing_panda_groups"."context_type" = ? AND (canvas_group_id = '4') ORDER BY "coalescing_panda_groups"."id" ASC LIMIT 1 [["context_id", 1], ["context_type", "CoalescingPanda::Course"]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "coalescing_panda_groups" ("canvas_group_id", "context_id", "context_type", "created_at", "group_category_id", "members_count", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_group_id", 4], ["context_id", 1], ["context_type", "CoalescingPanda::Course"], ["created_at", Thu, 08 Jan 2015 18:30:20 UTC +00:00], ["group_category_id", 3], ["members_count", 2], ["name", "Student Group 1"], ["updated_at", Thu, 08 Jan 2015 18:30:20 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Group Load (0.1ms)[0m SELECT "coalescing_panda_groups".* FROM "coalescing_panda_groups" WHERE "coalescing_panda_groups"."context_id" = ? AND "coalescing_panda_groups"."context_type" = ? AND (canvas_group_id = '5') ORDER BY "coalescing_panda_groups"."id" ASC LIMIT 1 [["context_id", 1], ["context_type", "CoalescingPanda::Course"]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_groups" ("canvas_group_id", "context_id", "context_type", "created_at", "group_category_id", "members_count", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_group_id", 5], ["context_id", 1], ["context_type", "CoalescingPanda::Course"], ["created_at", Thu, 08 Jan 2015 18:30:20 UTC +00:00], ["group_category_id", 3], ["members_count", 2], ["name", "Student Group 2"], ["updated_at", Thu, 08 Jan 2015 18:30:20 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mUPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1[0m [["percent_complete", 85.7], ["updated_at", Thu, 08 Jan 2015 18:30:20 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::Group Load (0.1ms)[0m [1mSELECT "coalescing_panda_groups".* FROM "coalescing_panda_groups" WHERE "coalescing_panda_groups"."context_id" = ? AND "coalescing_panda_groups"."context_type" = ?[0m [["context_id", 1], ["context_type", "CoalescingPanda::Course"]] [1m[35mCoalescingPanda::GroupMembership Load (0.1ms)[0m 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 (canvas_group_membership_id = '13') ORDER BY "coalescing_panda_group_memberships"."id" ASC LIMIT 1 [["context_id", 1], ["context_type", "CoalescingPanda::Course"]] [1m[36mCoalescingPanda::Group Load (0.1ms)[0m [1mSELECT "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" = '4' LIMIT 1[0m [["context_id", 1], ["context_type", "CoalescingPanda::Course"]] [1m[35mCoalescingPanda::User Load (0.1ms)[0m SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' LIMIT 1 [["coalescing_panda_lti_account_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "coalescing_panda_group_memberships" ("canvas_group_membership_id", "coalescing_panda_group_id", "coalescing_panda_user_id", "created_at", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?) [["canvas_group_membership_id", 13], ["coalescing_panda_group_id", 1], ["coalescing_panda_user_id", 2], ["created_at", Thu, 08 Jan 2015 18:30:20 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:30:20 UTC +00:00], ["workflow_state", "accepted"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::GroupMembership Load (0.1ms)[0m 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 (canvas_group_membership_id = '14') ORDER BY "coalescing_panda_group_memberships"."id" ASC LIMIT 1 [["context_id", 1], ["context_type", "CoalescingPanda::Course"]] [1m[36mCoalescingPanda::Group Load (0.0ms)[0m [1mSELECT "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" = '4' LIMIT 1[0m [["context_id", 1], ["context_type", "CoalescingPanda::Course"]] [1m[35mCoalescingPanda::User Load (0.1ms)[0m SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' LIMIT 1 [["coalescing_panda_lti_account_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_group_memberships" ("canvas_group_membership_id", "coalescing_panda_group_id", "coalescing_panda_user_id", "created_at", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?) [["canvas_group_membership_id", 14], ["coalescing_panda_group_id", 1], ["coalescing_panda_user_id", 3], ["created_at", Thu, 08 Jan 2015 18:30:20 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:30:20 UTC +00:00], ["workflow_state", "accepted"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::GroupMembership Load (0.0ms)[0m 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 (canvas_group_membership_id = '13') ORDER BY "coalescing_panda_group_memberships"."id" ASC LIMIT 1 [["context_id", 1], ["context_type", "CoalescingPanda::Course"]] [1m[36mCoalescingPanda::Group Load (0.1ms)[0m [1mSELECT "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" = '4' LIMIT 1[0m [["context_id", 1], ["context_type", "CoalescingPanda::Course"]] [1m[35mCoalescingPanda::User Load (0.0ms)[0m SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' LIMIT 1 [["coalescing_panda_lti_account_id", 1]] [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m UPDATE "coalescing_panda_group_memberships" SET "canvas_group_membership_id" = ?, "updated_at" = ? WHERE "coalescing_panda_group_memberships"."id" = 1 [["canvas_group_membership_id", 13], ["updated_at", Thu, 08 Jan 2015 18:30:21 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::GroupMembership Load (0.0ms)[0m 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 (canvas_group_membership_id = '14') ORDER BY "coalescing_panda_group_memberships"."id" ASC LIMIT 1 [["context_id", 1], ["context_type", "CoalescingPanda::Course"]] [1m[36mCoalescingPanda::Group Load (0.0ms)[0m [1mSELECT "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" = '4' LIMIT 1[0m [["context_id", 1], ["context_type", "CoalescingPanda::Course"]] [1m[35mCoalescingPanda::User Load (0.0ms)[0m SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' LIMIT 1 [["coalescing_panda_lti_account_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "coalescing_panda_group_memberships" SET "canvas_group_membership_id" = ?, "updated_at" = ? WHERE "coalescing_panda_group_memberships"."id" = 2 [["canvas_group_membership_id", 14], ["updated_at", Thu, 08 Jan 2015 18:30:21 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mUPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1[0m [["percent_complete", 100.0], ["updated_at", Thu, 08 Jan 2015 18:30:21 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["status", "Completed"], ["updated_at", Thu, 08 Jan 2015 18:30:21 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (1.2ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 78' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 78' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "77"], ["created_at", Thu, 08 Jan 2015 18:30:21 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", Thu, 08 Jan 2015 18:30:21 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 79' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 79' LIMIT 1[0m [1m[35mSQL (0.6ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:30:21 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", Thu, 08 Jan 2015 18:30:21 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 31], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 18:30:21 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:30:21 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 18:30:21 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:30:21 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Thu, 08 Jan 2015 18:30:21 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 18:30:21 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 80' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 80' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:30:21 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", Thu, 08 Jan 2015 18:30:21 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 81' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 81' LIMIT 1 [1m[36mSQL (0.7ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "80"], ["created_at", Thu, 08 Jan 2015 18:30:21 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", Thu, 08 Jan 2015 18:30:21 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 18:30:21 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:30:21 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 27], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 18:30:21 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:30:21 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 18:30:21 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 18:30:21 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mCoalescingPanda::Section Load (0.2ms)[0m SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 82' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 82' LIMIT 1[0m [1m[35mSQL (0.6ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:30:21 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", Thu, 08 Jan 2015 18:30:21 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 83' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 83' LIMIT 1 [1m[36mSQL (0.7ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "82"], ["created_at", Thu, 08 Jan 2015 18:30:21 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", Thu, 08 Jan 2015 18:30:21 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m 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", Thu, 08 Jan 2015 18:30:21 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:30:21 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 28], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 18:30:21 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:30:21 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 18:30:21 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 18:30:21 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Section Load (0.0ms)[0m SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 18:30:21 UTC +00:00], ["name", "Course1"], ["updated_at", Thu, 08 Jan 2015 18:30:21 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "coalescing_panda_sections" [1m[36m (0.8ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mCoalescingPanda::User Load (0.1ms)[0m [1mSELECT "coalescing_panda_users".* FROM "coalescing_panda_users"[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 84' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 84' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "83"], ["created_at", Thu, 08 Jan 2015 18:30:21 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", Thu, 08 Jan 2015 18:30:21 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 85' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 85' LIMIT 1[0m [1m[35mSQL (0.6ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:30:21 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", Thu, 08 Jan 2015 18:30:21 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 34], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 18:30:21 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:30:21 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 18:30:21 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:30:21 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Thu, 08 Jan 2015 18:30:21 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 18:30:21 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::User Load (0.0ms)[0m [1mSELECT "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[0m [["coalescing_panda_lti_account_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 18:30:21 UTC +00:00], ["name", "teacher@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 18:30:21 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::User Load (0.0ms)[0m [1mSELECT "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[0m [["coalescing_panda_lti_account_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 18:30:21 UTC +00:00], ["name", "student1@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 18:30:21 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::User Load (0.0ms)[0m [1mSELECT "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[0m [["coalescing_panda_lti_account_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 18:30:21 UTC +00:00], ["name", "student2@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 18:30:21 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "coalescing_panda_users"[0m [1m[35m (0.8ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mCoalescingPanda::Enrollment Load (0.1ms)[0m SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 86' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 86' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:30:21 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", Thu, 08 Jan 2015 18:30:21 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 87' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 87' LIMIT 1 [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "86"], ["created_at", Thu, 08 Jan 2015 18:30:21 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", Thu, 08 Jan 2015 18:30:21 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 18:30:21 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:30:21 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 30], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 18:30:21 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:30:21 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 18:30:21 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 18:30:21 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Section Load (0.0ms)[0m SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 18:30:21 UTC +00:00], ["name", "Course1"], ["updated_at", Thu, 08 Jan 2015 18:30:21 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::User Load (0.0ms)[0m 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]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 18:30:21 UTC +00:00], ["name", "teacher@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 18:30:21 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::User Load (0.0ms)[0m 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]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 18:30:21 UTC +00:00], ["name", "student1@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 18:30:21 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::User Load (0.0ms)[0m 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]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 18:30:21 UTC +00:00], ["name", "student2@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 18:30:21 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Enrollment Load (0.0ms)[0m SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '1') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36mCoalescingPanda::User Load (0.0ms)[0m [1mSELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '1' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1[0m [["coalescing_panda_lti_account_id", 1]] [1m[35mCoalescingPanda::Section Load (0.0ms)[0m SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_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"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Enrollment Load (0.0ms)[0m SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '2') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36mCoalescingPanda::User Load (0.0ms)[0m [1mSELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1[0m [["coalescing_panda_lti_account_id", 1]] [1m[35mCoalescingPanda::Section Load (0.0ms)[0m SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_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"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Enrollment Load (0.0ms)[0m SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '3') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36mCoalescingPanda::User Load (0.0ms)[0m [1mSELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1[0m [["coalescing_panda_lti_account_id", 1]] [1m[35mCoalescingPanda::Section Load (0.0ms)[0m SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_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"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "coalescing_panda_enrollments" [1m[36mCoalescingPanda::Enrollment Load (0.1ms)[0m [1mSELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" ORDER BY "coalescing_panda_enrollments"."id" DESC LIMIT 1[0m [1m[35m (0.8ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mCoalescingPanda::Assignment Load (0.2ms)[0m SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 88' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 88' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:30:21 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", Thu, 08 Jan 2015 18:30:21 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 89' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 89' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "88"], ["created_at", Thu, 08 Jan 2015 18:30:21 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", Thu, 08 Jan 2015 18:30:21 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m 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", Thu, 08 Jan 2015 18:30:21 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:30:21 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 31], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 18:30:21 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:30:21 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 18:30:21 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 18:30:21 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Assignment Load (0.0ms)[0m SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "grade_group_students_individually", "name", "points_possible", "published", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 18:04:38 UTC +00:00], ["description", "What is your name?
"], ["grade_group_students_individually", false], ["name", "Gimme your name"], ["points_possible", 100.0], ["published", true], ["submission_types", "---\n- online_text_entry\n"], ["updated_at", Tue, 18 Nov 2014 18:04:42 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Assignment Load (0.0ms)[0m SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "grade_group_students_individually", "name", "points_possible", "published", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 19:10:28 UTC +00:00], ["description", "What is your Favorite Color?
"], ["grade_group_students_individually", false], ["name", "Favorite Color"], ["points_possible", 100.0], ["published", true], ["submission_types", "---\n- online_text_entry\n"], ["updated_at", Tue, 18 Nov 2014 19:10:30 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "coalescing_panda_assignments" [1m[36m (1.0ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mCoalescingPanda::Submission Load (0.2ms)[0m [1mSELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions"[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 90' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 90' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "89"], ["created_at", Thu, 08 Jan 2015 18:30:21 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", Thu, 08 Jan 2015 18:30:21 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 91' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 91' LIMIT 1[0m [1m[35mSQL (0.8ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:30:21 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", Thu, 08 Jan 2015 18:30:21 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 37], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 18:30:21 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:30:21 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 18:30:21 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:30:21 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Thu, 08 Jan 2015 18:30:21 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 18:30:21 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::User Load (0.0ms)[0m [1mSELECT "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[0m [["coalescing_panda_lti_account_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 18:30:21 UTC +00:00], ["name", "teacher@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 18:30:21 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::User Load (0.0ms)[0m [1mSELECT "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[0m [["coalescing_panda_lti_account_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 18:30:21 UTC +00:00], ["name", "student1@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 18:30:21 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::User Load (0.0ms)[0m [1mSELECT "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[0m [["coalescing_panda_lti_account_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 18:30:21 UTC +00:00], ["name", "student2@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 18:30:21 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::Assignment Load (0.0ms)[0m [1mSELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "grade_group_students_individually", "name", "points_possible", "published", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_assignment_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 18:04:38 UTC +00:00], ["description", "What is your name?
"], ["grade_group_students_individually", false], ["name", "Gimme your name"], ["points_possible", 100.0], ["published", true], ["submission_types", "---\n- online_text_entry\n"], ["updated_at", Tue, 18 Nov 2014 18:04:42 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::Assignment Load (0.1ms)[0m [1mSELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "grade_group_students_individually", "name", "points_possible", "published", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_assignment_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 19:10:28 UTC +00:00], ["description", "What is your Favorite Color?
"], ["grade_group_students_individually", false], ["name", "Favorite Color"], ["points_possible", 100.0], ["published", true], ["submission_types", "---\n- online_text_entry\n"], ["updated_at", Tue, 18 Nov 2014 19:10:30 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::Submission Load (0.2ms)[0m [1mSELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '3') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35mCoalescingPanda::User Load (0.0ms)[0m SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] [1m[36mCoalescingPanda::Assignment Load (0.1ms)[0m [1mSELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_submission_id", 3], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 3], ["created_at", Thu, 08 Jan 2015 18:30:21 UTC +00:00], ["grade", "70"], ["score", 70], ["updated_at", Thu, 08 Jan 2015 18:30:21 UTC +00:00], ["workflow_state", "graded"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::Submission Load (0.1ms)[0m [1mSELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '1') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35mCoalescingPanda::User Load (0.0ms)[0m SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] [1m[36mCoalescingPanda::Assignment Load (0.0ms)[0m [1mSELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_submission_id", 1], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 2], ["created_at", Thu, 08 Jan 2015 18:30:21 UTC +00:00], ["grade", "100"], ["score", 100], ["updated_at", Thu, 08 Jan 2015 18:30:21 UTC +00:00], ["workflow_state", "graded"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::Submission Load (0.1ms)[0m [1mSELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '4') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35mCoalescingPanda::User Load (0.1ms)[0m SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] [1m[36mCoalescingPanda::Assignment Load (0.2ms)[0m [1mSELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_submission_id", 4], ["coalescing_panda_assignment_id", 2], ["coalescing_panda_user_id", 3], ["created_at", Thu, 08 Jan 2015 18:30:21 UTC +00:00], ["grade", "90"], ["score", 90], ["updated_at", Thu, 08 Jan 2015 18:30:21 UTC +00:00], ["workflow_state", "graded"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::Submission Load (0.2ms)[0m [1mSELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '2') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35mCoalescingPanda::User Load (0.1ms)[0m SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] [1m[36mCoalescingPanda::Assignment Load (0.1ms)[0m [1mSELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_submission_id", 2], ["coalescing_panda_assignment_id", 2], ["coalescing_panda_user_id", 2], ["created_at", Thu, 08 Jan 2015 18:30:21 UTC +00:00], ["grade", "80"], ["score", 80], ["updated_at", Thu, 08 Jan 2015 18:30:21 UTC +00:00], ["workflow_state", "graded"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "coalescing_panda_submissions"[0m [1m[35m (1.2ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mCoalescingPanda::Group Load (0.2ms)[0m SELECT "coalescing_panda_groups".* FROM "coalescing_panda_groups" [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 92' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 92' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:30:21 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", Thu, 08 Jan 2015 18:30:21 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 93' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 93' LIMIT 1 [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "92"], ["created_at", Thu, 08 Jan 2015 18:30:21 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", Thu, 08 Jan 2015 18:30:21 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 18:30:21 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:30:21 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 33], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 18:30:21 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:30:21 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 18:30:21 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 18:30:21 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Group Load (0.0ms)[0m SELECT "coalescing_panda_groups".* FROM "coalescing_panda_groups" WHERE "coalescing_panda_groups"."context_id" = ? AND "coalescing_panda_groups"."context_type" = ? AND (canvas_group_id = '4') ORDER BY "coalescing_panda_groups"."id" ASC LIMIT 1 [["context_id", 1], ["context_type", "CoalescingPanda::Course"]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_groups" ("canvas_group_id", "context_id", "context_type", "created_at", "group_category_id", "members_count", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_group_id", 4], ["context_id", 1], ["context_type", "CoalescingPanda::Course"], ["created_at", Thu, 08 Jan 2015 18:30:21 UTC +00:00], ["group_category_id", 3], ["members_count", 2], ["name", "Student Group 1"], ["updated_at", Thu, 08 Jan 2015 18:30:21 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Group Load (0.0ms)[0m SELECT "coalescing_panda_groups".* FROM "coalescing_panda_groups" WHERE "coalescing_panda_groups"."context_id" = ? AND "coalescing_panda_groups"."context_type" = ? AND (canvas_group_id = '5') ORDER BY "coalescing_panda_groups"."id" ASC LIMIT 1 [["context_id", 1], ["context_type", "CoalescingPanda::Course"]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_groups" ("canvas_group_id", "context_id", "context_type", "created_at", "group_category_id", "members_count", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_group_id", 5], ["context_id", 1], ["context_type", "CoalescingPanda::Course"], ["created_at", Thu, 08 Jan 2015 18:30:21 UTC +00:00], ["group_category_id", 3], ["members_count", 2], ["name", "Student Group 2"], ["updated_at", Thu, 08 Jan 2015 18:30:21 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "coalescing_panda_groups" [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mCoalescingPanda::GroupMembership Load (0.1ms)[0m [1mSELECT "coalescing_panda_group_memberships".* FROM "coalescing_panda_group_memberships"[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 94' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 94' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "93"], ["created_at", Thu, 08 Jan 2015 18:30:21 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", Thu, 08 Jan 2015 18:30:21 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 95' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 95' LIMIT 1[0m [1m[35mSQL (0.6ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:30:21 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", Thu, 08 Jan 2015 18:30:21 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 39], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 18:30:21 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:30:21 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 18:30:21 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:30:21 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Thu, 08 Jan 2015 18:30:21 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 18:30:21 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::GroupMembership Load (0.0ms)[0m [1mSELECT "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 (canvas_group_membership_id = '13') ORDER BY "coalescing_panda_group_memberships"."id" ASC LIMIT 1[0m [["context_id", 1], ["context_type", "CoalescingPanda::Course"]] [1m[35mCoalescingPanda::Group Load (0.0ms)[0m 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" = '4' LIMIT 1 [["context_id", 1], ["context_type", "CoalescingPanda::Course"]] [1m[36mCoalescingPanda::User Load (0.0ms)[0m [1mSELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' LIMIT 1[0m [["coalescing_panda_lti_account_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_group_memberships" ("canvas_group_membership_id", "created_at", "updated_at", "workflow_state") VALUES (?, ?, ?, ?)[0m [["canvas_group_membership_id", 13], ["created_at", Thu, 08 Jan 2015 18:30:21 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:30:21 UTC +00:00], ["workflow_state", "accepted"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::GroupMembership Load (0.1ms)[0m [1mSELECT "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 (canvas_group_membership_id = '14') ORDER BY "coalescing_panda_group_memberships"."id" ASC LIMIT 1[0m [["context_id", 1], ["context_type", "CoalescingPanda::Course"]] [1m[35mCoalescingPanda::Group Load (0.1ms)[0m 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" = '4' LIMIT 1 [["context_id", 1], ["context_type", "CoalescingPanda::Course"]] [1m[36mCoalescingPanda::User Load (0.0ms)[0m [1mSELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' LIMIT 1[0m [["coalescing_panda_lti_account_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_group_memberships" ("canvas_group_membership_id", "created_at", "updated_at", "workflow_state") VALUES (?, ?, ?, ?)[0m [["canvas_group_membership_id", 14], ["created_at", Thu, 08 Jan 2015 18:30:21 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:30:21 UTC +00:00], ["workflow_state", "accepted"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "coalescing_panda_group_memberships"[0m [1m[35m (0.8ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 96' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 96' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "95"], ["created_at", Thu, 08 Jan 2015 18:30:21 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", Thu, 08 Jan 2015 18:30:21 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 97' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 97' LIMIT 1[0m [1m[35mSQL (0.7ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:30:21 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", Thu, 08 Jan 2015 18:30:21 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 40], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 18:30:21 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:30:21 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 18:30:21 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:30:21 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Thu, 08 Jan 2015 18:30:21 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 18:30:21 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (1.0ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 98' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 98' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:30:21 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", Thu, 08 Jan 2015 18:30:21 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 99' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 99' LIMIT 1 [1m[36mSQL (0.8ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "98"], ["created_at", Thu, 08 Jan 2015 18:30:21 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", Thu, 08 Jan 2015 18:30:21 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 18:30:21 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:30:21 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 36], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 18:30:21 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:30:21 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 18:30:21 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 18:30:21 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 100' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 100' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "99"], ["created_at", Thu, 08 Jan 2015 18:30:21 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", Thu, 08 Jan 2015 18:30:21 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 101' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 101' LIMIT 1[0m [1m[35mSQL (0.6ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:30:21 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", Thu, 08 Jan 2015 18:30:21 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 42], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 18:30:21 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:30:21 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 18:30:21 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:30:21 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Thu, 08 Jan 2015 18:30:21 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 18:30:21 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (1.0ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 102' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 102' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:30:21 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", Thu, 08 Jan 2015 18:30:21 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 103' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 103' LIMIT 1 [1m[36mSQL (0.7ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "102"], ["created_at", Thu, 08 Jan 2015 18:30:21 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", Thu, 08 Jan 2015 18:30:21 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 18:30:21 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:30:21 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 38], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 18:30:21 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:30:21 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 18:30:21 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 18:30:21 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 104' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 104' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "103"], ["created_at", Thu, 08 Jan 2015 18:30:21 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", Thu, 08 Jan 2015 18:30:21 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 105' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 105' LIMIT 1[0m [1m[35mSQL (0.7ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:30:21 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", Thu, 08 Jan 2015 18:30:21 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 44], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 18:30:21 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:30:21 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 18:30:21 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:30:21 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Thu, 08 Jan 2015 18:30:21 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 18:30:21 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 106' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 106' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:30:21 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", Thu, 08 Jan 2015 18:30:21 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 107' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 107' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "106"], ["created_at", Thu, 08 Jan 2015 18:30:21 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", Thu, 08 Jan 2015 18:30:21 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m 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", Thu, 08 Jan 2015 18:30:21 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:30:21 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 40], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 18:30:21 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:30:21 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 18:30:21 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 18:30:21 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (1.0ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 108' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 108' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "107"], ["created_at", Thu, 08 Jan 2015 18:30:21 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", Thu, 08 Jan 2015 18:30:21 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 109' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 109' LIMIT 1[0m [1m[35mSQL (0.6ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:30:21 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", Thu, 08 Jan 2015 18:30:21 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 46], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 18:30:21 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:30:21 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 18:30:21 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:30:21 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Thu, 08 Jan 2015 18:30:21 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 18:30:21 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 110' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 110' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:30:21 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", Thu, 08 Jan 2015 18:30:21 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 111' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 111' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "110"], ["created_at", Thu, 08 Jan 2015 18:30:21 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", Thu, 08 Jan 2015 18:30:21 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 18:30:21 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:30:21 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 42], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 18:30:21 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:30:21 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 18:30:21 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 18:30:21 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.9ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 112' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 112' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "111"], ["created_at", Thu, 08 Jan 2015 18:30:21 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", Thu, 08 Jan 2015 18:30:21 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 113' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 113' LIMIT 1[0m [1m[35mSQL (0.6ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:30:21 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", Thu, 08 Jan 2015 18:30:21 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 48], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 18:30:21 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:30:21 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 18:30:21 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:30:21 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Thu, 08 Jan 2015 18:30:21 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 18:30:21 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.8ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 114' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 114' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:30:21 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", Thu, 08 Jan 2015 18:30:21 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 115' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 115' LIMIT 1 [1m[36mSQL (0.7ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "114"], ["created_at", Thu, 08 Jan 2015 18:30:21 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", Thu, 08 Jan 2015 18:30:21 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 18:30:21 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:30:21 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 44], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 18:30:21 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:30:21 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 18:30:21 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 18:30:21 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 116' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 116' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "115"], ["created_at", Thu, 08 Jan 2015 18:30:21 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", Thu, 08 Jan 2015 18:30:21 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 117' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 117' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:30:21 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", Thu, 08 Jan 2015 18:30:21 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 50], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 18:30:21 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:30:21 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 18:30:21 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:30:21 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Thu, 08 Jan 2015 18:30:21 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 18:30:21 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 118' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 118' LIMIT 1[0m [1m[35mSQL (0.6ms)[0m INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "117"], ["created_at", Thu, 08 Jan 2015 18:30:21 UTC +00:00], ["key", "Key 118"], ["name", "Account 118"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 118"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Thu, 08 Jan 2015 18:30:21 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 119' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 119' LIMIT 1 [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "118"], ["created_at", Thu, 08 Jan 2015 18:30:21 UTC +00:00], ["key", "Key 119"], ["name", "Account 119"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 119"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Thu, 08 Jan 2015 18:30:21 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 51], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 18:30:21 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:30:21 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 46], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 18:30:21 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:30:21 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 18:30:21 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:30:21 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 120' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 120' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "119"], ["created_at", Thu, 08 Jan 2015 18:30:21 UTC +00:00], ["key", "Key 120"], ["name", "Account 120"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 120"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Thu, 08 Jan 2015 18:30:21 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 121' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 121' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "120"], ["created_at", Thu, 08 Jan 2015 18:30:21 UTC +00:00], ["key", "Key 121"], ["name", "Account 121"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 121"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Thu, 08 Jan 2015 18:30:21 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 52], ["coalescing_panda_lti_account_id", 4], ["created_at", Thu, 08 Jan 2015 18:30:21 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:30:21 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 47], ["coalescing_panda_lti_account_id", 3], ["coalescing_panda_term_id", 2], ["created_at", Thu, 08 Jan 2015 18:30:21 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:30:21 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::Course Load (0.2ms)[0m [1mSELECT "coalescing_panda_courses".* FROM "coalescing_panda_courses" WHERE "coalescing_panda_courses"."id" = ? LIMIT 1[0m [["id", 2]] [1m[35mSQL (0.2ms)[0m UPDATE "coalescing_panda_sections" SET "coalescing_panda_course_id" = ?, "updated_at" = ? WHERE "coalescing_panda_sections"."id" = 1 [["coalescing_panda_course_id", 2], ["updated_at", Thu, 08 Jan 2015 18:30:21 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Thu, 08 Jan 2015 18:30:21 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 18:30:21 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m 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", Thu, 08 Jan 2015 18:30:21 UTC +00:00], ["email", "test18@test.com"], ["name", "Factory User 18"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 18:30:21 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::User Load (0.2ms)[0m 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]] [1m[36mCoalescingPanda::Section Load (0.1ms)[0m [1mSELECT "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[0m [["coalescing_panda_course_id", 2]] [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 122' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 122' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "121"], ["created_at", Thu, 08 Jan 2015 18:30:21 UTC +00:00], ["key", "Key 122"], ["name", "Account 122"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 122"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Thu, 08 Jan 2015 18:30:21 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 123' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 123' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "122"], ["created_at", Thu, 08 Jan 2015 18:30:21 UTC +00:00], ["key", "Key 123"], ["name", "Account 123"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 123"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Thu, 08 Jan 2015 18:30:21 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 53], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 18:30:21 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:30:21 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 48], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 18:30:21 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:30:21 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Thu, 08 Jan 2015 18:30:21 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 18:30:21 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 124' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 124' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "123"], ["created_at", Thu, 08 Jan 2015 18:30:21 UTC +00:00], ["key", "Key 124"], ["name", "Account 124"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 124"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Thu, 08 Jan 2015 18:30:21 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 125' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 125' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "124"], ["created_at", Thu, 08 Jan 2015 18:30:21 UTC +00:00], ["key", "Key 125"], ["name", "Account 125"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 125"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Thu, 08 Jan 2015 18:30:21 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 54], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 18:30:21 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:30:21 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 49], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 18:30:21 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:30:21 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_assignment_id", "9"], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 18:30:21 UTC +00:00], ["name", "test assignment"], ["submission_types", nil], ["updated_at", Thu, 08 Jan 2015 18:30:21 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Thu, 08 Jan 2015 18:30:21 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 18:30:21 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 18:30:21 UTC +00:00], ["email", "test19@test.com"], ["name", "Factory User 19"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 18:30:21 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::User Load (0.1ms)[0m 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]] [1m[36mCoalescingPanda::Assignment Load (0.1ms)[0m [1mSELECT "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[0m [["coalescing_panda_course_id", 1]] [1m[35m (0.8ms)[0m rollback transaction [1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m [1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations" [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m Processing by CoalescingPanda::LtiController#lti_config as HTML Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m Processing by CoalescingPanda::LtiController#lti_config as HTML Completed 500 Internal Server Error in 1ms [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m Processing by CoalescingPanda::Oauth2Controller#redirect as HTML Parameters: {"user_id"=>"1", "api_domain"=>"foo.com", "code"=>"bar"} Completed 200 OK in 5ms (Views: 4.9ms | ActiveRecord: 0.0ms) [1m[35mCoalescingPanda::CanvasApiAuth Load (0.1ms)[0m 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 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction Processing by CoalescingPanda::Oauth2Controller#redirect as HTML Parameters: {"error"=>"your face"} Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "coalescing_panda_canvas_api_auths"[0m [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 1' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 1' LIMIT 1 [1m[36mSQL (2.3ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "1"], ["created_at", Thu, 08 Jan 2015 18:30: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", Thu, 08 Jan 2015 18:30:42 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 2' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 2' LIMIT 1[0m [1m[35mSQL (1.2ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:30: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", Thu, 08 Jan 2015 18:30:42 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 1], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 18:30:42 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:30:42 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 18:30:42 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:30:42 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (1.2ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 3' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 3' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "3"], ["created_at", Thu, 08 Jan 2015 18:30: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", Thu, 08 Jan 2015 18:30:42 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 4' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 4' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:30: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", Thu, 08 Jan 2015 18:30:42 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 2], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 18:30:42 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:30:42 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 18:30:42 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:30:42 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 5' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 5' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "5"], ["created_at", Thu, 08 Jan 2015 18:30: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", Thu, 08 Jan 2015 18:30:42 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 6' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 6' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:30: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", Thu, 08 Jan 2015 18:30:42 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 3], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 18:30:42 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:30:42 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 18:30:42 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:30:42 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_assignment_id", "1"], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 18:30:42 UTC +00:00], ["name", "test assignment"], ["submission_types", nil], ["updated_at", Thu, 08 Jan 2015 18:30:42 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_assignment_id", "1"], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 18:30:42 UTC +00:00], ["name", "test assignment"], ["submission_types", nil], ["updated_at", Thu, 08 Jan 2015 18:30: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", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 7' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 7' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "7"], ["created_at", Thu, 08 Jan 2015 18:30: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", Thu, 08 Jan 2015 18:30:42 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 8' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 8' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:30: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", Thu, 08 Jan 2015 18:30:42 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 4], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 18:30:42 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:30:42 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 18:30:42 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:30:42 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.9ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mCoalescingPanda::CanvasApiAuth Load (0.2ms)[0m SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" ORDER BY "coalescing_panda_canvas_api_auths"."id" ASC LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.7ms)[0m INSERT INTO "coalescing_panda_canvas_api_auths" ("created_at", "updated_at", "user_id") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 18:30:42 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:30:42 UTC +00:00], ["user_id", "a"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::CanvasApiAuth Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1 [1m[36mCoalescingPanda::CanvasApiAuth Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1[0m [1m[35mCoalescingPanda::CanvasApiAuth Load (0.1ms)[0m SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" [1m[36mCoalescingPanda::CanvasApiAuth Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" = '1') LIMIT 1[0m [1m[35mCoalescingPanda::CanvasApiAuth Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" = '1') LIMIT 1 [1m[36m (0.4ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mCoalescingPanda::CanvasApiAuth Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1[0m [1m[35mCoalescingPanda::CanvasApiAuth Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mCoalescingPanda::CanvasApiAuth Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1[0m [1m[35mCoalescingPanda::CanvasApiAuth Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1 [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.7ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 18:30:42 UTC +00:00], ["status", "Pending"], ["updated_at", Thu, 08 Jan 2015 18:30:42 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Thu, 08 Jan 2015 18:30:42 UTC +00:00], ["status", "Pending"], ["updated_at", Thu, 08 Jan 2015 18:30:42 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 18:30:42 UTC +00:00], ["status", "Pending"], ["updated_at", Thu, 08 Jan 2015 18:30:42 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::CanvasBatch Load (0.1ms)[0m SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" ORDER BY created_at DESC [1m[36m (0.6ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 9' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 9' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:30: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", Thu, 08 Jan 2015 18:30:42 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 10' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 10' LIMIT 1 [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "10"], ["created_at", Thu, 08 Jan 2015 18:30: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", Thu, 08 Jan 2015 18:30:42 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 18:30:42 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:30:42 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 11' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 11' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "11"], ["created_at", Thu, 08 Jan 2015 18:30: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", Thu, 08 Jan 2015 18:30:42 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 12' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 12' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:30: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", Thu, 08 Jan 2015 18:30:42 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 6], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 18:30:42 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:30:42 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.8ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.2ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 13' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 13' LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:30: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", Thu, 08 Jan 2015 18:30:42 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 14' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 14' LIMIT 1 [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "14"], ["created_at", Thu, 08 Jan 2015 18:30: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", Thu, 08 Jan 2015 18:30:42 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 18:30:42 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:30:42 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 18:30:42 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:30:42 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 15' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 15' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:30: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", Thu, 08 Jan 2015 18:30:42 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 8], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 18:30:42 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:30:42 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 18:30:42 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:30: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 (?, ?, ?, ?, ?, ?) [1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 16' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 16' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "16"], ["created_at", Thu, 08 Jan 2015 18:30: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", Thu, 08 Jan 2015 18:30:42 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.5ms)[0m 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", Thu, 08 Jan 2015 18:30:42 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:30:42 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 17' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 17' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "17"], ["created_at", Thu, 08 Jan 2015 18:30: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", Thu, 08 Jan 2015 18:30:42 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 18:30:42 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:30:42 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 18' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 18' LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "18"], ["created_at", Thu, 08 Jan 2015 18:30: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", Thu, 08 Jan 2015 18:30:42 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 18:30:42 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:30: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 (?, ?, ?, ?, ?, ?) [1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 19' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 19' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "19"], ["created_at", Thu, 08 Jan 2015 18:30: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", Thu, 08 Jan 2015 18:30:42 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 20' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 20' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:30: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", Thu, 08 Jan 2015 18:30:42 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 10], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 18:30:42 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:30:42 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.8ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 21' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 21' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:30: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", Thu, 08 Jan 2015 18:30:42 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.8ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 18:30:42 UTC +00:00], ["email", "test1@test.com"], ["name", "Factory User 1"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 18:30:42 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 22' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 22' LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:30: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", Thu, 08 Jan 2015 18:30:42 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 23' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 23' LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "23"], ["created_at", Thu, 08 Jan 2015 18:30: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", Thu, 08 Jan 2015 18:30:42 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m 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", Thu, 08 Jan 2015 18:30:42 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:30:42 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 7], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 18:30:42 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:30:42 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m 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", Thu, 08 Jan 2015 18:30:42 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:30:42 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 24' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 24' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "24"], ["created_at", Thu, 08 Jan 2015 18:30: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", Thu, 08 Jan 2015 18:30:42 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.5ms)[0m 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", Thu, 08 Jan 2015 18:30:42 UTC +00:00], ["email", "test2@test.com"], ["name", "Factory User 2"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 18:30:42 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 25' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 25' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "25"], ["created_at", Thu, 08 Jan 2015 18:30: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", Thu, 08 Jan 2015 18:30:42 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 26' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 26' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:30: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", Thu, 08 Jan 2015 18:30:42 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 12], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 18:30:42 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:30:42 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 18:30:42 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:30:42 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_section_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 18:30:42 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:30:42 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.8ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 27' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 27' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:30: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", Thu, 08 Jan 2015 18:30:42 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 18:30:42 UTC +00:00], ["email", "test3@test.com"], ["name", "Factory User 3"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 18:30:42 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 28' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 28' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:30: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", Thu, 08 Jan 2015 18:30:42 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 29' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 29' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "29"], ["created_at", Thu, 08 Jan 2015 18:30: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", Thu, 08 Jan 2015 18:30:42 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 18:30:42 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:30:42 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 9], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 18:30:42 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:30:42 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 18:30:42 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:30:42 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.8ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 30' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 30' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "30"], ["created_at", Thu, 08 Jan 2015 18:30: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", Thu, 08 Jan 2015 18:30:42 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.5ms)[0m 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", Thu, 08 Jan 2015 18:30:42 UTC +00:00], ["email", "test4@test.com"], ["name", "Factory User 4"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 18:30:42 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 31' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 31' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "31"], ["created_at", Thu, 08 Jan 2015 18:30: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", Thu, 08 Jan 2015 18:30:42 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 32' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 32' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:30: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", Thu, 08 Jan 2015 18:30:42 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 14], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 18:30:42 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:30:42 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 18:30:42 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:30:42 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_section_id", 4], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 18:30:42 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:30:42 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m 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", Thu, 08 Jan 2015 18:30:42 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Thu, 08 Jan 2015 18:30:42 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_enrollment_id", 4], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Thu, 08 Jan 2015 18:30:42 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Thu, 08 Jan 2015 18:30:42 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 (?, ?, ?, ?, ?, ?) [1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1 [1m[36m (1.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 33' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 33' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:30: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", Thu, 08 Jan 2015 18:30:42 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 5], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 18:30:42 UTC +00:00], ["email", "test5@test.com"], ["name", "Factory User 5"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 18:30:42 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 34' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 34' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:30: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", Thu, 08 Jan 2015 18:30:42 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 35' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 35' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "35"], ["created_at", Thu, 08 Jan 2015 18:30: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", Thu, 08 Jan 2015 18:30:42 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 18:30:42 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:30:42 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 11], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 18:30:42 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:30:42 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 18:30:42 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:30:42 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_enrollment_id", 5], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Thu, 08 Jan 2015 18:30:42 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Thu, 08 Jan 2015 18:30:42 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m 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", Thu, 08 Jan 2015 18:30:42 UTC +00:00], ["enrollment_type", "TeacherEnrollment"], ["updated_at", Thu, 08 Jan 2015 18:30:42 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (1.0ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 36' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 36' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "36"], ["created_at", Thu, 08 Jan 2015 18:30: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", Thu, 08 Jan 2015 18:30:42 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.6ms)[0m 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", Thu, 08 Jan 2015 18:30:42 UTC +00:00], ["email", "test6@test.com"], ["name", "Factory User 6"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 18:30:42 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 37' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 37' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "37"], ["created_at", Thu, 08 Jan 2015 18:30: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", Thu, 08 Jan 2015 18:30:42 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 38' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 38' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:30: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", Thu, 08 Jan 2015 18:30:42 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 16], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 18:30:42 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:30:42 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 18:30:42 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:30:42 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_section_id", 6], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 18:30:42 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:30:42 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.8ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 39' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 39' LIMIT 1 [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 40' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 40' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:30: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", Thu, 08 Jan 2015 18:30:42 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 41' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 41' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "40"], ["created_at", Thu, 08 Jan 2015 18:30: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", Thu, 08 Jan 2015 18:30:42 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m 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", Thu, 08 Jan 2015 18:30:42 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:30:42 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 13], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 18:30:42 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:30:42 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.8ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 42' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 42' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:30:42 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", Thu, 08 Jan 2015 18:30:42 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 43' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 43' LIMIT 1 [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "42"], ["created_at", Thu, 08 Jan 2015 18:30: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", Thu, 08 Jan 2015 18:30:42 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 18:30:42 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:30:42 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 14], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 18:30:42 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:30:42 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.6ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 44' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 44' LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:30: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", Thu, 08 Jan 2015 18:30:42 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 45' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 45' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "44"], ["created_at", Thu, 08 Jan 2015 18:30: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", Thu, 08 Jan 2015 18:30:42 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m 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", Thu, 08 Jan 2015 18:30:42 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:30:42 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 15], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 18:30:42 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:30:42 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m 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", Thu, 08 Jan 2015 18:30:42 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:30:42 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_section_id", "1"], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 18:30:42 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:30: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 (?, ?, ?, ?) [1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1 [1m[36m (0.8ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 46' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 46' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:30: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", Thu, 08 Jan 2015 18:30:42 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 47' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 47' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "46"], ["created_at", Thu, 08 Jan 2015 18:30: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", Thu, 08 Jan 2015 18:30:42 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 18:30:42 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:30:42 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 16], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 18:30:42 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:30:42 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.9ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 48' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 48' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:30: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", Thu, 08 Jan 2015 18:30:42 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 7], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 18:30:42 UTC +00:00], ["email", "test7@test.com"], ["name", "Factory User 7"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 18:30:42 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 49' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 49' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:30: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", Thu, 08 Jan 2015 18:30:42 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 50' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 50' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "49"], ["created_at", Thu, 08 Jan 2015 18:30: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", Thu, 08 Jan 2015 18:30:42 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 18:30:42 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:30:42 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 17], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 18:30:42 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:30:42 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_assignment_id", "3"], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 18:30:42 UTC +00:00], ["name", "test assignment"], ["submission_types", nil], ["updated_at", Thu, 08 Jan 2015 18:30:42 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.9ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 51' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 51' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "50"], ["created_at", Thu, 08 Jan 2015 18:30: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", Thu, 08 Jan 2015 18:30:42 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.6ms)[0m 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", Thu, 08 Jan 2015 18:30:42 UTC +00:00], ["email", "test8@test.com"], ["name", "Factory User 8"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 18:30:42 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 52' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 52' LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "51"], ["created_at", Thu, 08 Jan 2015 18:30: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", Thu, 08 Jan 2015 18:30:42 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 53' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 53' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:30: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", Thu, 08 Jan 2015 18:30:42 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 22], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 18:30:42 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:30:42 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 18:30:42 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:30:42 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_assignment_id", "4"], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 18:30:42 UTC +00:00], ["name", "test assignment"], ["submission_types", nil], ["updated_at", Thu, 08 Jan 2015 18:30:42 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.8ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.2ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 54' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 54' LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:30: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", Thu, 08 Jan 2015 18:30:42 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 9], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 18:30:42 UTC +00:00], ["email", "test9@test.com"], ["name", "Factory User 9"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 18:30:42 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 55' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 55' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:30: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", Thu, 08 Jan 2015 18:30:42 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 56' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 56' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "55"], ["created_at", Thu, 08 Jan 2015 18:30: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", Thu, 08 Jan 2015 18:30:42 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 18:30:42 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:30:42 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 19], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 18:30:42 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:30:42 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_assignment_id", "5"], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 18:30:42 UTC +00:00], ["name", "test assignment"], ["submission_types", nil], ["updated_at", Thu, 08 Jan 2015 18:30:42 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (1.0ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 57' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 57' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "56"], ["created_at", Thu, 08 Jan 2015 18:30: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", Thu, 08 Jan 2015 18:30:42 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.6ms)[0m 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", Thu, 08 Jan 2015 18:30:42 UTC +00:00], ["email", "test10@test.com"], ["name", "Factory User 10"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 18:30:42 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 58' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 58' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "57"], ["created_at", Thu, 08 Jan 2015 18:30: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", Thu, 08 Jan 2015 18:30:42 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 59' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 59' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:30: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", Thu, 08 Jan 2015 18:30:42 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 24], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 18:30:42 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:30:42 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 18:30:42 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:30:42 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_assignment_id", "6"], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 18:30:42 UTC +00:00], ["name", "test assignment"], ["submission_types", nil], ["updated_at", Thu, 08 Jan 2015 18:30:42 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m 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", Thu, 08 Jan 2015 18:30:42 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:30:42 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["canvas_submission_id", "1"], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Thu, 08 Jan 2015 18:30:42 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:30:42 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 (?, ?, ?, ?, ?) [1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1 [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 60' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 60' LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:30: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", Thu, 08 Jan 2015 18:30:42 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 11], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 18:30:42 UTC +00:00], ["email", "test11@test.com"], ["name", "Factory User 11"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 18:30:42 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 61' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 61' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:30: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", Thu, 08 Jan 2015 18:30:42 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 62' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 62' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "61"], ["created_at", Thu, 08 Jan 2015 18:30: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", Thu, 08 Jan 2015 18:30:42 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 18:30:42 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:30:42 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 21], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 18:30:42 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:30:42 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_assignment_id", "7"], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 18:30:42 UTC +00:00], ["name", "test assignment"], ["submission_types", nil], ["updated_at", Thu, 08 Jan 2015 18:30:42 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["canvas_submission_id", "1"], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Thu, 08 Jan 2015 18:30:42 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:30:42 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m 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", Thu, 08 Jan 2015 18:30:42 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:30:42 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.8ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 63' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 63' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "62"], ["created_at", Thu, 08 Jan 2015 18:30: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", Thu, 08 Jan 2015 18:30:42 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.5ms)[0m 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", Thu, 08 Jan 2015 18:30:42 UTC +00:00], ["email", "test12@test.com"], ["name", "Factory User 12"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 18:30:42 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 64' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 64' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "63"], ["created_at", Thu, 08 Jan 2015 18:30: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", Thu, 08 Jan 2015 18:30:42 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 65' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 65' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:30: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", Thu, 08 Jan 2015 18:30:42 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 26], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 18:30:42 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:30:42 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 18:30:42 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:30:42 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_assignment_id", "8"], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 18:30:42 UTC +00:00], ["name", "test assignment"], ["submission_types", nil], ["updated_at", Thu, 08 Jan 2015 18:30:42 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 66' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 66' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:30: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", Thu, 08 Jan 2015 18:30:42 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.4ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 67' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 67' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "66"], ["created_at", Thu, 08 Jan 2015 18:30: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", Thu, 08 Jan 2015 18:30:42 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.5ms)[0m 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", Thu, 08 Jan 2015 18:30:43 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:30:43 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 18:30:43 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:30:43 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 (?, ?, ?, ?) [1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1 [1m[36m (0.6ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 68' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 68' LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:30:43 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", Thu, 08 Jan 2015 18:30:43 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.4ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 69' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 69' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "68"], ["created_at", Thu, 08 Jan 2015 18:30:43 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", Thu, 08 Jan 2015 18:30:43 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.3ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 70' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 70' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:30:43 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", Thu, 08 Jan 2015 18:30:43 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 18:30:43 UTC +00:00], ["email", "test15@test.com"], ["name", "Factory User 15"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 18:30:43 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m 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", Thu, 08 Jan 2015 18:30:43 UTC +00:00], ["email", "test16@test.com"], ["name", "Factory User 16"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 18:30:43 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 (?, ?, ?, ?, ?, ?, ?) [1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m [1m[35m (0.8ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 71' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 71' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "70"], ["created_at", Thu, 08 Jan 2015 18:30:43 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", Thu, 08 Jan 2015 18:30:43 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.4ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 72' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 72' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:30:43 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", Thu, 08 Jan 2015 18:30:43 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 73' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 73' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "72"], ["created_at", Thu, 08 Jan 2015 18:30:43 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", Thu, 08 Jan 2015 18:30:43 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 18:30:43 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:30:43 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 23], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 18:30:43 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:30:43 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 18:30:43 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 18:30:43 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::CanvasBatch Load (0.1ms)[0m SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" ORDER BY created_at ASC LIMIT 1 [1m[36m (1.0ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 74' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 74' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:30:43 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", Thu, 08 Jan 2015 18:30:43 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 75' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 75' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "74"], ["created_at", Thu, 08 Jan 2015 18:30: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", Thu, 08 Jan 2015 18:30:43 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 18:30:43 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:30:43 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 24], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 18:30:43 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:30:43 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 18:30:43 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 18:30:43 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (1.0ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 76' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 76' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "75"], ["created_at", Thu, 08 Jan 2015 18:30: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", Thu, 08 Jan 2015 18:30:43 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 77' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 77' LIMIT 1[0m [1m[35mSQL (0.6ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:30: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", Thu, 08 Jan 2015 18:30:43 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 30], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 18:30:43 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:30:43 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 18:30:43 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:30:43 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Thu, 08 Jan 2015 18:30:43 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 18:30:43 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m UPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["status", "Started"], ["updated_at", Thu, 08 Jan 2015 18:30:43 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Section Load (0.1ms)[0m SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 18:30:43 UTC +00:00], ["name", "Course1"], ["updated_at", Thu, 08 Jan 2015 18:30:43 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mUPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1[0m [["percent_complete", 14.3], ["updated_at", Thu, 08 Jan 2015 18:30:43 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::User Load (0.1ms)[0m [1mSELECT "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[0m [["coalescing_panda_lti_account_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 18:30:43 UTC +00:00], ["name", "teacher@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 18:30:43 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::User Load (0.1ms)[0m [1mSELECT "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[0m [["coalescing_panda_lti_account_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 18:30:43 UTC +00:00], ["name", "student1@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 18:30:43 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::User Load (0.1ms)[0m [1mSELECT "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[0m [["coalescing_panda_lti_account_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 18:30:43 UTC +00:00], ["name", "student2@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 18:30:43 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 28.6], ["updated_at", Thu, 08 Jan 2015 18:30:43 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Enrollment Load (0.1ms)[0m SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '1') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36mCoalescingPanda::User Load (0.1ms)[0m [1mSELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '1' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1[0m [["coalescing_panda_lti_account_id", 1]] [1m[35mCoalescingPanda::Section Load (0.1ms)[0m SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "coalescing_panda_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"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Enrollment Load (0.1ms)[0m SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '2') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36mCoalescingPanda::User Load (0.1ms)[0m [1mSELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1[0m [["coalescing_panda_lti_account_id", 1]] [1m[35mCoalescingPanda::Section Load (0.0ms)[0m SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_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"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Enrollment Load (0.1ms)[0m SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '3') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36mCoalescingPanda::User Load (0.1ms)[0m [1mSELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1[0m [["coalescing_panda_lti_account_id", 1]] [1m[35mCoalescingPanda::Section Load (0.0ms)[0m SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_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"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mUPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1[0m [["percent_complete", 42.9], ["updated_at", Thu, 08 Jan 2015 18:30:43 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::Assignment Load (0.1ms)[0m [1mSELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "grade_group_students_individually", "name", "points_possible", "published", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_assignment_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 18:04:38 UTC +00:00], ["description", "What is your name?
"], ["grade_group_students_individually", false], ["name", "Gimme your name"], ["points_possible", 100.0], ["published", true], ["submission_types", "---\n- online_text_entry\n"], ["updated_at", Tue, 18 Nov 2014 18:04:42 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::Assignment Load (0.1ms)[0m [1mSELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "grade_group_students_individually", "name", "points_possible", "published", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_assignment_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 19:10:28 UTC +00:00], ["description", "What is your Favorite Color?
"], ["grade_group_students_individually", false], ["name", "Favorite Color"], ["points_possible", 100.0], ["published", true], ["submission_types", "---\n- online_text_entry\n"], ["updated_at", Tue, 18 Nov 2014 19:10:30 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 57.1], ["updated_at", Thu, 08 Jan 2015 18:30:43 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Assignment Load (0.1ms)[0m SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? [["coalescing_panda_course_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 71.4], ["updated_at", Thu, 08 Jan 2015 18:30:43 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Group Load (0.1ms)[0m SELECT "coalescing_panda_groups".* FROM "coalescing_panda_groups" WHERE "coalescing_panda_groups"."context_id" = ? AND "coalescing_panda_groups"."context_type" = ? AND (canvas_group_id = '4') ORDER BY "coalescing_panda_groups"."id" ASC LIMIT 1 [["context_id", 1], ["context_type", "CoalescingPanda::Course"]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "coalescing_panda_groups" ("canvas_group_id", "context_id", "context_type", "created_at", "group_category_id", "members_count", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_group_id", 4], ["context_id", 1], ["context_type", "CoalescingPanda::Course"], ["created_at", Thu, 08 Jan 2015 18:30:43 UTC +00:00], ["group_category_id", 3], ["members_count", 2], ["name", "Student Group 1"], ["updated_at", Thu, 08 Jan 2015 18:30:43 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Group Load (0.1ms)[0m SELECT "coalescing_panda_groups".* FROM "coalescing_panda_groups" WHERE "coalescing_panda_groups"."context_id" = ? AND "coalescing_panda_groups"."context_type" = ? AND (canvas_group_id = '5') ORDER BY "coalescing_panda_groups"."id" ASC LIMIT 1 [["context_id", 1], ["context_type", "CoalescingPanda::Course"]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_groups" ("canvas_group_id", "context_id", "context_type", "created_at", "group_category_id", "members_count", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_group_id", 5], ["context_id", 1], ["context_type", "CoalescingPanda::Course"], ["created_at", Thu, 08 Jan 2015 18:30:43 UTC +00:00], ["group_category_id", 3], ["members_count", 2], ["name", "Student Group 2"], ["updated_at", Thu, 08 Jan 2015 18:30:43 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mUPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1[0m [["percent_complete", 85.7], ["updated_at", Thu, 08 Jan 2015 18:30:43 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::Group Load (0.1ms)[0m [1mSELECT "coalescing_panda_groups".* FROM "coalescing_panda_groups" WHERE "coalescing_panda_groups"."context_id" = ? AND "coalescing_panda_groups"."context_type" = ?[0m [["context_id", 1], ["context_type", "CoalescingPanda::Course"]] [1m[35mCoalescingPanda::GroupMembership Load (0.2ms)[0m 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 (canvas_group_membership_id = '13') ORDER BY "coalescing_panda_group_memberships"."id" ASC LIMIT 1 [["context_id", 1], ["context_type", "CoalescingPanda::Course"]] [1m[36mCoalescingPanda::Group Load (0.1ms)[0m [1mSELECT "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" = '4' LIMIT 1[0m [["context_id", 1], ["context_type", "CoalescingPanda::Course"]] [1m[35mCoalescingPanda::User Load (0.1ms)[0m SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' LIMIT 1 [["coalescing_panda_lti_account_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "coalescing_panda_group_memberships" ("canvas_group_membership_id", "coalescing_panda_group_id", "coalescing_panda_user_id", "created_at", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?) [["canvas_group_membership_id", 13], ["coalescing_panda_group_id", 1], ["coalescing_panda_user_id", 2], ["created_at", Thu, 08 Jan 2015 18:30:43 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:30:43 UTC +00:00], ["workflow_state", "accepted"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::GroupMembership Load (0.1ms)[0m 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 (canvas_group_membership_id = '14') ORDER BY "coalescing_panda_group_memberships"."id" ASC LIMIT 1 [["context_id", 1], ["context_type", "CoalescingPanda::Course"]] [1m[36mCoalescingPanda::Group Load (0.0ms)[0m [1mSELECT "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" = '4' LIMIT 1[0m [["context_id", 1], ["context_type", "CoalescingPanda::Course"]] [1m[35mCoalescingPanda::User Load (0.1ms)[0m SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' LIMIT 1 [["coalescing_panda_lti_account_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_group_memberships" ("canvas_group_membership_id", "coalescing_panda_group_id", "coalescing_panda_user_id", "created_at", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?) [["canvas_group_membership_id", 14], ["coalescing_panda_group_id", 1], ["coalescing_panda_user_id", 3], ["created_at", Thu, 08 Jan 2015 18:30:43 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:30:43 UTC +00:00], ["workflow_state", "accepted"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::GroupMembership Load (0.0ms)[0m 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 (canvas_group_membership_id = '13') ORDER BY "coalescing_panda_group_memberships"."id" ASC LIMIT 1 [["context_id", 1], ["context_type", "CoalescingPanda::Course"]] [1m[36mCoalescingPanda::Group Load (0.1ms)[0m [1mSELECT "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" = '4' LIMIT 1[0m [["context_id", 1], ["context_type", "CoalescingPanda::Course"]] [1m[35mCoalescingPanda::User Load (0.0ms)[0m SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' LIMIT 1 [["coalescing_panda_lti_account_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m UPDATE "coalescing_panda_group_memberships" SET "canvas_group_membership_id" = ?, "updated_at" = ? WHERE "coalescing_panda_group_memberships"."id" = 1 [["canvas_group_membership_id", 13], ["updated_at", Thu, 08 Jan 2015 18:30:43 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::GroupMembership Load (0.1ms)[0m 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 (canvas_group_membership_id = '14') ORDER BY "coalescing_panda_group_memberships"."id" ASC LIMIT 1 [["context_id", 1], ["context_type", "CoalescingPanda::Course"]] [1m[36mCoalescingPanda::Group Load (0.0ms)[0m [1mSELECT "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" = '4' LIMIT 1[0m [["context_id", 1], ["context_type", "CoalescingPanda::Course"]] [1m[35mCoalescingPanda::User Load (0.0ms)[0m SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' LIMIT 1 [["coalescing_panda_lti_account_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "coalescing_panda_group_memberships" SET "canvas_group_membership_id" = ?, "updated_at" = ? WHERE "coalescing_panda_group_memberships"."id" = 2 [["canvas_group_membership_id", 14], ["updated_at", Thu, 08 Jan 2015 18:30:43 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mUPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1[0m [["percent_complete", 100.0], ["updated_at", Thu, 08 Jan 2015 18:30:43 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["status", "Completed"], ["updated_at", Thu, 08 Jan 2015 18:30:43 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.9ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 78' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 78' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "77"], ["created_at", Thu, 08 Jan 2015 18:30: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", Thu, 08 Jan 2015 18:30:43 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 79' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 79' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:30: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", Thu, 08 Jan 2015 18:30:43 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 31], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 18:30:43 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:30:43 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 18:30:43 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:30:43 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Thu, 08 Jan 2015 18:30:43 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 18:30:43 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 80' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 80' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:30: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", Thu, 08 Jan 2015 18:30:43 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 81' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 81' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "80"], ["created_at", Thu, 08 Jan 2015 18:30: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", Thu, 08 Jan 2015 18:30:43 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 18:30:43 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:30:43 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 27], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 18:30:43 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:30:43 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 18:30:43 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 18:30:43 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.6ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mCoalescingPanda::Section Load (0.1ms)[0m SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 82' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 82' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:30: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", Thu, 08 Jan 2015 18:30:43 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 83' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 83' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "82"], ["created_at", Thu, 08 Jan 2015 18:30: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", Thu, 08 Jan 2015 18:30:43 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 18:30:43 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:30:43 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 28], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 18:30:43 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:30:43 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 18:30:43 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 18:30:43 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Section Load (0.0ms)[0m SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 18:30:43 UTC +00:00], ["name", "Course1"], ["updated_at", Thu, 08 Jan 2015 18:30:43 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "coalescing_panda_sections" [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mCoalescingPanda::User Load (0.1ms)[0m [1mSELECT "coalescing_panda_users".* FROM "coalescing_panda_users"[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 84' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 84' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "83"], ["created_at", Thu, 08 Jan 2015 18:30: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", Thu, 08 Jan 2015 18:30:43 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 85' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 85' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:30: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", Thu, 08 Jan 2015 18:30:43 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 34], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 18:30:43 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:30:43 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 18:30:43 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:30:43 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Thu, 08 Jan 2015 18:30:43 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 18:30:43 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::User Load (0.0ms)[0m [1mSELECT "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[0m [["coalescing_panda_lti_account_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 18:30:43 UTC +00:00], ["name", "teacher@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 18:30:43 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::User Load (0.0ms)[0m [1mSELECT "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[0m [["coalescing_panda_lti_account_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 18:30:43 UTC +00:00], ["name", "student1@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 18:30:43 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::User Load (0.0ms)[0m [1mSELECT "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[0m [["coalescing_panda_lti_account_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 18:30:43 UTC +00:00], ["name", "student2@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 18:30:43 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "coalescing_panda_users"[0m [1m[35m (0.8ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mCoalescingPanda::Enrollment Load (0.2ms)[0m SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 86' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 86' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:30: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", Thu, 08 Jan 2015 18:30:43 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 87' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 87' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "86"], ["created_at", Thu, 08 Jan 2015 18:30: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", Thu, 08 Jan 2015 18:30:43 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m 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", Thu, 08 Jan 2015 18:30:43 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:30:43 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 30], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 18:30:43 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:30:43 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 18:30:43 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 18:30:43 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Section Load (0.0ms)[0m SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 18:30:43 UTC +00:00], ["name", "Course1"], ["updated_at", Thu, 08 Jan 2015 18:30:43 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::User Load (0.1ms)[0m 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]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 18:30:43 UTC +00:00], ["name", "teacher@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 18:30:43 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::User Load (0.0ms)[0m 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]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 18:30:43 UTC +00:00], ["name", "student1@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 18:30:43 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::User Load (0.0ms)[0m 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]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 18:30:43 UTC +00:00], ["name", "student2@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 18:30:43 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Enrollment Load (0.0ms)[0m SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '1') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36mCoalescingPanda::User Load (0.1ms)[0m [1mSELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '1' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1[0m [["coalescing_panda_lti_account_id", 1]] [1m[35mCoalescingPanda::Section Load (0.1ms)[0m SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "coalescing_panda_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"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Enrollment Load (0.0ms)[0m SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '2') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36mCoalescingPanda::User Load (0.0ms)[0m [1mSELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1[0m [["coalescing_panda_lti_account_id", 1]] [1m[35mCoalescingPanda::Section Load (0.0ms)[0m SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_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"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Enrollment Load (0.0ms)[0m SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '3') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36mCoalescingPanda::User Load (0.0ms)[0m [1mSELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1[0m [["coalescing_panda_lti_account_id", 1]] [1m[35mCoalescingPanda::Section Load (0.0ms)[0m SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_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"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "coalescing_panda_enrollments" [1m[36mCoalescingPanda::Enrollment Load (0.1ms)[0m [1mSELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" ORDER BY "coalescing_panda_enrollments"."id" DESC LIMIT 1[0m [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mCoalescingPanda::Assignment Load (0.2ms)[0m SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 88' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 88' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:30: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", Thu, 08 Jan 2015 18:30:43 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 89' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 89' LIMIT 1 [1m[36mSQL (0.8ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "88"], ["created_at", Thu, 08 Jan 2015 18:30: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", Thu, 08 Jan 2015 18:30:43 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 18:30:43 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:30:43 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 31], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 18:30:43 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:30:43 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 18:30:43 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 18:30:43 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Assignment Load (0.0ms)[0m SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "grade_group_students_individually", "name", "points_possible", "published", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 18:04:38 UTC +00:00], ["description", "What is your name?
"], ["grade_group_students_individually", false], ["name", "Gimme your name"], ["points_possible", 100.0], ["published", true], ["submission_types", "---\n- online_text_entry\n"], ["updated_at", Tue, 18 Nov 2014 18:04:42 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Assignment Load (0.0ms)[0m SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "grade_group_students_individually", "name", "points_possible", "published", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 19:10:28 UTC +00:00], ["description", "What is your Favorite Color?
"], ["grade_group_students_individually", false], ["name", "Favorite Color"], ["points_possible", 100.0], ["published", true], ["submission_types", "---\n- online_text_entry\n"], ["updated_at", Tue, 18 Nov 2014 19:10:30 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "coalescing_panda_assignments" [1m[36m (0.6ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mCoalescingPanda::Submission Load (0.1ms)[0m [1mSELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions"[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 90' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 90' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "89"], ["created_at", Thu, 08 Jan 2015 18:30: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", Thu, 08 Jan 2015 18:30:43 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 91' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 91' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:30: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", Thu, 08 Jan 2015 18:30:43 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 37], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 18:30:43 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:30:43 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 18:30:43 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:30:43 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Thu, 08 Jan 2015 18:30:43 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 18:30:43 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::User Load (0.0ms)[0m [1mSELECT "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[0m [["coalescing_panda_lti_account_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 18:30:43 UTC +00:00], ["name", "teacher@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 18:30:43 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::User Load (0.0ms)[0m [1mSELECT "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[0m [["coalescing_panda_lti_account_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 18:30:43 UTC +00:00], ["name", "student1@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 18:30:43 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::User Load (0.0ms)[0m [1mSELECT "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[0m [["coalescing_panda_lti_account_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 18:30:43 UTC +00:00], ["name", "student2@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 18:30:43 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::Assignment Load (0.0ms)[0m [1mSELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "grade_group_students_individually", "name", "points_possible", "published", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_assignment_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 18:04:38 UTC +00:00], ["description", "What is your name?
"], ["grade_group_students_individually", false], ["name", "Gimme your name"], ["points_possible", 100.0], ["published", true], ["submission_types", "---\n- online_text_entry\n"], ["updated_at", Tue, 18 Nov 2014 18:04:42 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::Assignment Load (0.0ms)[0m [1mSELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "grade_group_students_individually", "name", "points_possible", "published", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_assignment_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 19:10:28 UTC +00:00], ["description", "What is your Favorite Color?
"], ["grade_group_students_individually", false], ["name", "Favorite Color"], ["points_possible", 100.0], ["published", true], ["submission_types", "---\n- online_text_entry\n"], ["updated_at", Tue, 18 Nov 2014 19:10:30 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::Submission Load (0.2ms)[0m [1mSELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '3') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35mCoalescingPanda::User Load (0.0ms)[0m SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] [1m[36mCoalescingPanda::Assignment Load (0.1ms)[0m [1mSELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_submission_id", 3], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 3], ["created_at", Thu, 08 Jan 2015 18:30:43 UTC +00:00], ["grade", "70"], ["score", 70], ["updated_at", Thu, 08 Jan 2015 18:30:43 UTC +00:00], ["workflow_state", "graded"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::Submission Load (0.1ms)[0m [1mSELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '1') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35mCoalescingPanda::User Load (0.0ms)[0m SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] [1m[36mCoalescingPanda::Assignment Load (0.1ms)[0m [1mSELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_submission_id", 1], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 2], ["created_at", Thu, 08 Jan 2015 18:30:43 UTC +00:00], ["grade", "100"], ["score", 100], ["updated_at", Thu, 08 Jan 2015 18:30:43 UTC +00:00], ["workflow_state", "graded"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::Submission Load (0.1ms)[0m [1mSELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '4') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35mCoalescingPanda::User Load (0.1ms)[0m SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] [1m[36mCoalescingPanda::Assignment Load (0.1ms)[0m [1mSELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_submission_id", 4], ["coalescing_panda_assignment_id", 2], ["coalescing_panda_user_id", 3], ["created_at", Thu, 08 Jan 2015 18:30:43 UTC +00:00], ["grade", "90"], ["score", 90], ["updated_at", Thu, 08 Jan 2015 18:30:43 UTC +00:00], ["workflow_state", "graded"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::Submission Load (0.2ms)[0m [1mSELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '2') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35mCoalescingPanda::User Load (0.1ms)[0m SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] [1m[36mCoalescingPanda::Assignment Load (0.1ms)[0m [1mSELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_submission_id", 2], ["coalescing_panda_assignment_id", 2], ["coalescing_panda_user_id", 2], ["created_at", Thu, 08 Jan 2015 18:30:43 UTC +00:00], ["grade", "80"], ["score", 80], ["updated_at", Thu, 08 Jan 2015 18:30:43 UTC +00:00], ["workflow_state", "graded"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "coalescing_panda_submissions"[0m [1m[35m (0.8ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mCoalescingPanda::Group Load (0.1ms)[0m SELECT "coalescing_panda_groups".* FROM "coalescing_panda_groups" [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 92' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 92' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:30: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", Thu, 08 Jan 2015 18:30:43 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 93' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 93' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "92"], ["created_at", Thu, 08 Jan 2015 18:30: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", Thu, 08 Jan 2015 18:30:43 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 18:30:43 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:30:43 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 33], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 18:30:43 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:30:43 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 18:30:43 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 18:30:43 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Group Load (0.0ms)[0m SELECT "coalescing_panda_groups".* FROM "coalescing_panda_groups" WHERE "coalescing_panda_groups"."context_id" = ? AND "coalescing_panda_groups"."context_type" = ? AND (canvas_group_id = '4') ORDER BY "coalescing_panda_groups"."id" ASC LIMIT 1 [["context_id", 1], ["context_type", "CoalescingPanda::Course"]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_groups" ("canvas_group_id", "context_id", "context_type", "created_at", "group_category_id", "members_count", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_group_id", 4], ["context_id", 1], ["context_type", "CoalescingPanda::Course"], ["created_at", Thu, 08 Jan 2015 18:30:43 UTC +00:00], ["group_category_id", 3], ["members_count", 2], ["name", "Student Group 1"], ["updated_at", Thu, 08 Jan 2015 18:30:43 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Group Load (0.0ms)[0m SELECT "coalescing_panda_groups".* FROM "coalescing_panda_groups" WHERE "coalescing_panda_groups"."context_id" = ? AND "coalescing_panda_groups"."context_type" = ? AND (canvas_group_id = '5') ORDER BY "coalescing_panda_groups"."id" ASC LIMIT 1 [["context_id", 1], ["context_type", "CoalescingPanda::Course"]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_groups" ("canvas_group_id", "context_id", "context_type", "created_at", "group_category_id", "members_count", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_group_id", 5], ["context_id", 1], ["context_type", "CoalescingPanda::Course"], ["created_at", Thu, 08 Jan 2015 18:30:43 UTC +00:00], ["group_category_id", 3], ["members_count", 2], ["name", "Student Group 2"], ["updated_at", Thu, 08 Jan 2015 18:30:43 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "coalescing_panda_groups" [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mCoalescingPanda::GroupMembership Load (0.1ms)[0m [1mSELECT "coalescing_panda_group_memberships".* FROM "coalescing_panda_group_memberships"[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 94' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 94' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "93"], ["created_at", Thu, 08 Jan 2015 18:30: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", Thu, 08 Jan 2015 18:30:43 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 95' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 95' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:30: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", Thu, 08 Jan 2015 18:30:43 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 39], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 18:30:43 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:30:43 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 18:30:43 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:30:43 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Thu, 08 Jan 2015 18:30:43 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 18:30:43 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::GroupMembership Load (0.0ms)[0m [1mSELECT "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 (canvas_group_membership_id = '13') ORDER BY "coalescing_panda_group_memberships"."id" ASC LIMIT 1[0m [["context_id", 1], ["context_type", "CoalescingPanda::Course"]] [1m[35mCoalescingPanda::Group Load (0.0ms)[0m 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" = '4' LIMIT 1 [["context_id", 1], ["context_type", "CoalescingPanda::Course"]] [1m[36mCoalescingPanda::User Load (0.0ms)[0m [1mSELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' LIMIT 1[0m [["coalescing_panda_lti_account_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_group_memberships" ("canvas_group_membership_id", "created_at", "updated_at", "workflow_state") VALUES (?, ?, ?, ?)[0m [["canvas_group_membership_id", 13], ["created_at", Thu, 08 Jan 2015 18:30:43 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:30:43 UTC +00:00], ["workflow_state", "accepted"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::GroupMembership Load (0.0ms)[0m [1mSELECT "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 (canvas_group_membership_id = '14') ORDER BY "coalescing_panda_group_memberships"."id" ASC LIMIT 1[0m [["context_id", 1], ["context_type", "CoalescingPanda::Course"]] [1m[35mCoalescingPanda::Group Load (0.0ms)[0m 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" = '4' LIMIT 1 [["context_id", 1], ["context_type", "CoalescingPanda::Course"]] [1m[36mCoalescingPanda::User Load (0.0ms)[0m [1mSELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' LIMIT 1[0m [["coalescing_panda_lti_account_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_group_memberships" ("canvas_group_membership_id", "created_at", "updated_at", "workflow_state") VALUES (?, ?, ?, ?)[0m [["canvas_group_membership_id", 14], ["created_at", Thu, 08 Jan 2015 18:30:43 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:30:43 UTC +00:00], ["workflow_state", "accepted"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "coalescing_panda_group_memberships"[0m [1m[35m (0.6ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 96' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 96' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "95"], ["created_at", Thu, 08 Jan 2015 18:30: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", Thu, 08 Jan 2015 18:30:43 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 97' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 97' LIMIT 1[0m [1m[35mSQL (0.7ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:30: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", Thu, 08 Jan 2015 18:30:43 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 40], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 18:30:43 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:30:43 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 18:30:43 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:30:43 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Thu, 08 Jan 2015 18:30:43 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 18:30:43 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.6ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 98' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 98' LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:30: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", Thu, 08 Jan 2015 18:30:43 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 99' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 99' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "98"], ["created_at", Thu, 08 Jan 2015 18:30: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", Thu, 08 Jan 2015 18:30:43 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 18:30:43 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:30:43 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 36], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 18:30:43 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:30:43 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 18:30:43 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 18:30:43 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.6ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 100' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 100' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "99"], ["created_at", Thu, 08 Jan 2015 18:30: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", Thu, 08 Jan 2015 18:30:43 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 101' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 101' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:30: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", Thu, 08 Jan 2015 18:30:43 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 42], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 18:30:43 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:30:43 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 18:30:43 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:30:43 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Thu, 08 Jan 2015 18:30:43 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 18:30:43 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.6ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 102' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 102' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:30: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", Thu, 08 Jan 2015 18:30:43 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 103' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 103' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "102"], ["created_at", Thu, 08 Jan 2015 18:30: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", Thu, 08 Jan 2015 18:30:43 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 18:30:43 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:30:43 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 38], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 18:30:43 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:30:43 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 18:30:43 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 18:30:43 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 104' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 104' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "103"], ["created_at", Thu, 08 Jan 2015 18:30: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", Thu, 08 Jan 2015 18:30:43 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 105' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 105' LIMIT 1[0m [1m[35mSQL (0.6ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:30: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", Thu, 08 Jan 2015 18:30:43 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 44], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 18:30:43 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:30:43 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 18:30:43 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:30:43 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Thu, 08 Jan 2015 18:30:43 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 18:30:43 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.6ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 106' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 106' LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:30: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", Thu, 08 Jan 2015 18:30:43 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 107' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 107' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "106"], ["created_at", Thu, 08 Jan 2015 18:30: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", Thu, 08 Jan 2015 18:30:43 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m 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", Thu, 08 Jan 2015 18:30:43 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:30:43 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 40], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 18:30:43 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:30:43 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 18:30:43 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 18:30:43 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 108' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 108' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "107"], ["created_at", Thu, 08 Jan 2015 18:30: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", Thu, 08 Jan 2015 18:30:43 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 109' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 109' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:30: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", Thu, 08 Jan 2015 18:30:43 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 46], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 18:30:43 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:30:43 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 18:30:43 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:30:43 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Thu, 08 Jan 2015 18:30:43 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 18:30:43 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.8ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 110' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 110' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:30: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", Thu, 08 Jan 2015 18:30:43 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 111' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 111' LIMIT 1 [1m[36mSQL (0.7ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "110"], ["created_at", Thu, 08 Jan 2015 18:30: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", Thu, 08 Jan 2015 18:30:43 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m 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", Thu, 08 Jan 2015 18:30:43 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:30:43 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 42], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 18:30:43 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:30:43 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 18:30:43 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 18:30:43 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.8ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 112' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 112' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "111"], ["created_at", Thu, 08 Jan 2015 18:30: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", Thu, 08 Jan 2015 18:30:43 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 113' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 113' LIMIT 1[0m [1m[35mSQL (0.8ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:30: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", Thu, 08 Jan 2015 18:30:43 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 48], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 18:30:43 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:30:43 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 18:30:43 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:30:43 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Thu, 08 Jan 2015 18:30:43 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 18:30:43 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 114' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 114' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:30: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", Thu, 08 Jan 2015 18:30:43 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 115' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 115' LIMIT 1 [1m[36mSQL (0.7ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "114"], ["created_at", Thu, 08 Jan 2015 18:30:43 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", Thu, 08 Jan 2015 18:30:43 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 18:30:43 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:30:43 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 44], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 18:30:43 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:30:43 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 18:30:43 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 18:30:43 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 116' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 116' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "115"], ["created_at", Thu, 08 Jan 2015 18:30:43 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", Thu, 08 Jan 2015 18:30:43 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 117' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 117' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:30:43 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", Thu, 08 Jan 2015 18:30:43 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 50], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 18:30:43 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:30:43 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 18:30:43 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:30:43 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Thu, 08 Jan 2015 18:30:43 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 18:30:43 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.8ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 118' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 118' LIMIT 1[0m [1m[35mSQL (0.6ms)[0m INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "117"], ["created_at", Thu, 08 Jan 2015 18:30:43 UTC +00:00], ["key", "Key 118"], ["name", "Account 118"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 118"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Thu, 08 Jan 2015 18:30:43 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 119' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 119' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "118"], ["created_at", Thu, 08 Jan 2015 18:30:43 UTC +00:00], ["key", "Key 119"], ["name", "Account 119"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 119"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Thu, 08 Jan 2015 18:30:43 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 51], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 18:30:43 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:30:43 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 46], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 18:30:43 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:30:43 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 18:30:43 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:30:43 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 120' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 120' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "119"], ["created_at", Thu, 08 Jan 2015 18:30:43 UTC +00:00], ["key", "Key 120"], ["name", "Account 120"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 120"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Thu, 08 Jan 2015 18:30:43 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 121' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 121' LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "120"], ["created_at", Thu, 08 Jan 2015 18:30:43 UTC +00:00], ["key", "Key 121"], ["name", "Account 121"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 121"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Thu, 08 Jan 2015 18:30:43 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 52], ["coalescing_panda_lti_account_id", 4], ["created_at", Thu, 08 Jan 2015 18:30:43 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:30:43 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 47], ["coalescing_panda_lti_account_id", 3], ["coalescing_panda_term_id", 2], ["created_at", Thu, 08 Jan 2015 18:30:43 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:30:43 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::Course Load (0.1ms)[0m [1mSELECT "coalescing_panda_courses".* FROM "coalescing_panda_courses" WHERE "coalescing_panda_courses"."id" = ? LIMIT 1[0m [["id", 2]] [1m[35mSQL (0.1ms)[0m UPDATE "coalescing_panda_sections" SET "coalescing_panda_course_id" = ?, "updated_at" = ? WHERE "coalescing_panda_sections"."id" = 1 [["coalescing_panda_course_id", 2], ["updated_at", Thu, 08 Jan 2015 18:30:43 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Thu, 08 Jan 2015 18:30:43 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 18:30:43 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 18:30:43 UTC +00:00], ["email", "test18@test.com"], ["name", "Factory User 18"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 18:30:43 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::User Load (0.1ms)[0m 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]] [1m[36mCoalescingPanda::Section Load (0.1ms)[0m [1mSELECT "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[0m [["coalescing_panda_course_id", 2]] [1m[35m (0.8ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 122' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 122' LIMIT 1 [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "121"], ["created_at", Thu, 08 Jan 2015 18:30:43 UTC +00:00], ["key", "Key 122"], ["name", "Account 122"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 122"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Thu, 08 Jan 2015 18:30:43 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 123' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 123' LIMIT 1[0m [1m[35mSQL (0.6ms)[0m INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "122"], ["created_at", Thu, 08 Jan 2015 18:30:43 UTC +00:00], ["key", "Key 123"], ["name", "Account 123"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 123"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Thu, 08 Jan 2015 18:30:43 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 53], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 18:30:43 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:30:43 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 48], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 18:30:43 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:30:43 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Thu, 08 Jan 2015 18:30:43 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 18:30:43 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.9ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 124' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 124' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "123"], ["created_at", Thu, 08 Jan 2015 18:30:43 UTC +00:00], ["key", "Key 124"], ["name", "Account 124"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 124"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Thu, 08 Jan 2015 18:30:43 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 125' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 125' LIMIT 1 [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "124"], ["created_at", Thu, 08 Jan 2015 18:30:43 UTC +00:00], ["key", "Key 125"], ["name", "Account 125"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 125"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Thu, 08 Jan 2015 18:30:43 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 54], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 18:30:43 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:30:43 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 49], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 18:30:43 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:30:43 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_assignment_id", "9"], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 18:30:43 UTC +00:00], ["name", "test assignment"], ["submission_types", nil], ["updated_at", Thu, 08 Jan 2015 18:30:43 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Thu, 08 Jan 2015 18:30:43 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 18:30:43 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m 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", Thu, 08 Jan 2015 18:30:43 UTC +00:00], ["email", "test19@test.com"], ["name", "Factory User 19"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 18:30:43 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::User Load (0.1ms)[0m 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]] [1m[36mCoalescingPanda::Assignment Load (0.1ms)[0m [1mSELECT "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[0m [["coalescing_panda_course_id", 1]] [1m[35m (1.0ms)[0m rollback transaction [1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m [1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations" [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m Processing by CoalescingPanda::LtiController#lti_config as HTML Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m Processing by CoalescingPanda::LtiController#lti_config as HTML Completed 500 Internal Server Error in 1ms [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m Processing by CoalescingPanda::Oauth2Controller#redirect as HTML Parameters: {"user_id"=>"1", "api_domain"=>"foo.com", "code"=>"bar"} Completed 200 OK in 5ms (Views: 4.8ms | ActiveRecord: 0.0ms) [1m[35mCoalescingPanda::CanvasApiAuth Load (0.1ms)[0m 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 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction Processing by CoalescingPanda::Oauth2Controller#redirect as HTML Parameters: {"error"=>"your face"} Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "coalescing_panda_canvas_api_auths"[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 1' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 1' LIMIT 1 [1m[36mSQL (2.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "1"], ["created_at", Thu, 08 Jan 2015 18:31: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", Thu, 08 Jan 2015 18:31:34 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 2' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 2' LIMIT 1[0m [1m[35mSQL (1.3ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:31: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", Thu, 08 Jan 2015 18:31:34 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 1], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 18:31:34 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:31:34 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 18:31:34 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:31:34 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (1.3ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 3' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 3' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "3"], ["created_at", Thu, 08 Jan 2015 18:31: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", Thu, 08 Jan 2015 18:31:34 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 4' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 4' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:31: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", Thu, 08 Jan 2015 18:31:34 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 2], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 18:31:34 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:31:34 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 18:31:34 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:31:34 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.9ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 5' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 5' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "5"], ["created_at", Thu, 08 Jan 2015 18:31: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", Thu, 08 Jan 2015 18:31:34 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 6' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 6' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:31: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", Thu, 08 Jan 2015 18:31:34 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 3], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 18:31:34 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:31:34 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 18:31:34 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:31:34 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_assignment_id", "1"], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 18:31:34 UTC +00:00], ["name", "test assignment"], ["submission_types", nil], ["updated_at", Thu, 08 Jan 2015 18:31:34 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_assignment_id", "1"], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 18:31:34 UTC +00:00], ["name", "test assignment"], ["submission_types", nil], ["updated_at", Thu, 08 Jan 2015 18:31:34 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", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m [1m[35m (0.8ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 7' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 7' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "7"], ["created_at", Thu, 08 Jan 2015 18:31: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", Thu, 08 Jan 2015 18:31:34 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 8' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 8' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:31: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", Thu, 08 Jan 2015 18:31:34 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 4], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 18:31:34 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:31:34 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 18:31:34 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:31:34 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (1.0ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mCoalescingPanda::CanvasApiAuth Load (0.2ms)[0m SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" ORDER BY "coalescing_panda_canvas_api_auths"."id" ASC LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_panda_canvas_api_auths" ("created_at", "updated_at", "user_id") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 18:31:34 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:31:34 UTC +00:00], ["user_id", "a"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::CanvasApiAuth Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1 [1m[36mCoalescingPanda::CanvasApiAuth Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1[0m [1m[35mCoalescingPanda::CanvasApiAuth Load (0.1ms)[0m SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" [1m[36mCoalescingPanda::CanvasApiAuth Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" = '1') LIMIT 1[0m [1m[35mCoalescingPanda::CanvasApiAuth Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" = '1') LIMIT 1 [1m[36m (0.4ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mCoalescingPanda::CanvasApiAuth Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1[0m [1m[35mCoalescingPanda::CanvasApiAuth Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1 [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mCoalescingPanda::CanvasApiAuth Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1[0m [1m[35mCoalescingPanda::CanvasApiAuth Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1 [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 18:31:34 UTC +00:00], ["status", "Pending"], ["updated_at", Thu, 08 Jan 2015 18:31:34 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Thu, 08 Jan 2015 18:31:34 UTC +00:00], ["status", "Pending"], ["updated_at", Thu, 08 Jan 2015 18:31:34 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 18:31:34 UTC +00:00], ["status", "Pending"], ["updated_at", Thu, 08 Jan 2015 18:31:34 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::CanvasBatch Load (0.1ms)[0m SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" ORDER BY created_at DESC [1m[36m (0.9ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 9' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 9' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:31: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", Thu, 08 Jan 2015 18:31:34 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 10' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 10' LIMIT 1 [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "10"], ["created_at", Thu, 08 Jan 2015 18:31: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", Thu, 08 Jan 2015 18:31:34 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 18:31:34 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:31:34 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.6ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 11' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 11' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "11"], ["created_at", Thu, 08 Jan 2015 18:31: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", Thu, 08 Jan 2015 18:31:34 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 12' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 12' LIMIT 1[0m [1m[35mSQL (1.0ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:31:34 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", Thu, 08 Jan 2015 18:31:34 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 6], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 18:31:34 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:31:34 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.5ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 13' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 13' LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:31:34 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", Thu, 08 Jan 2015 18:31:34 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 14' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 14' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "14"], ["created_at", Thu, 08 Jan 2015 18:31:34 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", Thu, 08 Jan 2015 18:31:34 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 18:31:34 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:31:34 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 18:31:34 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:31:34 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 15' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 15' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:31:34 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", Thu, 08 Jan 2015 18:31:34 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 8], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 18:31:34 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:31:34 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 18:31:34 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:31:34 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 (?, ?, ?, ?, ?, ?) [1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m [1m[35m (1.0ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 16' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 16' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "16"], ["created_at", Thu, 08 Jan 2015 18:31:35 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", Thu, 08 Jan 2015 18:31:35 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.6ms)[0m 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", Thu, 08 Jan 2015 18:31:35 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 17' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 17' LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "17"], ["created_at", Thu, 08 Jan 2015 18:31:35 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", Thu, 08 Jan 2015 18:31:35 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 18:31:35 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 18' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 18' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "18"], ["created_at", Thu, 08 Jan 2015 18:31:35 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", Thu, 08 Jan 2015 18:31:35 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 18:31:35 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:31:35 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 (?, ?, ?, ?, ?, ?) [1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 19' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 19' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "19"], ["created_at", Thu, 08 Jan 2015 18:31:35 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", Thu, 08 Jan 2015 18:31:35 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 20' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 20' LIMIT 1[0m [1m[35mSQL (0.6ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:31:35 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", Thu, 08 Jan 2015 18:31:35 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 10], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 21' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 21' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:31:35 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", Thu, 08 Jan 2015 18:31:35 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.8ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00], ["email", "test1@test.com"], ["name", "Factory User 1"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 22' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 22' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:31:35 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", Thu, 08 Jan 2015 18:31:35 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 23' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 23' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "23"], ["created_at", Thu, 08 Jan 2015 18:31:35 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", Thu, 08 Jan 2015 18:31:35 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 18:31:35 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 7], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m 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", Thu, 08 Jan 2015 18:31:35 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (1.0ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 24' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 24' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "24"], ["created_at", Thu, 08 Jan 2015 18:31:35 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", Thu, 08 Jan 2015 18:31:35 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.7ms)[0m 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", Thu, 08 Jan 2015 18:31:35 UTC +00:00], ["email", "test2@test.com"], ["name", "Factory User 2"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 25' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 25' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "25"], ["created_at", Thu, 08 Jan 2015 18:31:35 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", Thu, 08 Jan 2015 18:31:35 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 26' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 26' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:31:35 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", Thu, 08 Jan 2015 18:31:35 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 12], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 18:31:35 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_section_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.8ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.2ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 27' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 27' LIMIT 1[0m [1m[35mSQL (0.6ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:31:35 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", Thu, 08 Jan 2015 18:31:35 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00], ["email", "test3@test.com"], ["name", "Factory User 3"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 28' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 28' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:31:35 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", Thu, 08 Jan 2015 18:31:35 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 29' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 29' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "29"], ["created_at", Thu, 08 Jan 2015 18:31:35 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", Thu, 08 Jan 2015 18:31:35 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 18:31:35 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 9], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 18:31:35 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (1.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 30' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 30' LIMIT 1 [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "30"], ["created_at", Thu, 08 Jan 2015 18:31:35 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", Thu, 08 Jan 2015 18:31:35 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.7ms)[0m 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", Thu, 08 Jan 2015 18:31:35 UTC +00:00], ["email", "test4@test.com"], ["name", "Factory User 4"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 31' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 31' LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "31"], ["created_at", Thu, 08 Jan 2015 18:31:35 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", Thu, 08 Jan 2015 18:31:35 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 32' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 32' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:31:35 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", Thu, 08 Jan 2015 18:31:35 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 14], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 18:31:35 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_section_id", 4], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m 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", Thu, 08 Jan 2015 18:31:35 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_enrollment_id", 4], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Thu, 08 Jan 2015 18:31:35 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 (?, ?, ?, ?, ?, ?) [1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1 [1m[36m (1.0ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.2ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 33' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 33' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:31:35 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", Thu, 08 Jan 2015 18:31:35 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.7ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 5], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00], ["email", "test5@test.com"], ["name", "Factory User 5"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 34' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 34' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:31:35 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", Thu, 08 Jan 2015 18:31:35 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 35' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 35' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "35"], ["created_at", Thu, 08 Jan 2015 18:31:35 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", Thu, 08 Jan 2015 18:31:35 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 18:31:35 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 11], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 18:31:35 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_enrollment_id", 5], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 18:31:35 UTC +00:00], ["enrollment_type", "TeacherEnrollment"], ["updated_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.9ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 36' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 36' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "36"], ["created_at", Thu, 08 Jan 2015 18:31:35 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", Thu, 08 Jan 2015 18:31:35 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.5ms)[0m 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", Thu, 08 Jan 2015 18:31:35 UTC +00:00], ["email", "test6@test.com"], ["name", "Factory User 6"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 37' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 37' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "37"], ["created_at", Thu, 08 Jan 2015 18:31:35 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", Thu, 08 Jan 2015 18:31:35 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 38' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 38' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:31:35 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", Thu, 08 Jan 2015 18:31:35 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 16], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 18:31:35 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_section_id", 6], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 39' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 39' LIMIT 1 [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 40' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 40' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:31:35 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", Thu, 08 Jan 2015 18:31:35 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 41' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 41' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "40"], ["created_at", Thu, 08 Jan 2015 18:31:35 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", Thu, 08 Jan 2015 18:31:35 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 18:31:35 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 13], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.8ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 42' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 42' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:31:35 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", Thu, 08 Jan 2015 18:31:35 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 43' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 43' LIMIT 1 [1m[36mSQL (0.7ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "42"], ["created_at", Thu, 08 Jan 2015 18:31:35 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", Thu, 08 Jan 2015 18:31:35 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 18:31:35 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 14], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.6ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 44' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 44' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:31:35 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", Thu, 08 Jan 2015 18:31:35 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 45' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 45' LIMIT 1 [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "44"], ["created_at", Thu, 08 Jan 2015 18:31:35 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", Thu, 08 Jan 2015 18:31:35 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 18:31:35 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 15], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m 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", Thu, 08 Jan 2015 18:31:35 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_section_id", "1"], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:31:35 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 (?, ?, ?, ?) [1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1 [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 46' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 46' LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:31:35 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", Thu, 08 Jan 2015 18:31:35 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 47' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 47' LIMIT 1 [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "46"], ["created_at", Thu, 08 Jan 2015 18:31:35 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", Thu, 08 Jan 2015 18:31:35 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 18:31:35 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 16], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.6ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 48' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 48' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:31:35 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", Thu, 08 Jan 2015 18:31:35 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.7ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 7], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00], ["email", "test7@test.com"], ["name", "Factory User 7"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 49' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 49' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:31:35 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", Thu, 08 Jan 2015 18:31:35 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 50' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 50' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "49"], ["created_at", Thu, 08 Jan 2015 18:31:35 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", Thu, 08 Jan 2015 18:31:35 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 18:31:35 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 17], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_assignment_id", "3"], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00], ["name", "test assignment"], ["submission_types", nil], ["updated_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (1.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 51' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 51' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "50"], ["created_at", Thu, 08 Jan 2015 18:31:35 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", Thu, 08 Jan 2015 18:31:35 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.6ms)[0m 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", Thu, 08 Jan 2015 18:31:35 UTC +00:00], ["email", "test8@test.com"], ["name", "Factory User 8"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 52' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 52' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "51"], ["created_at", Thu, 08 Jan 2015 18:31:35 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", Thu, 08 Jan 2015 18:31:35 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 53' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 53' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:31:35 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", Thu, 08 Jan 2015 18:31:35 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 22], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 18:31:35 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_assignment_id", "4"], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00], ["name", "test assignment"], ["submission_types", nil], ["updated_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 54' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 54' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:31:35 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", Thu, 08 Jan 2015 18:31:35 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 9], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00], ["email", "test9@test.com"], ["name", "Factory User 9"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 55' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 55' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:31:35 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", Thu, 08 Jan 2015 18:31:35 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 56' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 56' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "55"], ["created_at", Thu, 08 Jan 2015 18:31:35 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", Thu, 08 Jan 2015 18:31:35 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 18:31:35 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 19], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_assignment_id", "5"], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00], ["name", "test assignment"], ["submission_types", nil], ["updated_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.8ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 57' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 57' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "56"], ["created_at", Thu, 08 Jan 2015 18:31:35 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", Thu, 08 Jan 2015 18:31:35 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.7ms)[0m 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", Thu, 08 Jan 2015 18:31:35 UTC +00:00], ["email", "test10@test.com"], ["name", "Factory User 10"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 58' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 58' LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "57"], ["created_at", Thu, 08 Jan 2015 18:31:35 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", Thu, 08 Jan 2015 18:31:35 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 59' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 59' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:31:35 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", Thu, 08 Jan 2015 18:31:35 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 24], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 18:31:35 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_assignment_id", "6"], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00], ["name", "test assignment"], ["submission_types", nil], ["updated_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m 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", Thu, 08 Jan 2015 18:31:35 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["canvas_submission_id", "1"], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:31:35 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 (?, ?, ?, ?, ?) [1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1 [1m[36m (0.9ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 60' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 60' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:31:35 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", Thu, 08 Jan 2015 18:31:35 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 11], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00], ["email", "test11@test.com"], ["name", "Factory User 11"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 61' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 61' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:31:35 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", Thu, 08 Jan 2015 18:31:35 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 62' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 62' LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "61"], ["created_at", Thu, 08 Jan 2015 18:31:35 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", Thu, 08 Jan 2015 18:31:35 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 18:31:35 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 21], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_assignment_id", "7"], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00], ["name", "test assignment"], ["submission_types", nil], ["updated_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["canvas_submission_id", "1"], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m 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", Thu, 08 Jan 2015 18:31:35 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.9ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 63' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 63' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "62"], ["created_at", Thu, 08 Jan 2015 18:31:35 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", Thu, 08 Jan 2015 18:31:35 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.6ms)[0m 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", Thu, 08 Jan 2015 18:31:35 UTC +00:00], ["email", "test12@test.com"], ["name", "Factory User 12"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 64' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 64' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "63"], ["created_at", Thu, 08 Jan 2015 18:31:35 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", Thu, 08 Jan 2015 18:31:35 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 65' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 65' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:31:35 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", Thu, 08 Jan 2015 18:31:35 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 26], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 18:31:35 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_assignment_id", "8"], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00], ["name", "test assignment"], ["submission_types", nil], ["updated_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (1.0ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 66' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 66' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:31:35 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", Thu, 08 Jan 2015 18:31:35 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.5ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 67' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 67' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "66"], ["created_at", Thu, 08 Jan 2015 18:31:35 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", Thu, 08 Jan 2015 18:31:35 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.6ms)[0m 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", Thu, 08 Jan 2015 18:31:35 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:31:35 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 (?, ?, ?, ?) [1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1 [1m[36m (0.6ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 68' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 68' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:31:35 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", Thu, 08 Jan 2015 18:31:35 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.4ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 69' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 69' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "68"], ["created_at", Thu, 08 Jan 2015 18:31:35 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", Thu, 08 Jan 2015 18:31:35 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.4ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 70' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 70' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:31:35 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", Thu, 08 Jan 2015 18:31:35 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00], ["email", "test15@test.com"], ["name", "Factory User 15"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m 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", Thu, 08 Jan 2015 18:31:35 UTC +00:00], ["email", "test16@test.com"], ["name", "Factory User 16"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 18:31:35 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 (?, ?, ?, ?, ?, ?, ?) [1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m [1m[35m (0.6ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 71' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 71' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "70"], ["created_at", Thu, 08 Jan 2015 18:31:35 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", Thu, 08 Jan 2015 18:31:35 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.3ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 72' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 72' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:31:35 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", Thu, 08 Jan 2015 18:31:35 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 73' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 73' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "72"], ["created_at", Thu, 08 Jan 2015 18:31:35 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", Thu, 08 Jan 2015 18:31:35 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 18:31:35 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 23], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::CanvasBatch Load (0.1ms)[0m SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" ORDER BY created_at ASC LIMIT 1 [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 74' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 74' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:31:35 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", Thu, 08 Jan 2015 18:31:35 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 75' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 75' LIMIT 1 [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "74"], ["created_at", Thu, 08 Jan 2015 18:31:35 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", Thu, 08 Jan 2015 18:31:35 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 18:31:35 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 24], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 76' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 76' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "75"], ["created_at", Thu, 08 Jan 2015 18:31:35 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", Thu, 08 Jan 2015 18:31:35 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 77' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 77' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:31:35 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", Thu, 08 Jan 2015 18:31:35 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 30], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 18:31:35 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m UPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["status", "Started"], ["updated_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Section Load (0.1ms)[0m SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00], ["name", "Course1"], ["updated_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mUPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1[0m [["percent_complete", 14.3], ["updated_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::User Load (0.1ms)[0m [1mSELECT "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[0m [["coalescing_panda_lti_account_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.9ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00], ["name", "teacher@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::User Load (0.1ms)[0m [1mSELECT "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[0m [["coalescing_panda_lti_account_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00], ["name", "student1@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::User Load (0.1ms)[0m [1mSELECT "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[0m [["coalescing_panda_lti_account_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00], ["name", "student2@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 28.6], ["updated_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Enrollment Load (0.1ms)[0m SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '1') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36mCoalescingPanda::User Load (0.1ms)[0m [1mSELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '1' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1[0m [["coalescing_panda_lti_account_id", 1]] [1m[35mCoalescingPanda::Section Load (0.1ms)[0m SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "coalescing_panda_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"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Enrollment Load (0.1ms)[0m SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '2') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36mCoalescingPanda::User Load (0.1ms)[0m [1mSELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1[0m [["coalescing_panda_lti_account_id", 1]] [1m[35mCoalescingPanda::Section Load (0.0ms)[0m SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_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"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Enrollment Load (0.1ms)[0m SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '3') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36mCoalescingPanda::User Load (0.1ms)[0m [1mSELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1[0m [["coalescing_panda_lti_account_id", 1]] [1m[35mCoalescingPanda::Section Load (0.0ms)[0m SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_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"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mUPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1[0m [["percent_complete", 42.9], ["updated_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::Assignment Load (0.1ms)[0m [1mSELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "grade_group_students_individually", "name", "points_possible", "published", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_assignment_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 18:04:38 UTC +00:00], ["description", "What is your name?
"], ["grade_group_students_individually", false], ["name", "Gimme your name"], ["points_possible", 100.0], ["published", true], ["submission_types", "---\n- online_text_entry\n"], ["updated_at", Tue, 18 Nov 2014 18:04:42 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::Assignment Load (0.1ms)[0m [1mSELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "grade_group_students_individually", "name", "points_possible", "published", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_assignment_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 19:10:28 UTC +00:00], ["description", "What is your Favorite Color?
"], ["grade_group_students_individually", false], ["name", "Favorite Color"], ["points_possible", 100.0], ["published", true], ["submission_types", "---\n- online_text_entry\n"], ["updated_at", Tue, 18 Nov 2014 19:10:30 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 57.1], ["updated_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Assignment Load (0.1ms)[0m SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? [["coalescing_panda_course_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 71.4], ["updated_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Group Load (0.1ms)[0m SELECT "coalescing_panda_groups".* FROM "coalescing_panda_groups" WHERE "coalescing_panda_groups"."context_id" = ? AND "coalescing_panda_groups"."context_type" = ? AND (canvas_group_id = '4') ORDER BY "coalescing_panda_groups"."id" ASC LIMIT 1 [["context_id", 1], ["context_type", "CoalescingPanda::Course"]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "coalescing_panda_groups" ("canvas_group_id", "context_id", "context_type", "created_at", "group_category_id", "members_count", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_group_id", 4], ["context_id", 1], ["context_type", "CoalescingPanda::Course"], ["created_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00], ["group_category_id", 3], ["members_count", 2], ["name", "Student Group 1"], ["updated_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Group Load (0.1ms)[0m SELECT "coalescing_panda_groups".* FROM "coalescing_panda_groups" WHERE "coalescing_panda_groups"."context_id" = ? AND "coalescing_panda_groups"."context_type" = ? AND (canvas_group_id = '5') ORDER BY "coalescing_panda_groups"."id" ASC LIMIT 1 [["context_id", 1], ["context_type", "CoalescingPanda::Course"]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_groups" ("canvas_group_id", "context_id", "context_type", "created_at", "group_category_id", "members_count", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_group_id", 5], ["context_id", 1], ["context_type", "CoalescingPanda::Course"], ["created_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00], ["group_category_id", 3], ["members_count", 2], ["name", "Student Group 2"], ["updated_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mUPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1[0m [["percent_complete", 85.7], ["updated_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::Group Load (0.1ms)[0m [1mSELECT "coalescing_panda_groups".* FROM "coalescing_panda_groups" WHERE "coalescing_panda_groups"."context_id" = ? AND "coalescing_panda_groups"."context_type" = ?[0m [["context_id", 1], ["context_type", "CoalescingPanda::Course"]] [1m[35mCoalescingPanda::GroupMembership Load (0.1ms)[0m 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 (canvas_group_membership_id = '13') ORDER BY "coalescing_panda_group_memberships"."id" ASC LIMIT 1 [["context_id", 1], ["context_type", "CoalescingPanda::Course"]] [1m[36mCoalescingPanda::Group Load (0.1ms)[0m [1mSELECT "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" = '4' LIMIT 1[0m [["context_id", 1], ["context_type", "CoalescingPanda::Course"]] [1m[35mCoalescingPanda::User Load (0.1ms)[0m SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' LIMIT 1 [["coalescing_panda_lti_account_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "coalescing_panda_group_memberships" ("canvas_group_membership_id", "coalescing_panda_group_id", "coalescing_panda_user_id", "created_at", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?) [["canvas_group_membership_id", 13], ["coalescing_panda_group_id", 1], ["coalescing_panda_user_id", 2], ["created_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00], ["workflow_state", "accepted"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::GroupMembership Load (0.1ms)[0m 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 (canvas_group_membership_id = '14') ORDER BY "coalescing_panda_group_memberships"."id" ASC LIMIT 1 [["context_id", 1], ["context_type", "CoalescingPanda::Course"]] [1m[36mCoalescingPanda::Group Load (0.0ms)[0m [1mSELECT "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" = '4' LIMIT 1[0m [["context_id", 1], ["context_type", "CoalescingPanda::Course"]] [1m[35mCoalescingPanda::User Load (0.1ms)[0m SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' LIMIT 1 [["coalescing_panda_lti_account_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_group_memberships" ("canvas_group_membership_id", "coalescing_panda_group_id", "coalescing_panda_user_id", "created_at", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?) [["canvas_group_membership_id", 14], ["coalescing_panda_group_id", 1], ["coalescing_panda_user_id", 3], ["created_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00], ["workflow_state", "accepted"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::GroupMembership Load (0.0ms)[0m 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 (canvas_group_membership_id = '13') ORDER BY "coalescing_panda_group_memberships"."id" ASC LIMIT 1 [["context_id", 1], ["context_type", "CoalescingPanda::Course"]] [1m[36mCoalescingPanda::Group Load (0.1ms)[0m [1mSELECT "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" = '4' LIMIT 1[0m [["context_id", 1], ["context_type", "CoalescingPanda::Course"]] [1m[35mCoalescingPanda::User Load (0.0ms)[0m SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' LIMIT 1 [["coalescing_panda_lti_account_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m UPDATE "coalescing_panda_group_memberships" SET "canvas_group_membership_id" = ?, "updated_at" = ? WHERE "coalescing_panda_group_memberships"."id" = 1 [["canvas_group_membership_id", 13], ["updated_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::GroupMembership Load (0.0ms)[0m 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 (canvas_group_membership_id = '14') ORDER BY "coalescing_panda_group_memberships"."id" ASC LIMIT 1 [["context_id", 1], ["context_type", "CoalescingPanda::Course"]] [1m[36mCoalescingPanda::Group Load (0.0ms)[0m [1mSELECT "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" = '4' LIMIT 1[0m [["context_id", 1], ["context_type", "CoalescingPanda::Course"]] [1m[35mCoalescingPanda::User Load (0.0ms)[0m SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' LIMIT 1 [["coalescing_panda_lti_account_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "coalescing_panda_group_memberships" SET "canvas_group_membership_id" = ?, "updated_at" = ? WHERE "coalescing_panda_group_memberships"."id" = 2 [["canvas_group_membership_id", 14], ["updated_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mUPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1[0m [["percent_complete", 100.0], ["updated_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["status", "Completed"], ["updated_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (1.4ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 78' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 78' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "77"], ["created_at", Thu, 08 Jan 2015 18:31:35 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", Thu, 08 Jan 2015 18:31:35 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 79' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 79' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:31:35 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", Thu, 08 Jan 2015 18:31:35 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 31], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 18:31:35 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.8ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 80' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 80' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:31:35 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", Thu, 08 Jan 2015 18:31:35 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 81' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 81' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "80"], ["created_at", Thu, 08 Jan 2015 18:31:35 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", Thu, 08 Jan 2015 18:31:35 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 18:31:35 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 27], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.8ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mCoalescingPanda::Section Load (0.1ms)[0m SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 82' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 82' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:31:35 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", Thu, 08 Jan 2015 18:31:35 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 83' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 83' LIMIT 1 [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "82"], ["created_at", Thu, 08 Jan 2015 18:31:35 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", Thu, 08 Jan 2015 18:31:35 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 18:31:35 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 28], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Section Load (0.0ms)[0m SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00], ["name", "Course1"], ["updated_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "coalescing_panda_sections" [1m[36m (0.8ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mCoalescingPanda::User Load (0.2ms)[0m [1mSELECT "coalescing_panda_users".* FROM "coalescing_panda_users"[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 84' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 84' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "83"], ["created_at", Thu, 08 Jan 2015 18:31:35 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", Thu, 08 Jan 2015 18:31:35 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 85' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 85' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:31:35 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", Thu, 08 Jan 2015 18:31:35 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 34], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 18:31:35 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::User Load (0.0ms)[0m [1mSELECT "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[0m [["coalescing_panda_lti_account_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00], ["name", "teacher@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::User Load (0.0ms)[0m [1mSELECT "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[0m [["coalescing_panda_lti_account_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00], ["name", "student1@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::User Load (0.0ms)[0m [1mSELECT "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[0m [["coalescing_panda_lti_account_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00], ["name", "student2@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "coalescing_panda_users"[0m [1m[35m (0.9ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mCoalescingPanda::Enrollment Load (0.2ms)[0m SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 86' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 86' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:31:35 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", Thu, 08 Jan 2015 18:31:35 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 87' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 87' LIMIT 1 [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "86"], ["created_at", Thu, 08 Jan 2015 18:31:35 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", Thu, 08 Jan 2015 18:31:35 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 18:31:35 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 30], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Section Load (0.0ms)[0m SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00], ["name", "Course1"], ["updated_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::User Load (0.0ms)[0m 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]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00], ["name", "teacher@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::User Load (0.0ms)[0m 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]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00], ["name", "student1@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::User Load (0.0ms)[0m 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]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00], ["name", "student2@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Enrollment Load (0.0ms)[0m SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '1') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36mCoalescingPanda::User Load (0.0ms)[0m [1mSELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '1' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1[0m [["coalescing_panda_lti_account_id", 1]] [1m[35mCoalescingPanda::Section Load (0.0ms)[0m SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_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"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Enrollment Load (0.0ms)[0m SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '2') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36mCoalescingPanda::User Load (0.0ms)[0m [1mSELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1[0m [["coalescing_panda_lti_account_id", 1]] [1m[35mCoalescingPanda::Section Load (0.0ms)[0m SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_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"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Enrollment Load (0.0ms)[0m SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '3') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36mCoalescingPanda::User Load (0.0ms)[0m [1mSELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1[0m [["coalescing_panda_lti_account_id", 1]] [1m[35mCoalescingPanda::Section Load (0.0ms)[0m SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_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"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "coalescing_panda_enrollments" [1m[36mCoalescingPanda::Enrollment Load (0.1ms)[0m [1mSELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" ORDER BY "coalescing_panda_enrollments"."id" DESC LIMIT 1[0m [1m[35m (0.9ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mCoalescingPanda::Assignment Load (0.2ms)[0m SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 88' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 88' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:31:35 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", Thu, 08 Jan 2015 18:31:35 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 89' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 89' LIMIT 1 [1m[36mSQL (0.8ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "88"], ["created_at", Thu, 08 Jan 2015 18:31:35 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", Thu, 08 Jan 2015 18:31:35 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m 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", Thu, 08 Jan 2015 18:31:35 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 31], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Assignment Load (0.0ms)[0m SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "grade_group_students_individually", "name", "points_possible", "published", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 18:04:38 UTC +00:00], ["description", "What is your name?
"], ["grade_group_students_individually", false], ["name", "Gimme your name"], ["points_possible", 100.0], ["published", true], ["submission_types", "---\n- online_text_entry\n"], ["updated_at", Tue, 18 Nov 2014 18:04:42 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Assignment Load (0.0ms)[0m SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "grade_group_students_individually", "name", "points_possible", "published", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 19:10:28 UTC +00:00], ["description", "What is your Favorite Color?
"], ["grade_group_students_individually", false], ["name", "Favorite Color"], ["points_possible", 100.0], ["published", true], ["submission_types", "---\n- online_text_entry\n"], ["updated_at", Tue, 18 Nov 2014 19:10:30 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "coalescing_panda_assignments" [1m[36m (0.9ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mCoalescingPanda::Submission Load (0.1ms)[0m [1mSELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions"[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 90' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 90' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "89"], ["created_at", Thu, 08 Jan 2015 18:31:35 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", Thu, 08 Jan 2015 18:31:35 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 91' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 91' LIMIT 1[0m [1m[35mSQL (0.6ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:31:35 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", Thu, 08 Jan 2015 18:31:35 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 37], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 18:31:35 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::User Load (0.0ms)[0m [1mSELECT "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[0m [["coalescing_panda_lti_account_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00], ["name", "teacher@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::User Load (0.0ms)[0m [1mSELECT "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[0m [["coalescing_panda_lti_account_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00], ["name", "student1@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::User Load (0.0ms)[0m [1mSELECT "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[0m [["coalescing_panda_lti_account_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00], ["name", "student2@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::Assignment Load (0.0ms)[0m [1mSELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "grade_group_students_individually", "name", "points_possible", "published", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_assignment_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 18:04:38 UTC +00:00], ["description", "What is your name?
"], ["grade_group_students_individually", false], ["name", "Gimme your name"], ["points_possible", 100.0], ["published", true], ["submission_types", "---\n- online_text_entry\n"], ["updated_at", Tue, 18 Nov 2014 18:04:42 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::Assignment Load (0.0ms)[0m [1mSELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "grade_group_students_individually", "name", "points_possible", "published", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_assignment_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 19:10:28 UTC +00:00], ["description", "What is your Favorite Color?
"], ["grade_group_students_individually", false], ["name", "Favorite Color"], ["points_possible", 100.0], ["published", true], ["submission_types", "---\n- online_text_entry\n"], ["updated_at", Tue, 18 Nov 2014 19:10:30 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::Submission Load (0.1ms)[0m [1mSELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '3') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35mCoalescingPanda::User Load (0.0ms)[0m SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] [1m[36mCoalescingPanda::Assignment Load (0.1ms)[0m [1mSELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_submission_id", 3], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 3], ["created_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00], ["grade", "70"], ["score", 70], ["updated_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00], ["workflow_state", "graded"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::Submission Load (0.1ms)[0m [1mSELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '1') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35mCoalescingPanda::User Load (0.0ms)[0m SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] [1m[36mCoalescingPanda::Assignment Load (0.0ms)[0m [1mSELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_submission_id", 1], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 2], ["created_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00], ["grade", "100"], ["score", 100], ["updated_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00], ["workflow_state", "graded"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::Submission Load (0.1ms)[0m [1mSELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '4') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35mCoalescingPanda::User Load (0.0ms)[0m SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] [1m[36mCoalescingPanda::Assignment Load (0.1ms)[0m [1mSELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_submission_id", 4], ["coalescing_panda_assignment_id", 2], ["coalescing_panda_user_id", 3], ["created_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00], ["grade", "90"], ["score", 90], ["updated_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00], ["workflow_state", "graded"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::Submission Load (0.1ms)[0m [1mSELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '2') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35mCoalescingPanda::User Load (0.0ms)[0m SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] [1m[36mCoalescingPanda::Assignment Load (0.0ms)[0m [1mSELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_submission_id", 2], ["coalescing_panda_assignment_id", 2], ["coalescing_panda_user_id", 2], ["created_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00], ["grade", "80"], ["score", 80], ["updated_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00], ["workflow_state", "graded"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "coalescing_panda_submissions"[0m [1m[35m (1.0ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mCoalescingPanda::Group Load (0.2ms)[0m SELECT "coalescing_panda_groups".* FROM "coalescing_panda_groups" [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 92' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 92' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:31:35 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", Thu, 08 Jan 2015 18:31:35 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 93' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 93' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "92"], ["created_at", Thu, 08 Jan 2015 18:31:35 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", Thu, 08 Jan 2015 18:31:35 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 18:31:35 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 33], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Group Load (0.0ms)[0m SELECT "coalescing_panda_groups".* FROM "coalescing_panda_groups" WHERE "coalescing_panda_groups"."context_id" = ? AND "coalescing_panda_groups"."context_type" = ? AND (canvas_group_id = '4') ORDER BY "coalescing_panda_groups"."id" ASC LIMIT 1 [["context_id", 1], ["context_type", "CoalescingPanda::Course"]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_groups" ("canvas_group_id", "context_id", "context_type", "created_at", "group_category_id", "members_count", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_group_id", 4], ["context_id", 1], ["context_type", "CoalescingPanda::Course"], ["created_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00], ["group_category_id", 3], ["members_count", 2], ["name", "Student Group 1"], ["updated_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Group Load (0.0ms)[0m SELECT "coalescing_panda_groups".* FROM "coalescing_panda_groups" WHERE "coalescing_panda_groups"."context_id" = ? AND "coalescing_panda_groups"."context_type" = ? AND (canvas_group_id = '5') ORDER BY "coalescing_panda_groups"."id" ASC LIMIT 1 [["context_id", 1], ["context_type", "CoalescingPanda::Course"]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_groups" ("canvas_group_id", "context_id", "context_type", "created_at", "group_category_id", "members_count", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_group_id", 5], ["context_id", 1], ["context_type", "CoalescingPanda::Course"], ["created_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00], ["group_category_id", 3], ["members_count", 2], ["name", "Student Group 2"], ["updated_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "coalescing_panda_groups" [1m[36m (0.8ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mCoalescingPanda::GroupMembership Load (0.1ms)[0m [1mSELECT "coalescing_panda_group_memberships".* FROM "coalescing_panda_group_memberships"[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 94' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 94' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "93"], ["created_at", Thu, 08 Jan 2015 18:31:35 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", Thu, 08 Jan 2015 18:31:35 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 95' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 95' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:31:35 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", Thu, 08 Jan 2015 18:31:35 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 39], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 18:31:35 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::GroupMembership Load (0.0ms)[0m [1mSELECT "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 (canvas_group_membership_id = '13') ORDER BY "coalescing_panda_group_memberships"."id" ASC LIMIT 1[0m [["context_id", 1], ["context_type", "CoalescingPanda::Course"]] [1m[35mCoalescingPanda::Group Load (0.0ms)[0m 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" = '4' LIMIT 1 [["context_id", 1], ["context_type", "CoalescingPanda::Course"]] [1m[36mCoalescingPanda::User Load (0.0ms)[0m [1mSELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' LIMIT 1[0m [["coalescing_panda_lti_account_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_group_memberships" ("canvas_group_membership_id", "created_at", "updated_at", "workflow_state") VALUES (?, ?, ?, ?)[0m [["canvas_group_membership_id", 13], ["created_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00], ["workflow_state", "accepted"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::GroupMembership Load (0.0ms)[0m [1mSELECT "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 (canvas_group_membership_id = '14') ORDER BY "coalescing_panda_group_memberships"."id" ASC LIMIT 1[0m [["context_id", 1], ["context_type", "CoalescingPanda::Course"]] [1m[35mCoalescingPanda::Group Load (0.0ms)[0m 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" = '4' LIMIT 1 [["context_id", 1], ["context_type", "CoalescingPanda::Course"]] [1m[36mCoalescingPanda::User Load (0.0ms)[0m [1mSELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' LIMIT 1[0m [["coalescing_panda_lti_account_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_group_memberships" ("canvas_group_membership_id", "created_at", "updated_at", "workflow_state") VALUES (?, ?, ?, ?)[0m [["canvas_group_membership_id", 14], ["created_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00], ["workflow_state", "accepted"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "coalescing_panda_group_memberships"[0m [1m[35m (0.8ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 96' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 96' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "95"], ["created_at", Thu, 08 Jan 2015 18:31:35 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", Thu, 08 Jan 2015 18:31:35 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 97' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 97' LIMIT 1[0m [1m[35mSQL (0.6ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:31:35 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", Thu, 08 Jan 2015 18:31:35 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 40], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 18:31:35 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (1.4ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 98' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 98' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:31:35 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", Thu, 08 Jan 2015 18:31:35 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 99' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 99' LIMIT 1 [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "98"], ["created_at", Thu, 08 Jan 2015 18:31:35 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", Thu, 08 Jan 2015 18:31:35 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 18:31:35 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 36], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.8ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 100' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 100' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "99"], ["created_at", Thu, 08 Jan 2015 18:31:35 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", Thu, 08 Jan 2015 18:31:35 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 101' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 101' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:31:35 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", Thu, 08 Jan 2015 18:31:35 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 42], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 18:31:35 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 102' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 102' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:31:35 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", Thu, 08 Jan 2015 18:31:35 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 103' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 103' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "102"], ["created_at", Thu, 08 Jan 2015 18:31:35 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", Thu, 08 Jan 2015 18:31:35 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 18:31:35 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 38], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.8ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 104' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 104' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "103"], ["created_at", Thu, 08 Jan 2015 18:31:35 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", Thu, 08 Jan 2015 18:31:35 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 105' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 105' LIMIT 1[0m [1m[35mSQL (0.6ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:31:35 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", Thu, 08 Jan 2015 18:31:35 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 44], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 18:31:35 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.2ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 106' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 106' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:31:35 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", Thu, 08 Jan 2015 18:31:35 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 107' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 107' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "106"], ["created_at", Thu, 08 Jan 2015 18:31:35 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", Thu, 08 Jan 2015 18:31:35 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m 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", Thu, 08 Jan 2015 18:31:35 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 40], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 18:31:35 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.9ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 108' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 108' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "107"], ["created_at", Thu, 08 Jan 2015 18:31:36 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", Thu, 08 Jan 2015 18:31:36 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 109' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 109' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:31:36 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", Thu, 08 Jan 2015 18:31:36 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 46], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 18:31:36 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:31:36 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 18:31:36 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:31:36 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Thu, 08 Jan 2015 18:31:36 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 18:31:36 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 110' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 110' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:31:36 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", Thu, 08 Jan 2015 18:31:36 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 111' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 111' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "110"], ["created_at", Thu, 08 Jan 2015 18:31:36 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", Thu, 08 Jan 2015 18:31:36 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 18:31:36 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:31:36 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 42], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 18:31:36 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:31:36 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 18:31:36 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 18:31:36 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.8ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 112' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 112' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "111"], ["created_at", Thu, 08 Jan 2015 18:31:36 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", Thu, 08 Jan 2015 18:31:36 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 113' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 113' LIMIT 1[0m [1m[35mSQL (0.6ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:31:36 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", Thu, 08 Jan 2015 18:31:36 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 48], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 18:31:36 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:31:36 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 18:31:36 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:31:36 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Thu, 08 Jan 2015 18:31:36 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 18:31:36 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.8ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.2ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 114' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 114' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:31:36 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", Thu, 08 Jan 2015 18:31:36 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 115' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 115' LIMIT 1 [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "114"], ["created_at", Thu, 08 Jan 2015 18:31:36 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", Thu, 08 Jan 2015 18:31:36 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 18:31:36 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:31:36 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 44], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 18:31:36 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:31:36 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 18:31:36 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 18:31:36 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.8ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 116' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 116' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "115"], ["created_at", Thu, 08 Jan 2015 18:31:36 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", Thu, 08 Jan 2015 18:31:36 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 117' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 117' LIMIT 1[0m [1m[35mSQL (0.6ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:31:36 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", Thu, 08 Jan 2015 18:31:36 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 50], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 18:31:36 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:31:36 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 18:31:36 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:31:36 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Thu, 08 Jan 2015 18:31:36 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 18:31:36 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.8ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.2ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 118' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 118' LIMIT 1[0m [1m[35mSQL (0.6ms)[0m INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "117"], ["created_at", Thu, 08 Jan 2015 18:31:36 UTC +00:00], ["key", "Key 118"], ["name", "Account 118"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 118"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Thu, 08 Jan 2015 18:31:36 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 119' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 119' LIMIT 1 [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "118"], ["created_at", Thu, 08 Jan 2015 18:31:36 UTC +00:00], ["key", "Key 119"], ["name", "Account 119"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 119"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Thu, 08 Jan 2015 18:31:36 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 51], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 18:31:36 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:31:36 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 46], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 18:31:36 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:31:36 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 18:31:36 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:31:36 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 120' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 120' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "119"], ["created_at", Thu, 08 Jan 2015 18:31:36 UTC +00:00], ["key", "Key 120"], ["name", "Account 120"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 120"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Thu, 08 Jan 2015 18:31:36 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 121' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 121' LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "120"], ["created_at", Thu, 08 Jan 2015 18:31:36 UTC +00:00], ["key", "Key 121"], ["name", "Account 121"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 121"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Thu, 08 Jan 2015 18:31:36 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 52], ["coalescing_panda_lti_account_id", 4], ["created_at", Thu, 08 Jan 2015 18:31:36 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:31:36 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 47], ["coalescing_panda_lti_account_id", 3], ["coalescing_panda_term_id", 2], ["created_at", Thu, 08 Jan 2015 18:31:36 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:31:36 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::Course Load (0.2ms)[0m [1mSELECT "coalescing_panda_courses".* FROM "coalescing_panda_courses" WHERE "coalescing_panda_courses"."id" = ? LIMIT 1[0m [["id", 2]] [1m[35mSQL (0.2ms)[0m UPDATE "coalescing_panda_sections" SET "coalescing_panda_course_id" = ?, "updated_at" = ? WHERE "coalescing_panda_sections"."id" = 1 [["coalescing_panda_course_id", 2], ["updated_at", Thu, 08 Jan 2015 18:31:36 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Thu, 08 Jan 2015 18:31:36 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 18:31:36 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 18:31:36 UTC +00:00], ["email", "test18@test.com"], ["name", "Factory User 18"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 18:31:36 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::User Load (0.1ms)[0m 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]] [1m[36mCoalescingPanda::Section Load (0.1ms)[0m [1mSELECT "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[0m [["coalescing_panda_course_id", 2]] [1m[35m (0.8ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 122' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 122' LIMIT 1 [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "121"], ["created_at", Thu, 08 Jan 2015 18:31:36 UTC +00:00], ["key", "Key 122"], ["name", "Account 122"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 122"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Thu, 08 Jan 2015 18:31:36 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 123' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 123' LIMIT 1[0m [1m[35mSQL (0.7ms)[0m INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "122"], ["created_at", Thu, 08 Jan 2015 18:31:36 UTC +00:00], ["key", "Key 123"], ["name", "Account 123"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 123"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Thu, 08 Jan 2015 18:31:36 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 53], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 18:31:36 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:31:36 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 48], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 18:31:36 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:31:36 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Thu, 08 Jan 2015 18:31:36 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 18:31:36 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (1.0ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 124' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 124' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "123"], ["created_at", Thu, 08 Jan 2015 18:31:36 UTC +00:00], ["key", "Key 124"], ["name", "Account 124"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 124"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Thu, 08 Jan 2015 18:31:36 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 125' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 125' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "124"], ["created_at", Thu, 08 Jan 2015 18:31:36 UTC +00:00], ["key", "Key 125"], ["name", "Account 125"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 125"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Thu, 08 Jan 2015 18:31:36 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 54], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 18:31:36 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:31:36 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 49], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 18:31:36 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:31:36 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_assignment_id", "9"], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 18:31:36 UTC +00:00], ["name", "test assignment"], ["submission_types", nil], ["updated_at", Thu, 08 Jan 2015 18:31:36 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Thu, 08 Jan 2015 18:31:36 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 18:31:36 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m 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", Thu, 08 Jan 2015 18:31:36 UTC +00:00], ["email", "test19@test.com"], ["name", "Factory User 19"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 18:31:36 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::User Load (0.1ms)[0m 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]] [1m[36mCoalescingPanda::Assignment Load (0.1ms)[0m [1mSELECT "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[0m [["coalescing_panda_course_id", 1]] [1m[35m (0.7ms)[0m rollback transaction [1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m [1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations" [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m Processing by CoalescingPanda::LtiController#lti_config as HTML Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms) [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m Processing by CoalescingPanda::LtiController#lti_config as HTML Completed 500 Internal Server Error in 1ms [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m 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) [1m[35mCoalescingPanda::CanvasApiAuth Load (0.2ms)[0m 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 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction Processing by CoalescingPanda::Oauth2Controller#redirect as HTML Parameters: {"error"=>"your face"} Completed 200 OK in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms) [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "coalescing_panda_canvas_api_auths"[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 1' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 1' LIMIT 1 [1m[36mSQL (2.8ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "1"], ["created_at", Thu, 08 Jan 2015 18:32:27 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", Thu, 08 Jan 2015 18:32:27 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 2' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 2' LIMIT 1[0m [1m[35mSQL (1.1ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:32:27 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", Thu, 08 Jan 2015 18:32:27 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 1], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 18:32:27 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:32:27 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 18:32:27 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:32:27 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (1.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 3' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 3' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "3"], ["created_at", Thu, 08 Jan 2015 18:32:27 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", Thu, 08 Jan 2015 18:32:27 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 4' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 4' LIMIT 1[0m [1m[35mSQL (0.8ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:32:27 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", Thu, 08 Jan 2015 18:32:27 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 2], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 18:32:27 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:32:27 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 18:32:27 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:32:27 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.6ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 5' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 5' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "5"], ["created_at", Thu, 08 Jan 2015 18:32:27 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", Thu, 08 Jan 2015 18:32:27 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 6' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 6' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:32:27 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", Thu, 08 Jan 2015 18:32:27 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 3], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 18:32:27 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:32:27 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 18:32:27 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:32:27 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_assignment_id", "1"], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 18:32:27 UTC +00:00], ["name", "test assignment"], ["submission_types", nil], ["updated_at", Thu, 08 Jan 2015 18:32:27 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_assignment_id", "1"], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 18:32:27 UTC +00:00], ["name", "test assignment"], ["submission_types", nil], ["updated_at", Thu, 08 Jan 2015 18:32:27 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", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m [1m[35m (0.8ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 7' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 7' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "7"], ["created_at", Thu, 08 Jan 2015 18:32:27 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", Thu, 08 Jan 2015 18:32:27 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 8' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 8' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:32:27 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", Thu, 08 Jan 2015 18:32:27 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 4], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 18:32:27 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:32:27 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 18:32:27 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:32:27 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.6ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mCoalescingPanda::CanvasApiAuth Load (0.2ms)[0m SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" ORDER BY "coalescing_panda_canvas_api_auths"."id" ASC LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.6ms)[0m INSERT INTO "coalescing_panda_canvas_api_auths" ("created_at", "updated_at", "user_id") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 18:32:27 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:32:27 UTC +00:00], ["user_id", "a"]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::CanvasApiAuth Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1 [1m[36mCoalescingPanda::CanvasApiAuth Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1[0m [1m[35mCoalescingPanda::CanvasApiAuth Load (0.1ms)[0m SELECT "coalescing_panda_canvas_api_auths".* FROM "coalescing_panda_canvas_api_auths" [1m[36mCoalescingPanda::CanvasApiAuth Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" = '1') LIMIT 1[0m [1m[35mCoalescingPanda::CanvasApiAuth Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" = 'a' AND "coalescing_panda_canvas_api_auths"."api_domain" = '1') LIMIT 1 [1m[36m (0.4ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mCoalescingPanda::CanvasApiAuth Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1[0m [1m[35mCoalescingPanda::CanvasApiAuth Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1 [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mCoalescingPanda::CanvasApiAuth Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1[0m [1m[35mCoalescingPanda::CanvasApiAuth Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_canvas_api_auths" WHERE ("coalescing_panda_canvas_api_auths"."user_id" IS NULL AND "coalescing_panda_canvas_api_auths"."api_domain" IS NULL) LIMIT 1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.6ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 18:32:27 UTC +00:00], ["status", "Pending"], ["updated_at", Thu, 08 Jan 2015 18:32:27 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Thu, 08 Jan 2015 18:32:27 UTC +00:00], ["status", "Pending"], ["updated_at", Thu, 08 Jan 2015 18:32:27 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 18:32:27 UTC +00:00], ["status", "Pending"], ["updated_at", Thu, 08 Jan 2015 18:32:27 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::CanvasBatch Load (0.1ms)[0m SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" ORDER BY created_at DESC [1m[36m (0.6ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 9' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 9' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:32:27 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", Thu, 08 Jan 2015 18:32:27 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 10' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 10' LIMIT 1 [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "10"], ["created_at", Thu, 08 Jan 2015 18:32:27 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", Thu, 08 Jan 2015 18:32:27 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 18:32:27 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:32:27 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.9ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 11' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 11' LIMIT 1 [1m[36mSQL (0.8ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "11"], ["created_at", Thu, 08 Jan 2015 18:32:27 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", Thu, 08 Jan 2015 18:32:27 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 12' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 12' LIMIT 1[0m [1m[35mSQL (0.6ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:32:27 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", Thu, 08 Jan 2015 18:32:27 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 6], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 18:32:27 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:32:27 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.8ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.2ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 13' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 13' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:32:27 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", Thu, 08 Jan 2015 18:32:27 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 14' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 14' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "14"], ["created_at", Thu, 08 Jan 2015 18:32:27 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", Thu, 08 Jan 2015 18:32:27 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 18:32:27 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:32:27 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", "1"], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 18:32:27 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:32:27 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 15' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 15' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:32:27 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", Thu, 08 Jan 2015 18:32:27 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 8], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 18:32:27 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:32:27 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 18:32:27 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:32:27 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 (?, ?, ?, ?, ?, ?) [1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m [1m[35m (0.8ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 16' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 16' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "16"], ["created_at", Thu, 08 Jan 2015 18:32:27 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", Thu, 08 Jan 2015 18:32:27 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.5ms)[0m 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", Thu, 08 Jan 2015 18:32:27 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:32:27 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 17' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 17' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "17"], ["created_at", Thu, 08 Jan 2015 18:32:27 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", Thu, 08 Jan 2015 18:32:27 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 18:32:27 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:32:27 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 18' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 18' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "18"], ["created_at", Thu, 08 Jan 2015 18:32:27 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", Thu, 08 Jan 2015 18:32:27 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 18:32:27 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:32:27 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 (?, ?, ?, ?, ?, ?) [1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 19' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 19' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "19"], ["created_at", Thu, 08 Jan 2015 18:32:27 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", Thu, 08 Jan 2015 18:32:27 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 20' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 20' LIMIT 1[0m [1m[35mSQL (0.6ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:32:27 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", Thu, 08 Jan 2015 18:32:27 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 10], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 18:32:27 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:32:27 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.6ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 21' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 21' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:32:27 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", Thu, 08 Jan 2015 18:32:27 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.7ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 18:32:27 UTC +00:00], ["email", "test1@test.com"], ["name", "Factory User 1"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 18:32:27 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 22' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 22' LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:32:27 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", Thu, 08 Jan 2015 18:32:27 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 23' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 23' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "23"], ["created_at", Thu, 08 Jan 2015 18:32:27 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", Thu, 08 Jan 2015 18:32:27 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 18:32:27 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:32:27 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 7], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 18:32:27 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:32:27 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m 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", Thu, 08 Jan 2015 18:32:27 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:32:27 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (1.0ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 24' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 24' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "24"], ["created_at", Thu, 08 Jan 2015 18:32:27 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", Thu, 08 Jan 2015 18:32:27 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.5ms)[0m 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", Thu, 08 Jan 2015 18:32:27 UTC +00:00], ["email", "test2@test.com"], ["name", "Factory User 2"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 18:32:27 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 25' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 25' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "25"], ["created_at", Thu, 08 Jan 2015 18:32:27 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", Thu, 08 Jan 2015 18:32:27 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 26' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 26' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:32:27 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", Thu, 08 Jan 2015 18:32:27 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 12], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 18:32:27 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:32:27 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 18:32:27 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:32:27 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_section_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 18:32:27 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:32:27 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 27' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 27' LIMIT 1[0m [1m[35mSQL (0.6ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:32:27 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", Thu, 08 Jan 2015 18:32:27 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.7ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 18:32:27 UTC +00:00], ["email", "test3@test.com"], ["name", "Factory User 3"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 18:32:27 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 28' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 28' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:32:27 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", Thu, 08 Jan 2015 18:32:27 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 29' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 29' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "29"], ["created_at", Thu, 08 Jan 2015 18:32:27 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", Thu, 08 Jan 2015 18:32:27 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 18:32:27 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:32:27 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 9], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 18:32:27 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:32:27 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 18:32:27 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:32:27 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.8ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 30' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 30' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "30"], ["created_at", Thu, 08 Jan 2015 18:32:27 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", Thu, 08 Jan 2015 18:32:27 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.6ms)[0m 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", Thu, 08 Jan 2015 18:32:27 UTC +00:00], ["email", "test4@test.com"], ["name", "Factory User 4"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 18:32:27 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 31' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 31' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "31"], ["created_at", Thu, 08 Jan 2015 18:32:27 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", Thu, 08 Jan 2015 18:32:27 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 32' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 32' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:32:27 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", Thu, 08 Jan 2015 18:32:27 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 14], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 18:32:27 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:32:27 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 18:32:27 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:32:27 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_section_id", 4], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 18:32:27 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:32:27 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m 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", Thu, 08 Jan 2015 18:32:27 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Thu, 08 Jan 2015 18:32:27 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_enrollment_id", 4], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Thu, 08 Jan 2015 18:32:27 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Thu, 08 Jan 2015 18:32:27 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 (?, ?, ?, ?, ?, ?) [1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1 [1m[36m (1.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.2ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 33' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 33' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:32:27 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", Thu, 08 Jan 2015 18:32:27 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.7ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 5], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 18:32:27 UTC +00:00], ["email", "test5@test.com"], ["name", "Factory User 5"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 18:32:27 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 34' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 34' LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:32:27 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", Thu, 08 Jan 2015 18:32:27 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 35' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 35' LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "35"], ["created_at", Thu, 08 Jan 2015 18:32:27 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", Thu, 08 Jan 2015 18:32:27 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m 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", Thu, 08 Jan 2015 18:32:27 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:32:27 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 11], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 18:32:27 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:32:27 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 18:32:27 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:32:27 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_enrollments" ("canvas_enrollment_id", "coalescing_panda_section_id", "coalescing_panda_user_id", "created_at", "enrollment_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_enrollment_id", 5], ["coalescing_panda_section_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Thu, 08 Jan 2015 18:32:27 UTC +00:00], ["enrollment_type", "StudentEnrollment"], ["updated_at", Thu, 08 Jan 2015 18:32:27 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 18:32:27 UTC +00:00], ["enrollment_type", "TeacherEnrollment"], ["updated_at", Thu, 08 Jan 2015 18:32:27 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.8ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 36' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 36' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "36"], ["created_at", Thu, 08 Jan 2015 18:32:27 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", Thu, 08 Jan 2015 18:32:27 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.7ms)[0m 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", Thu, 08 Jan 2015 18:32:27 UTC +00:00], ["email", "test6@test.com"], ["name", "Factory User 6"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 18:32:27 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 37' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 37' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "37"], ["created_at", Thu, 08 Jan 2015 18:32:27 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", Thu, 08 Jan 2015 18:32:27 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 38' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 38' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:32:27 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", Thu, 08 Jan 2015 18:32:27 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 16], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 18:32:27 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:32:27 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 18:32:27 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:32:27 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_section_id", 6], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 18:32:27 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:32:27 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.8ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 39' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 39' LIMIT 1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 40' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 40' LIMIT 1[0m [1m[35mSQL (0.6ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:32:27 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", Thu, 08 Jan 2015 18:32:27 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 41' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 41' LIMIT 1 [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "40"], ["created_at", Thu, 08 Jan 2015 18:32:27 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", Thu, 08 Jan 2015 18:32:27 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m 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", Thu, 08 Jan 2015 18:32:27 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:32:27 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 13], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 18:32:27 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:32:27 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.8ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 42' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 42' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:32:27 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", Thu, 08 Jan 2015 18:32:27 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 43' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 43' LIMIT 1 [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "42"], ["created_at", Thu, 08 Jan 2015 18:32:27 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", Thu, 08 Jan 2015 18:32:27 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m 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", Thu, 08 Jan 2015 18:32:27 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:32:27 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 14], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 18:32:27 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:32:27 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.9ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 44' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 44' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:32:27 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", Thu, 08 Jan 2015 18:32:27 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 45' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 45' LIMIT 1 [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "44"], ["created_at", Thu, 08 Jan 2015 18:32:27 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", Thu, 08 Jan 2015 18:32:27 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 18:32:27 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:32:27 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 15], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 18:32:27 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:32:27 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m 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", Thu, 08 Jan 2015 18:32:27 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:32:27 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_section_id", "1"], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 18:32:27 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:32:27 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 (?, ?, ?, ?) [1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1 [1m[36m (1.0ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 46' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 46' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:32:27 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", Thu, 08 Jan 2015 18:32:27 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 47' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 47' LIMIT 1 [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "46"], ["created_at", Thu, 08 Jan 2015 18:32:27 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", Thu, 08 Jan 2015 18:32:27 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 18:32:27 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:32:27 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 16], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 18:32:27 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:32:27 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 48' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 48' LIMIT 1[0m [1m[35mSQL (0.6ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:32:27 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", Thu, 08 Jan 2015 18:32:27 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.7ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 7], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 18:32:27 UTC +00:00], ["email", "test7@test.com"], ["name", "Factory User 7"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 18:32:27 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 49' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 49' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:32:27 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", Thu, 08 Jan 2015 18:32:27 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 50' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 50' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "49"], ["created_at", Thu, 08 Jan 2015 18:32:27 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", Thu, 08 Jan 2015 18:32:27 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 18:32:27 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:32:27 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 17], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 18:32:27 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:32:27 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_assignment_id", "3"], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 18:32:27 UTC +00:00], ["name", "test assignment"], ["submission_types", nil], ["updated_at", Thu, 08 Jan 2015 18:32:27 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 51' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 51' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "50"], ["created_at", Thu, 08 Jan 2015 18:32:27 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", Thu, 08 Jan 2015 18:32:27 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.6ms)[0m 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", Thu, 08 Jan 2015 18:32:27 UTC +00:00], ["email", "test8@test.com"], ["name", "Factory User 8"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 18:32:27 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 52' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 52' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "51"], ["created_at", Thu, 08 Jan 2015 18:32:27 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", Thu, 08 Jan 2015 18:32:27 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 53' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 53' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:32:27 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", Thu, 08 Jan 2015 18:32:27 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 22], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 18:32:27 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:32:27 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 18:32:27 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:32:27 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_assignment_id", "4"], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 18:32:27 UTC +00:00], ["name", "test assignment"], ["submission_types", nil], ["updated_at", Thu, 08 Jan 2015 18:32:27 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.2ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 54' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 54' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:32:27 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", Thu, 08 Jan 2015 18:32:27 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.7ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 9], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 18:32:27 UTC +00:00], ["email", "test9@test.com"], ["name", "Factory User 9"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 18:32:27 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 55' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 55' LIMIT 1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:32:27 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", Thu, 08 Jan 2015 18:32:27 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 56' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 56' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "55"], ["created_at", Thu, 08 Jan 2015 18:32:27 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", Thu, 08 Jan 2015 18:32:27 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m 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", Thu, 08 Jan 2015 18:32:27 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:32:27 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 19], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 18:32:27 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:32:27 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_assignment_id", "5"], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 18:32:27 UTC +00:00], ["name", "test assignment"], ["submission_types", nil], ["updated_at", Thu, 08 Jan 2015 18:32:27 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.8ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 57' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 57' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "56"], ["created_at", Thu, 08 Jan 2015 18:32:27 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", Thu, 08 Jan 2015 18:32:27 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.7ms)[0m 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", Thu, 08 Jan 2015 18:32:27 UTC +00:00], ["email", "test10@test.com"], ["name", "Factory User 10"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 18:32:27 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 58' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 58' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "57"], ["created_at", Thu, 08 Jan 2015 18:32:27 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", Thu, 08 Jan 2015 18:32:27 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 59' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 59' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:32:27 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", Thu, 08 Jan 2015 18:32:27 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 24], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 18:32:27 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:32:27 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 18:32:27 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:32:27 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_assignment_id", "6"], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 18:32:27 UTC +00:00], ["name", "test assignment"], ["submission_types", nil], ["updated_at", Thu, 08 Jan 2015 18:32:27 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m 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", Thu, 08 Jan 2015 18:32:27 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:32:27 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["canvas_submission_id", "1"], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Thu, 08 Jan 2015 18:32:27 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:32:27 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 (?, ?, ?, ?, ?) [1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1 [1m[36m (1.0ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.2ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 60' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 60' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:32:27 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", Thu, 08 Jan 2015 18:32:27 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.7ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 11], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 18:32:27 UTC +00:00], ["email", "test11@test.com"], ["name", "Factory User 11"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 18:32:27 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 61' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 61' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:32:27 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", Thu, 08 Jan 2015 18:32:27 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 62' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 62' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "61"], ["created_at", Thu, 08 Jan 2015 18:32:27 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", Thu, 08 Jan 2015 18:32:27 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m 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", Thu, 08 Jan 2015 18:32:27 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:32:27 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 21], ["coalescing_panda_lti_account_id", 2], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 18:32:27 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:32:27 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_assignment_id", "7"], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 18:32:27 UTC +00:00], ["name", "test assignment"], ["submission_types", nil], ["updated_at", Thu, 08 Jan 2015 18:32:27 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["canvas_submission_id", "1"], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 1], ["created_at", Thu, 08 Jan 2015 18:32:27 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:32:27 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 18:32:27 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:32:27 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.8ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 63' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 63' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "62"], ["created_at", Thu, 08 Jan 2015 18:32:27 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", Thu, 08 Jan 2015 18:32:27 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.6ms)[0m 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", Thu, 08 Jan 2015 18:32:27 UTC +00:00], ["email", "test12@test.com"], ["name", "Factory User 12"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 18:32:27 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 64' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 64' LIMIT 1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "63"], ["created_at", Thu, 08 Jan 2015 18:32:27 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", Thu, 08 Jan 2015 18:32:27 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 65' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 65' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:32:27 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", Thu, 08 Jan 2015 18:32:27 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 26], ["coalescing_panda_lti_account_id", 3], ["created_at", Thu, 08 Jan 2015 18:32:27 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:32:27 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 18:32:27 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:32:27 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_assignment_id", "8"], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 18:32:27 UTC +00:00], ["name", "test assignment"], ["submission_types", nil], ["updated_at", Thu, 08 Jan 2015 18:32:27 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.8ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 66' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 66' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:32:27 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", Thu, 08 Jan 2015 18:32:27 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.4ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 67' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 67' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "66"], ["created_at", Thu, 08 Jan 2015 18:32:27 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", Thu, 08 Jan 2015 18:32:27 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.8ms)[0m 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", Thu, 08 Jan 2015 18:32:27 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:32:27 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 18:32:27 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:32:27 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 (?, ?, ?, ?) [1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1 [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 68' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 68' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:32:27 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", Thu, 08 Jan 2015 18:32:27 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.5ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 69' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 69' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "68"], ["created_at", Thu, 08 Jan 2015 18:32:27 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", Thu, 08 Jan 2015 18:32:27 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.3ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 70' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 70' LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:32:27 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", Thu, 08 Jan 2015 18:32:27 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.7ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "email", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", "1"], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 18:32:27 UTC +00:00], ["email", "test15@test.com"], ["name", "Factory User 15"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 18:32:27 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m 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", Thu, 08 Jan 2015 18:32:27 UTC +00:00], ["email", "test16@test.com"], ["name", "Factory User 16"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 18:32:27 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 (?, ?, ?, ?, ?, ?, ?) [1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m [1m[35m (0.6ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 71' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 71' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "70"], ["created_at", Thu, 08 Jan 2015 18:32:27 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", Thu, 08 Jan 2015 18:32:27 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.4ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 72' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 72' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:32:27 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", Thu, 08 Jan 2015 18:32:27 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 73' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 73' LIMIT 1 [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "72"], ["created_at", Thu, 08 Jan 2015 18:32:27 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", Thu, 08 Jan 2015 18:32:27 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 18:32:27 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:32:27 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 23], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 18:32:27 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:32:27 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 18:32:27 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 18:32:27 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::CanvasBatch Load (0.1ms)[0m SELECT "coalescing_panda_canvas_batches".* FROM "coalescing_panda_canvas_batches" ORDER BY created_at ASC LIMIT 1 [1m[36m (0.6ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 74' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 74' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:32:27 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", Thu, 08 Jan 2015 18:32:27 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 75' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 75' LIMIT 1 [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "74"], ["created_at", Thu, 08 Jan 2015 18:32:27 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", Thu, 08 Jan 2015 18:32:27 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 18:32:27 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:32:27 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 24], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 18:32:27 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:32:27 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 18:32:27 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 18:32:27 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 76' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 76' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "75"], ["created_at", Thu, 08 Jan 2015 18:32:27 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", Thu, 08 Jan 2015 18:32:27 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 77' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 77' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:32:27 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", Thu, 08 Jan 2015 18:32:27 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 30], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 18:32:27 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:32:27 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 18:32:27 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:32:27 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Thu, 08 Jan 2015 18:32:27 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 18:32:27 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m UPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["status", "Started"], ["updated_at", Thu, 08 Jan 2015 18:32:27 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Section Load (0.2ms)[0m SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 18:32:28 UTC +00:00], ["name", "Course1"], ["updated_at", Thu, 08 Jan 2015 18:32:28 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mUPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1[0m [["percent_complete", 14.3], ["updated_at", Thu, 08 Jan 2015 18:32:28 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::User Load (0.1ms)[0m [1mSELECT "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[0m [["coalescing_panda_lti_account_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 18:32:28 UTC +00:00], ["name", "teacher@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 18:32:28 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::User Load (0.1ms)[0m [1mSELECT "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[0m [["coalescing_panda_lti_account_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 18:32:28 UTC +00:00], ["name", "student1@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 18:32:28 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::User Load (0.1ms)[0m [1mSELECT "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[0m [["coalescing_panda_lti_account_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 18:32:28 UTC +00:00], ["name", "student2@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 18:32:28 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 28.6], ["updated_at", Thu, 08 Jan 2015 18:32:28 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Enrollment Load (0.2ms)[0m SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '1') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36mCoalescingPanda::User Load (0.1ms)[0m [1mSELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '1' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1[0m [["coalescing_panda_lti_account_id", 1]] [1m[35mCoalescingPanda::Section Load (0.1ms)[0m SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "coalescing_panda_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"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Enrollment Load (0.1ms)[0m SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '2') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36mCoalescingPanda::User Load (0.1ms)[0m [1mSELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1[0m [["coalescing_panda_lti_account_id", 1]] [1m[35mCoalescingPanda::Section Load (0.0ms)[0m SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_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"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Enrollment Load (0.1ms)[0m SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '3') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36mCoalescingPanda::User Load (0.1ms)[0m [1mSELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1[0m [["coalescing_panda_lti_account_id", 1]] [1m[35mCoalescingPanda::Section Load (0.0ms)[0m SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "coalescing_panda_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"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mUPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1[0m [["percent_complete", 42.9], ["updated_at", Thu, 08 Jan 2015 18:32:28 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::Assignment Load (0.1ms)[0m [1mSELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "grade_group_students_individually", "name", "points_possible", "published", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_assignment_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 18:04:38 UTC +00:00], ["description", "What is your name?
"], ["grade_group_students_individually", false], ["name", "Gimme your name"], ["points_possible", 100.0], ["published", true], ["submission_types", "---\n- online_text_entry\n"], ["updated_at", Tue, 18 Nov 2014 18:04:42 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::Assignment Load (0.1ms)[0m [1mSELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "grade_group_students_individually", "name", "points_possible", "published", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_assignment_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 19:10:28 UTC +00:00], ["description", "What is your Favorite Color?
"], ["grade_group_students_individually", false], ["name", "Favorite Color"], ["points_possible", 100.0], ["published", true], ["submission_types", "---\n- online_text_entry\n"], ["updated_at", Tue, 18 Nov 2014 19:10:30 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 57.1], ["updated_at", Thu, 08 Jan 2015 18:32:28 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Assignment Load (0.1ms)[0m SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? [["coalescing_panda_course_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["percent_complete", 71.4], ["updated_at", Thu, 08 Jan 2015 18:32:28 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Group Load (0.1ms)[0m SELECT "coalescing_panda_groups".* FROM "coalescing_panda_groups" WHERE "coalescing_panda_groups"."context_id" = ? AND "coalescing_panda_groups"."context_type" = ? AND (canvas_group_id = '4') ORDER BY "coalescing_panda_groups"."id" ASC LIMIT 1 [["context_id", 1], ["context_type", "CoalescingPanda::Course"]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "coalescing_panda_groups" ("canvas_group_id", "context_id", "context_type", "created_at", "group_category_id", "members_count", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_group_id", 4], ["context_id", 1], ["context_type", "CoalescingPanda::Course"], ["created_at", Thu, 08 Jan 2015 18:32:28 UTC +00:00], ["group_category_id", 3], ["members_count", 2], ["name", "Student Group 1"], ["updated_at", Thu, 08 Jan 2015 18:32:28 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Group Load (0.1ms)[0m SELECT "coalescing_panda_groups".* FROM "coalescing_panda_groups" WHERE "coalescing_panda_groups"."context_id" = ? AND "coalescing_panda_groups"."context_type" = ? AND (canvas_group_id = '5') ORDER BY "coalescing_panda_groups"."id" ASC LIMIT 1 [["context_id", 1], ["context_type", "CoalescingPanda::Course"]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_groups" ("canvas_group_id", "context_id", "context_type", "created_at", "group_category_id", "members_count", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_group_id", 5], ["context_id", 1], ["context_type", "CoalescingPanda::Course"], ["created_at", Thu, 08 Jan 2015 18:32:28 UTC +00:00], ["group_category_id", 3], ["members_count", 2], ["name", "Student Group 2"], ["updated_at", Thu, 08 Jan 2015 18:32:28 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mUPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1[0m [["percent_complete", 85.7], ["updated_at", Thu, 08 Jan 2015 18:32:28 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::Group Load (0.2ms)[0m [1mSELECT "coalescing_panda_groups".* FROM "coalescing_panda_groups" WHERE "coalescing_panda_groups"."context_id" = ? AND "coalescing_panda_groups"."context_type" = ?[0m [["context_id", 1], ["context_type", "CoalescingPanda::Course"]] [1m[35mCoalescingPanda::GroupMembership Load (0.1ms)[0m 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 (canvas_group_membership_id = '13') ORDER BY "coalescing_panda_group_memberships"."id" ASC LIMIT 1 [["context_id", 1], ["context_type", "CoalescingPanda::Course"]] [1m[36mCoalescingPanda::Group Load (0.1ms)[0m [1mSELECT "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" = '4' LIMIT 1[0m [["context_id", 1], ["context_type", "CoalescingPanda::Course"]] [1m[35mCoalescingPanda::User Load (0.1ms)[0m SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' LIMIT 1 [["coalescing_panda_lti_account_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "coalescing_panda_group_memberships" ("canvas_group_membership_id", "coalescing_panda_group_id", "coalescing_panda_user_id", "created_at", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?) [["canvas_group_membership_id", 13], ["coalescing_panda_group_id", 1], ["coalescing_panda_user_id", 2], ["created_at", Thu, 08 Jan 2015 18:32:28 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:32:28 UTC +00:00], ["workflow_state", "accepted"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::GroupMembership Load (0.1ms)[0m 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 (canvas_group_membership_id = '14') ORDER BY "coalescing_panda_group_memberships"."id" ASC LIMIT 1 [["context_id", 1], ["context_type", "CoalescingPanda::Course"]] [1m[36mCoalescingPanda::Group Load (0.0ms)[0m [1mSELECT "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" = '4' LIMIT 1[0m [["context_id", 1], ["context_type", "CoalescingPanda::Course"]] [1m[35mCoalescingPanda::User Load (0.1ms)[0m SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' LIMIT 1 [["coalescing_panda_lti_account_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_group_memberships" ("canvas_group_membership_id", "coalescing_panda_group_id", "coalescing_panda_user_id", "created_at", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?) [["canvas_group_membership_id", 14], ["coalescing_panda_group_id", 1], ["coalescing_panda_user_id", 3], ["created_at", Thu, 08 Jan 2015 18:32:28 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:32:28 UTC +00:00], ["workflow_state", "accepted"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::GroupMembership Load (0.0ms)[0m 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 (canvas_group_membership_id = '13') ORDER BY "coalescing_panda_group_memberships"."id" ASC LIMIT 1 [["context_id", 1], ["context_type", "CoalescingPanda::Course"]] [1m[36mCoalescingPanda::Group Load (0.1ms)[0m [1mSELECT "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" = '4' LIMIT 1[0m [["context_id", 1], ["context_type", "CoalescingPanda::Course"]] [1m[35mCoalescingPanda::User Load (0.0ms)[0m SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' LIMIT 1 [["coalescing_panda_lti_account_id", 1]] [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m UPDATE "coalescing_panda_group_memberships" SET "canvas_group_membership_id" = ?, "updated_at" = ? WHERE "coalescing_panda_group_memberships"."id" = 1 [["canvas_group_membership_id", 13], ["updated_at", Thu, 08 Jan 2015 18:32:28 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::GroupMembership Load (0.0ms)[0m 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 (canvas_group_membership_id = '14') ORDER BY "coalescing_panda_group_memberships"."id" ASC LIMIT 1 [["context_id", 1], ["context_type", "CoalescingPanda::Course"]] [1m[36mCoalescingPanda::Group Load (0.0ms)[0m [1mSELECT "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" = '4' LIMIT 1[0m [["context_id", 1], ["context_type", "CoalescingPanda::Course"]] [1m[35mCoalescingPanda::User Load (0.0ms)[0m SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' LIMIT 1 [["coalescing_panda_lti_account_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "coalescing_panda_group_memberships" SET "canvas_group_membership_id" = ?, "updated_at" = ? WHERE "coalescing_panda_group_memberships"."id" = 2 [["canvas_group_membership_id", 14], ["updated_at", Thu, 08 Jan 2015 18:32:28 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mUPDATE "coalescing_panda_canvas_batches" SET "percent_complete" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1[0m [["percent_complete", 100.0], ["updated_at", Thu, 08 Jan 2015 18:32:28 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m UPDATE "coalescing_panda_canvas_batches" SET "status" = ?, "updated_at" = ? WHERE "coalescing_panda_canvas_batches"."id" = 1 [["status", "Completed"], ["updated_at", Thu, 08 Jan 2015 18:32:28 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (1.3ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 78' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 78' LIMIT 1 [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "77"], ["created_at", Thu, 08 Jan 2015 18:32:28 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", Thu, 08 Jan 2015 18:32:28 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 79' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 79' LIMIT 1[0m [1m[35mSQL (0.8ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:32:28 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", Thu, 08 Jan 2015 18:32:28 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 31], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 18:32:28 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:32:28 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 18:32:28 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:32:28 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Thu, 08 Jan 2015 18:32:28 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 18:32:28 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.9ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 80' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 80' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:32:28 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", Thu, 08 Jan 2015 18:32:28 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 81' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 81' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "80"], ["created_at", Thu, 08 Jan 2015 18:32:28 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", Thu, 08 Jan 2015 18:32:28 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 18:32:28 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:32:28 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 27], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 18:32:28 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:32:28 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 18:32:28 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 18:32:28 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mCoalescingPanda::Section Load (0.1ms)[0m SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 82' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 82' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:32:28 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", Thu, 08 Jan 2015 18:32:28 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 83' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 83' LIMIT 1 [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "82"], ["created_at", Thu, 08 Jan 2015 18:32:28 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", Thu, 08 Jan 2015 18:32:28 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 18:32:28 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:32:28 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 28], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 18:32:28 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:32:28 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 18:32:28 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 18:32:28 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Section Load (0.0ms)[0m SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 18:32:28 UTC +00:00], ["name", "Course1"], ["updated_at", Thu, 08 Jan 2015 18:32:28 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "coalescing_panda_sections" [1m[36m (0.8ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mCoalescingPanda::User Load (0.1ms)[0m [1mSELECT "coalescing_panda_users".* FROM "coalescing_panda_users"[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 84' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 84' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "83"], ["created_at", Thu, 08 Jan 2015 18:32:28 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", Thu, 08 Jan 2015 18:32:28 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.3ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 85' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 85' LIMIT 1[0m [1m[35mSQL (0.6ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:32:28 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", Thu, 08 Jan 2015 18:32:28 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 34], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 18:32:28 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:32:28 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 18:32:28 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:32:28 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Thu, 08 Jan 2015 18:32:28 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 18:32:28 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::User Load (0.0ms)[0m [1mSELECT "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[0m [["coalescing_panda_lti_account_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 18:32:28 UTC +00:00], ["name", "teacher@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 18:32:28 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::User Load (0.0ms)[0m [1mSELECT "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[0m [["coalescing_panda_lti_account_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 18:32:28 UTC +00:00], ["name", "student1@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 18:32:28 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::User Load (0.0ms)[0m [1mSELECT "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[0m [["coalescing_panda_lti_account_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 18:32:28 UTC +00:00], ["name", "student2@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 18:32:28 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "coalescing_panda_users"[0m [1m[35m (0.9ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mCoalescingPanda::Enrollment Load (0.2ms)[0m SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 86' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 86' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:32:28 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", Thu, 08 Jan 2015 18:32:28 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 87' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 87' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "86"], ["created_at", Thu, 08 Jan 2015 18:32:28 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", Thu, 08 Jan 2015 18:32:28 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 18:32:28 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:32:28 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 30], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 18:32:28 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:32:28 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 18:32:28 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 18:32:28 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Section Load (0.0ms)[0m SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_section_id = '1') ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_sections" ("canvas_section_id", "coalescing_panda_course_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["canvas_section_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 18:32:28 UTC +00:00], ["name", "Course1"], ["updated_at", Thu, 08 Jan 2015 18:32:28 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::User Load (0.0ms)[0m 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]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 18:32:28 UTC +00:00], ["name", "teacher@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 18:32:28 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::User Load (0.0ms)[0m 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]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 18:32:28 UTC +00:00], ["name", "student1@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 18:32:28 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::User Load (0.0ms)[0m 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]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 18:32:28 UTC +00:00], ["name", "student2@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 18:32:28 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Enrollment Load (0.0ms)[0m SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '1') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36mCoalescingPanda::User Load (0.0ms)[0m [1mSELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '1' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1[0m [["coalescing_panda_lti_account_id", 1]] [1m[35mCoalescingPanda::Section Load (0.1ms)[0m SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "coalescing_panda_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"]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Enrollment Load (0.0ms)[0m SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '2') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36mCoalescingPanda::User Load (0.0ms)[0m [1mSELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1[0m [["coalescing_panda_lti_account_id", 1]] [1m[35mCoalescingPanda::Section Load (0.0ms)[0m SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_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"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Enrollment Load (0.0ms)[0m SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND (canvas_enrollment_id = '3') ORDER BY "coalescing_panda_enrollments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36mCoalescingPanda::User Load (0.0ms)[0m [1mSELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1[0m [["coalescing_panda_lti_account_id", 1]] [1m[35mCoalescingPanda::Section Load (0.0ms)[0m SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? AND "coalescing_panda_sections"."canvas_section_id" = '1' ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_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"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "coalescing_panda_enrollments" [1m[36mCoalescingPanda::Enrollment Load (0.1ms)[0m [1mSELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" ORDER BY "coalescing_panda_enrollments"."id" DESC LIMIT 1[0m [1m[35m (0.8ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mCoalescingPanda::Assignment Load (0.2ms)[0m SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 88' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 88' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:32:28 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", Thu, 08 Jan 2015 18:32:28 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 89' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 89' LIMIT 1 [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "88"], ["created_at", Thu, 08 Jan 2015 18:32:28 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", Thu, 08 Jan 2015 18:32:28 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m 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", Thu, 08 Jan 2015 18:32:28 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:32:28 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 31], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 18:32:28 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:32:28 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 18:32:28 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 18:32:28 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Assignment Load (0.0ms)[0m SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "grade_group_students_individually", "name", "points_possible", "published", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 18:04:38 UTC +00:00], ["description", "What is your name?
"], ["grade_group_students_individually", false], ["name", "Gimme your name"], ["points_possible", 100.0], ["published", true], ["submission_types", "---\n- online_text_entry\n"], ["updated_at", Tue, 18 Nov 2014 18:04:42 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Assignment Load (0.0ms)[0m SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1 [["coalescing_panda_course_id", 1]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "grade_group_students_individually", "name", "points_possible", "published", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_assignment_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 19:10:28 UTC +00:00], ["description", "What is your Favorite Color?
"], ["grade_group_students_individually", false], ["name", "Favorite Color"], ["points_possible", 100.0], ["published", true], ["submission_types", "---\n- online_text_entry\n"], ["updated_at", Tue, 18 Nov 2014 19:10:30 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "coalescing_panda_assignments" [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mCoalescingPanda::Submission Load (0.1ms)[0m [1mSELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions"[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 90' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 90' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "89"], ["created_at", Thu, 08 Jan 2015 18:32:28 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", Thu, 08 Jan 2015 18:32:28 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 91' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 91' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:32:28 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", Thu, 08 Jan 2015 18:32:28 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 37], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 18:32:28 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:32:28 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 18:32:28 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:32:28 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Thu, 08 Jan 2015 18:32:28 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 18:32:28 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::User Load (0.0ms)[0m [1mSELECT "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[0m [["coalescing_panda_lti_account_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 1], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 18:32:28 UTC +00:00], ["name", "teacher@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 18:32:28 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::User Load (0.0ms)[0m [1mSELECT "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[0m [["coalescing_panda_lti_account_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 2], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 18:32:28 UTC +00:00], ["name", "student1@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 18:32:28 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::User Load (0.0ms)[0m [1mSELECT "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[0m [["coalescing_panda_lti_account_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_users" ("canvas_user_id", "coalescing_panda_lti_account_id", "created_at", "name", "roles", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 3], ["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 08 Jan 2015 18:32:28 UTC +00:00], ["name", "student2@test.com"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 18:32:28 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::Assignment Load (0.0ms)[0m [1mSELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '1') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "grade_group_students_individually", "name", "points_possible", "published", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_assignment_id", 1], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 18:04:38 UTC +00:00], ["description", "What is your name?
"], ["grade_group_students_individually", false], ["name", "Gimme your name"], ["points_possible", 100.0], ["published", true], ["submission_types", "---\n- online_text_entry\n"], ["updated_at", Tue, 18 Nov 2014 18:04:42 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::Assignment Load (0.0ms)[0m [1mSELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_assignment_id = '2') ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "description", "grade_group_students_individually", "name", "points_possible", "published", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_assignment_id", 2], ["coalescing_panda_course_id", 1], ["created_at", Tue, 18 Nov 2014 19:10:28 UTC +00:00], ["description", "What is your Favorite Color?
"], ["grade_group_students_individually", false], ["name", "Favorite Color"], ["points_possible", 100.0], ["published", true], ["submission_types", "---\n- online_text_entry\n"], ["updated_at", Tue, 18 Nov 2014 19:10:30 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::Submission Load (0.1ms)[0m [1mSELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '3') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35mCoalescingPanda::User Load (0.0ms)[0m SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] [1m[36mCoalescingPanda::Assignment Load (0.1ms)[0m [1mSELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_submission_id", 3], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 3], ["created_at", Thu, 08 Jan 2015 18:32:28 UTC +00:00], ["grade", "70"], ["score", 70], ["updated_at", Thu, 08 Jan 2015 18:32:28 UTC +00:00], ["workflow_state", "graded"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::Submission Load (0.1ms)[0m [1mSELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '1') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35mCoalescingPanda::User Load (0.0ms)[0m SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] [1m[36mCoalescingPanda::Assignment Load (0.0ms)[0m [1mSELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '1' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_submission_id", 1], ["coalescing_panda_assignment_id", 1], ["coalescing_panda_user_id", 2], ["created_at", Thu, 08 Jan 2015 18:32:28 UTC +00:00], ["grade", "100"], ["score", 100], ["updated_at", Thu, 08 Jan 2015 18:32:28 UTC +00:00], ["workflow_state", "graded"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::Submission Load (0.1ms)[0m [1mSELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '4') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35mCoalescingPanda::User Load (0.0ms)[0m SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] [1m[36mCoalescingPanda::Assignment Load (0.1ms)[0m [1mSELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_submission_id", 4], ["coalescing_panda_assignment_id", 2], ["coalescing_panda_user_id", 3], ["created_at", Thu, 08 Jan 2015 18:32:28 UTC +00:00], ["grade", "90"], ["score", 90], ["updated_at", Thu, 08 Jan 2015 18:32:28 UTC +00:00], ["workflow_state", "graded"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::Submission Load (0.1ms)[0m [1mSELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" INNER JOIN "coalescing_panda_assignments" ON "coalescing_panda_submissions"."coalescing_panda_assignment_id" = "coalescing_panda_assignments"."id" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND (canvas_submission_id = '2') ORDER BY "coalescing_panda_submissions"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35mCoalescingPanda::User Load (0.0ms)[0m SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' ORDER BY "coalescing_panda_users"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]] [1m[36mCoalescingPanda::Assignment Load (0.0ms)[0m [1mSELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? AND "coalescing_panda_assignments"."canvas_assignment_id" = '2' ORDER BY "coalescing_panda_assignments"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_submissions" ("canvas_submission_id", "coalescing_panda_assignment_id", "coalescing_panda_user_id", "created_at", "grade", "score", "updated_at", "workflow_state") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_submission_id", 2], ["coalescing_panda_assignment_id", 2], ["coalescing_panda_user_id", 2], ["created_at", Thu, 08 Jan 2015 18:32:28 UTC +00:00], ["grade", "80"], ["score", 80], ["updated_at", Thu, 08 Jan 2015 18:32:28 UTC +00:00], ["workflow_state", "graded"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "coalescing_panda_submissions"[0m [1m[35m (0.8ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mCoalescingPanda::Group Load (0.1ms)[0m SELECT "coalescing_panda_groups".* FROM "coalescing_panda_groups" [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 92' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 92' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:32:28 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", Thu, 08 Jan 2015 18:32:28 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 93' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 93' LIMIT 1 [1m[36mSQL (0.7ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "92"], ["created_at", Thu, 08 Jan 2015 18:32:28 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", Thu, 08 Jan 2015 18:32:28 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 18:32:28 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:32:28 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 33], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 18:32:28 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:32:28 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 18:32:28 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 18:32:28 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Group Load (0.0ms)[0m SELECT "coalescing_panda_groups".* FROM "coalescing_panda_groups" WHERE "coalescing_panda_groups"."context_id" = ? AND "coalescing_panda_groups"."context_type" = ? AND (canvas_group_id = '4') ORDER BY "coalescing_panda_groups"."id" ASC LIMIT 1 [["context_id", 1], ["context_type", "CoalescingPanda::Course"]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_groups" ("canvas_group_id", "context_id", "context_type", "created_at", "group_category_id", "members_count", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_group_id", 4], ["context_id", 1], ["context_type", "CoalescingPanda::Course"], ["created_at", Thu, 08 Jan 2015 18:32:28 UTC +00:00], ["group_category_id", 3], ["members_count", 2], ["name", "Student Group 1"], ["updated_at", Thu, 08 Jan 2015 18:32:28 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::Group Load (0.0ms)[0m SELECT "coalescing_panda_groups".* FROM "coalescing_panda_groups" WHERE "coalescing_panda_groups"."context_id" = ? AND "coalescing_panda_groups"."context_type" = ? AND (canvas_group_id = '5') ORDER BY "coalescing_panda_groups"."id" ASC LIMIT 1 [["context_id", 1], ["context_type", "CoalescingPanda::Course"]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_groups" ("canvas_group_id", "context_id", "context_type", "created_at", "group_category_id", "members_count", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["canvas_group_id", 5], ["context_id", 1], ["context_type", "CoalescingPanda::Course"], ["created_at", Thu, 08 Jan 2015 18:32:28 UTC +00:00], ["group_category_id", 3], ["members_count", 2], ["name", "Student Group 2"], ["updated_at", Thu, 08 Jan 2015 18:32:28 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "coalescing_panda_groups" [1m[36m (0.9ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mCoalescingPanda::GroupMembership Load (0.1ms)[0m [1mSELECT "coalescing_panda_group_memberships".* FROM "coalescing_panda_group_memberships"[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 94' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 94' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "93"], ["created_at", Thu, 08 Jan 2015 18:32:28 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", Thu, 08 Jan 2015 18:32:28 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 95' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 95' LIMIT 1[0m [1m[35mSQL (0.6ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:32:28 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", Thu, 08 Jan 2015 18:32:28 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 39], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 18:32:28 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:32:28 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 18:32:28 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:32:28 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Thu, 08 Jan 2015 18:32:28 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 18:32:28 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::GroupMembership Load (0.0ms)[0m [1mSELECT "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 (canvas_group_membership_id = '13') ORDER BY "coalescing_panda_group_memberships"."id" ASC LIMIT 1[0m [["context_id", 1], ["context_type", "CoalescingPanda::Course"]] [1m[35mCoalescingPanda::Group Load (0.0ms)[0m 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" = '4' LIMIT 1 [["context_id", 1], ["context_type", "CoalescingPanda::Course"]] [1m[36mCoalescingPanda::User Load (0.0ms)[0m [1mSELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '2' LIMIT 1[0m [["coalescing_panda_lti_account_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_group_memberships" ("canvas_group_membership_id", "created_at", "updated_at", "workflow_state") VALUES (?, ?, ?, ?)[0m [["canvas_group_membership_id", 13], ["created_at", Thu, 08 Jan 2015 18:32:28 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:32:28 UTC +00:00], ["workflow_state", "accepted"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mCoalescingPanda::GroupMembership Load (0.0ms)[0m [1mSELECT "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 (canvas_group_membership_id = '14') ORDER BY "coalescing_panda_group_memberships"."id" ASC LIMIT 1[0m [["context_id", 1], ["context_type", "CoalescingPanda::Course"]] [1m[35mCoalescingPanda::Group Load (0.0ms)[0m 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" = '4' LIMIT 1 [["context_id", 1], ["context_type", "CoalescingPanda::Course"]] [1m[36mCoalescingPanda::User Load (0.0ms)[0m [1mSELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."coalescing_panda_lti_account_id" = ? AND "coalescing_panda_users"."canvas_user_id" = '3' LIMIT 1[0m [["coalescing_panda_lti_account_id", 1]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_group_memberships" ("canvas_group_membership_id", "created_at", "updated_at", "workflow_state") VALUES (?, ?, ?, ?)[0m [["canvas_group_membership_id", 14], ["created_at", Thu, 08 Jan 2015 18:32:28 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:32:28 UTC +00:00], ["workflow_state", "accepted"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "coalescing_panda_group_memberships"[0m [1m[35m (0.8ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 96' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 96' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "95"], ["created_at", Thu, 08 Jan 2015 18:32:28 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", Thu, 08 Jan 2015 18:32:28 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.3ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 97' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 97' LIMIT 1[0m [1m[35mSQL (0.7ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:32:28 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", Thu, 08 Jan 2015 18:32:28 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 40], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 18:32:28 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:32:28 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 18:32:28 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:32:28 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Thu, 08 Jan 2015 18:32:28 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 18:32:28 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (1.0ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 98' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 98' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:32:28 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", Thu, 08 Jan 2015 18:32:28 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 99' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 99' LIMIT 1 [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "98"], ["created_at", Thu, 08 Jan 2015 18:32:28 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", Thu, 08 Jan 2015 18:32:28 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 18:32:28 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:32:28 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 36], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 18:32:28 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:32:28 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 18:32:28 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 18:32:28 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.8ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 100' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 100' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "99"], ["created_at", Thu, 08 Jan 2015 18:32:28 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", Thu, 08 Jan 2015 18:32:28 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 101' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 101' LIMIT 1[0m [1m[35mSQL (0.6ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:32:28 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", Thu, 08 Jan 2015 18:32:28 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 42], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 18:32:28 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:32:28 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 18:32:28 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:32:28 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Thu, 08 Jan 2015 18:32:28 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 18:32:28 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 102' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 102' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:32:28 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", Thu, 08 Jan 2015 18:32:28 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 103' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 103' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "102"], ["created_at", Thu, 08 Jan 2015 18:32:28 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", Thu, 08 Jan 2015 18:32:28 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 18:32:28 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:32:28 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 38], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 18:32:28 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:32:28 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 18:32:28 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 18:32:28 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 104' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 104' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "103"], ["created_at", Thu, 08 Jan 2015 18:32:28 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", Thu, 08 Jan 2015 18:32:28 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 105' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 105' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:32:28 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", Thu, 08 Jan 2015 18:32:28 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 44], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 18:32:28 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:32:28 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 18:32:28 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:32:28 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Thu, 08 Jan 2015 18:32:28 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 18:32:28 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.6ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.2ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 106' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 106' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:32:28 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", Thu, 08 Jan 2015 18:32:28 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 107' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 107' LIMIT 1 [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "106"], ["created_at", Thu, 08 Jan 2015 18:32:28 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", Thu, 08 Jan 2015 18:32:28 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m 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", Thu, 08 Jan 2015 18:32:28 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:32:28 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 40], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 18:32:28 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:32:28 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 18:32:28 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 18:32:28 UTC +00:00]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 108' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 108' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "107"], ["created_at", Thu, 08 Jan 2015 18:32:28 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", Thu, 08 Jan 2015 18:32:28 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 109' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 109' LIMIT 1[0m [1m[35mSQL (0.6ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:32:28 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", Thu, 08 Jan 2015 18:32:28 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 46], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 18:32:28 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:32:28 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 18:32:28 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:32:28 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Thu, 08 Jan 2015 18:32:28 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 18:32:28 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.8ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 110' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 110' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:32:28 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", Thu, 08 Jan 2015 18:32:28 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 111' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 111' LIMIT 1 [1m[36mSQL (0.9ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "110"], ["created_at", Thu, 08 Jan 2015 18:32:28 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", Thu, 08 Jan 2015 18:32:28 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 18:32:28 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:32:28 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 42], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 18:32:28 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:32:28 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 18:32:28 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 18:32:28 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.8ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 112' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 112' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "111"], ["created_at", Thu, 08 Jan 2015 18:32:28 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", Thu, 08 Jan 2015 18:32:28 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 113' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 113' LIMIT 1[0m [1m[35mSQL (0.6ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:32:28 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", Thu, 08 Jan 2015 18:32:28 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 48], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 18:32:28 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:32:28 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 18:32:28 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:32:28 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Thu, 08 Jan 2015 18:32:28 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 18:32:28 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.6ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 114' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 114' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:32:28 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", Thu, 08 Jan 2015 18:32:28 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 115' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 115' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "114"], ["created_at", Thu, 08 Jan 2015 18:32:28 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", Thu, 08 Jan 2015 18:32:28 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 18:32:28 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:32:28 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 44], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 18:32:28 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:32:28 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Jan 2015 18:32:28 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 18:32:28 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.9ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 116' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 116' LIMIT 1 [1m[36mSQL (0.7ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "115"], ["created_at", Thu, 08 Jan 2015 18:32:28 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", Thu, 08 Jan 2015 18:32:28 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 117' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 117' LIMIT 1[0m [1m[35mSQL (0.6ms)[0m INSERT INTO "coalescing_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", Thu, 08 Jan 2015 18:32:28 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", Thu, 08 Jan 2015 18:32:28 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 50], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 18:32:28 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:32:28 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "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", Thu, 08 Jan 2015 18:32:28 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:32:28 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Thu, 08 Jan 2015 18:32:28 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 18:32:28 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.9ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 118' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 118' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "117"], ["created_at", Thu, 08 Jan 2015 18:32:28 UTC +00:00], ["key", "Key 118"], ["name", "Account 118"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 118"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Thu, 08 Jan 2015 18:32:28 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 119' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 119' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "118"], ["created_at", Thu, 08 Jan 2015 18:32:28 UTC +00:00], ["key", "Key 119"], ["name", "Account 119"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 119"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Thu, 08 Jan 2015 18:32:28 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 51], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 18:32:28 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:32:28 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 46], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 18:32:28 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:32:28 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 18:32:28 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:32:28 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 120' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 120' LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "119"], ["created_at", Thu, 08 Jan 2015 18:32:28 UTC +00:00], ["key", "Key 120"], ["name", "Account 120"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 120"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Thu, 08 Jan 2015 18:32:28 UTC +00:00]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 121' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 121' LIMIT 1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "120"], ["created_at", Thu, 08 Jan 2015 18:32:28 UTC +00:00], ["key", "Key 121"], ["name", "Account 121"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 121"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Thu, 08 Jan 2015 18:32:28 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 52], ["coalescing_panda_lti_account_id", 4], ["created_at", Thu, 08 Jan 2015 18:32:28 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:32:28 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 47], ["coalescing_panda_lti_account_id", 3], ["coalescing_panda_term_id", 2], ["created_at", Thu, 08 Jan 2015 18:32:28 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:32:28 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::Course Load (0.2ms)[0m [1mSELECT "coalescing_panda_courses".* FROM "coalescing_panda_courses" WHERE "coalescing_panda_courses"."id" = ? LIMIT 1[0m [["id", 2]] [1m[35mSQL (0.2ms)[0m UPDATE "coalescing_panda_sections" SET "coalescing_panda_course_id" = ?, "updated_at" = ? WHERE "coalescing_panda_sections"."id" = 1 [["coalescing_panda_course_id", 2], ["updated_at", Thu, 08 Jan 2015 18:32:28 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Thu, 08 Jan 2015 18:32:28 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 18:32:28 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m 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", Thu, 08 Jan 2015 18:32:28 UTC +00:00], ["email", "test18@test.com"], ["name", "Factory User 18"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 18:32:28 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::User Load (0.1ms)[0m 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]] [1m[36mCoalescingPanda::Section Load (0.1ms)[0m [1mSELECT "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[0m [["coalescing_panda_course_id", 2]] [1m[35m (0.9ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 122' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 122' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "121"], ["created_at", Thu, 08 Jan 2015 18:32:28 UTC +00:00], ["key", "Key 122"], ["name", "Account 122"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 122"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Thu, 08 Jan 2015 18:32:28 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.0ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 123' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 123' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "122"], ["created_at", Thu, 08 Jan 2015 18:32:28 UTC +00:00], ["key", "Key 123"], ["name", "Account 123"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 123"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Thu, 08 Jan 2015 18:32:28 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["canvas_term_id", 53], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 18:32:28 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:32:28 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_course_id", 48], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 18:32:28 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:32:28 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Thu, 08 Jan 2015 18:32:28 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 18:32:28 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.9ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.2ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 124' LIMIT 1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 124' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["canvas_account_id", "123"], ["created_at", Thu, 08 Jan 2015 18:32:28 UTC +00:00], ["key", "Key 124"], ["name", "Account 124"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 124"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Thu, 08 Jan 2015 18:32:28 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'Account 125' LIMIT 1[0m [1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'Key 125' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("canvas_account_id", "created_at", "key", "name", "oauth2_client_id", "oauth2_client_key", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_account_id", "124"], ["created_at", Thu, 08 Jan 2015 18:32:28 UTC +00:00], ["key", "Key 125"], ["name", "Account 125"], ["oauth2_client_id", "1234"], ["oauth2_client_key", "thisisadeveloperkey"], ["secret", "Account 125"], ["settings", "---\n:base_url: http://localhost:3000\n:account_admin_api_token: 9q2083uy4poiahjfgpoawy\n"], ["updated_at", Thu, 08 Jan 2015 18:32:28 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["canvas_term_id", 54], ["coalescing_panda_lti_account_id", 2], ["created_at", Thu, 08 Jan 2015 18:32:28 UTC +00:00], ["updated_at", Thu, 08 Jan 2015 18:32:28 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("canvas_course_id", "coalescing_panda_lti_account_id", "coalescing_panda_term_id", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 49], ["coalescing_panda_lti_account_id", 1], ["coalescing_panda_term_id", 1], ["created_at", Thu, 08 Jan 2015 18:32:28 UTC +00:00], ["name", "Test Course"], ["updated_at", Thu, 08 Jan 2015 18:32:28 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "coalescing_panda_assignments" ("canvas_assignment_id", "coalescing_panda_course_id", "created_at", "name", "submission_types", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["canvas_assignment_id", "9"], ["coalescing_panda_course_id", 1], ["created_at", Thu, 08 Jan 2015 18:32:28 UTC +00:00], ["name", "test assignment"], ["submission_types", nil], ["updated_at", Thu, 08 Jan 2015 18:32:28 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "coalescing_panda_canvas_batches" ("created_at", "status", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Thu, 08 Jan 2015 18:32:28 UTC +00:00], ["status", "Queued"], ["updated_at", Thu, 08 Jan 2015 18:32:28 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m 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", Thu, 08 Jan 2015 18:32:28 UTC +00:00], ["email", "test19@test.com"], ["name", "Factory User 19"], ["roles", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["updated_at", Thu, 08 Jan 2015 18:32:28 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mCoalescingPanda::User Load (0.1ms)[0m 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]] [1m[36mCoalescingPanda::Assignment Load (0.1ms)[0m [1mSELECT "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[0m [["coalescing_panda_course_id", 1]] [1m[35m (0.8ms)[0m rollback transaction